Diff for /loncom/interface/lonrss.pm between versions 1.59 and 1.63

version 1.59, 2021/11/30 15:55:37 version 1.63, 2025/02/28 01:38:28
Line 127  sub advertisefeeds { Line 127  sub advertisefeeds {
  }   }
     }      }
     if ($feeds) {      if ($feeds) {
  return '<h4>'.&mt('Available RSS Feeds and Blogs').'</h4><ul>'.$feeds.'</ul>';   return '<h2 class="LC_heading_3">'.&mt('Available RSS Feeds and Blogs').'</h2><ul>'.$feeds.'</ul>';
     } elsif (!$edit) {      } elsif (!$edit) {
         return '<h4>'.&mt('No available RSS Feeds and Blogs').'</h4>';          return '<h2 class="LC_heading_3">'.&mt('No available RSS Feeds and Blogs').'</h2>';
     }      }
 }  }
   
Line 258  sub blocking_blogdisplay { Line 258  sub blocking_blogdisplay {
     if ($startblock && $endblock) {      if ($startblock && $endblock) {
         $blockcause = 'user';          $blockcause = 'user';
     } elsif ($by_ip) {      } elsif ($by_ip) {
         $blockcause = 'ip';           $blockcause = 'ip';
     } else {       } else { 
         if (($uname ne $env{'user.name'}) || ($udom ne $env{'user.domain'})) {          if (($uname ne $env{'user.name'}) || ($udom ne $env{'user.domain'})) {
             ($startblock,$endblock) =              ($startblock,$endblock) =
Line 289  sub blocking_blogdisplay { Line 289  sub blocking_blogdisplay {
         } elsif ($blockcause eq 'ip') {          } elsif ($blockcause eq 'ip') {
             my $showdom = &Apache::lonnet::domain($blockdom);              my $showdom = &Apache::lonnet::domain($blockdom);
             if ($showdom eq '') {              if ($showdom eq '') {
                 $showdom = $blockdom                  $showdom = $blockdom;
             }              }
             $output .= &mt('This restriction was set by an administrator in the [_1] LON-CAPA domain',$showdom);              $output .= &mt('This restriction was set by an administrator in the [_1] LON-CAPA domain.',$showdom);
         } 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.59  
changed lines
  Added in v.1.63


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