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

raeburn raeburn@source.lon-capa.org
Sun, 03 Jan 2010 21:21:25 -0000


raeburn		Sun Jan  3 21:21:25 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/interface	lonrss.pm 
  Log:
  - Bacport 1.49.
  
  
Index: loncom/interface/lonrss.pm
diff -u loncom/interface/lonrss.pm:1.47 loncom/interface/lonrss.pm:1.47.8.1
--- loncom/interface/lonrss.pm:1.47	Mon Apr 20 15:20:23 2009
+++ loncom/interface/lonrss.pm	Sun Jan  3 21:21:25 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # RSS Feeder
 #
-# $Id: lonrss.pm,v 1.47 2009/04/20 15:20:23 amueller Exp $
+# $Id: lonrss.pm,v 1.47.8.1 2010/01/03 21:21:25 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -60,6 +60,9 @@
 # no, construct a name
     my $name=$filterfilename; 
     if ($name=~/^CourseBlog/) {
+        if ($env{'course.'.$env{'request.course.id'}.'.type'} eq 'Community') {
+            $name = &mt('Community Blog'); 
+        }
         $name=&mt('Course Blog');
 	if ($env{'course.'.$env{'request.course.id'}.'.description'}) {
 	    $name.=' '.$env{'course.'.$env{'request.course.id'}.'.description'};