[LON-CAPA-cvs] cvs: loncom /interface lonsyllabus.pm

neumanie neumanie@source.lon-capa.org
Tue, 21 Apr 2009 17:54:27 -0000


neumanie		Tue Apr 21 17:54:27 2009 EDT

  Modified files:              
    /loncom/interface	lonsyllabus.pm 
  Log:
  Change RSS View. Add Link "Add new RSS Feeds .." in the rss box (in edit view) 
  
  
Index: loncom/interface/lonsyllabus.pm
diff -u loncom/interface/lonsyllabus.pm:1.86 loncom/interface/lonsyllabus.pm:1.87
--- loncom/interface/lonsyllabus.pm:1.86	Wed Apr 15 10:49:30 2009
+++ loncom/interface/lonsyllabus.pm	Tue Apr 21 17:54:27 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Syllabus
 #
-# $Id: lonsyllabus.pm,v 1.86 2009/04/15 10:49:30 bisitz Exp $
+# $Id: lonsyllabus.pm,v 1.87 2009/04/21 17:54:27 neumanie Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -345,6 +345,8 @@
 	if($allowed){
 		&Apache::lontemplate::print_start_template($r,'RSS Feeds and Blogs','LC_ContentBoxSpecial');
 		$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);
 	}
 	elsif(&Apache::lonrss::advertisefeeds($cnum,$cdom) ne ''){