version 1.86, 2009/04/15 10:49:30
|
version 1.87, 2009/04/21 17:54:27
|
Line 345 if($target ne 'tex'){
|
Line 345 if($target ne 'tex'){
|
if($allowed){ |
if($allowed){ |
&Apache::lontemplate::print_start_template($r,'RSS Feeds and Blogs','LC_ContentBoxSpecial'); |
&Apache::lontemplate::print_start_template($r,'RSS Feeds and Blogs','LC_ContentBoxSpecial'); |
$r->print(&Apache::lonrss::advertisefeeds($cnum,$cdom,$forceedit)); |
$r->print(&Apache::lonrss::advertisefeeds($cnum,$cdom,$forceedit)); |
|
my $editurl= &Apache::lonnet::absolute_url().'/adm/'.$cdom.'/'.$cnum.'/_rss.html'; |
|
$r->print( '<a href="'.$editurl.'">'.&mt('New RSS Feed or Blog').'</a>'); |
&Apache::lontemplate::print_end_template($r); |
&Apache::lontemplate::print_end_template($r); |
} |
} |
elsif(&Apache::lonrss::advertisefeeds($cnum,$cdom) ne ''){ |
elsif(&Apache::lonrss::advertisefeeds($cnum,$cdom) ne ''){ |