Diff for /loncom/interface/lonrss.pm between versions 1.47.8.1 and 1.48

version 1.47.8.1, 2010/01/03 21:21:25 version 1.48, 2009/07/27 12:12:47
Line 60  sub displayfeedname { Line 60  sub displayfeedname {
 # no, construct a name  # no, construct a name
     my $name=$filterfilename;       my $name=$filterfilename; 
     if ($name=~/^CourseBlog/) {      if ($name=~/^CourseBlog/) {
         if ($env{'course.'.$env{'request.course.id'}.'.type'} eq 'Community') {  
             $name = &mt('Community Blog');   
         }  
         $name=&mt('Course Blog');          $name=&mt('Course Blog');
  if ($env{'course.'.$env{'request.course.id'}.'.description'}) {   if ($env{'course.'.$env{'request.course.id'}.'.description'}) {
     $name.=' '.$env{'course.'.$env{'request.course.id'}.'.description'};      $name.=' '.$env{'course.'.$env{'request.course.id'}.'.description'};
Line 261  sub blocking_blogdisplay { Line 258  sub blocking_blogdisplay {
         if ($blockcause eq 'user') {          if ($blockcause eq 'user') {
             $output .= &mt('This is because you are a student in one or more courses in which communication is being blocked.');              $output .= &mt('This is because you are a student in one or more courses in which communication is being blocked.');
             if ($html) {              if ($html) {
                 $output .= '<br />'.                  #$output .= '<br />'.
                        &Apache::loncommon::build_block_table($startblock,                         #&Apache::loncommon::build_block_table($startblock,
                                                         $endblock,\%setters);                         #                                 $endblock,\%setters);
                    my ($blocked, $blocktext) = Apache::loncommon::blocking_status('blogs');
                    $output .= '<br /><br />'.$blocktext;
             }              }
         } else {          } else {
             $output .= &mt('This is because the blog owner is a student in one or more courses in which communication is being blocked.');              $output .= &mt('This is because the blog owner is a student in one or more courses in which communication is being blocked.');

Removed from v.1.47.8.1  
changed lines
  Added in v.1.48


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>