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

raeburn raeburn at source.lon-capa.org
Sun Jan 1 08:50:06 EST 2017


raeburn		Sun Jan  1 13:50:06 2017 EDT

  Modified files:              
    /loncom/interface	lonrss.pm 
  Log:
  - "No available RSS Feeds" message not shown if user has editing rights.
  
  
Index: loncom/interface/lonrss.pm
diff -u loncom/interface/lonrss.pm:1.55 loncom/interface/lonrss.pm:1.56
--- loncom/interface/lonrss.pm:1.55	Thu Dec  1 16:37:53 2016
+++ loncom/interface/lonrss.pm	Sun Jan  1 13:50:06 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # RSS Feeder
 #
-# $Id: lonrss.pm,v 1.55 2016/12/01 16:37:53 raeburn Exp $
+# $Id: lonrss.pm,v 1.56 2017/01/01 13:50:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -128,7 +128,7 @@
     }
     if ($feeds) {
 	return '<h4>'.&mt('Available RSS Feeds and Blogs').'</h4><ul>'.$feeds.'</ul>';
-    } else {
+    } elsif (!$edit) {
         return '<h4>'.&mt('No available RSS Feeds and Blogs').'</h4>';
     }
 }




More information about the LON-CAPA-cvs mailing list