Diff for /loncom/interface/loncommon.pm between versions 1.1075.2.159 and 1.1075.2.160

version 1.1075.2.159, 2021/12/17 19:59:39 version 1.1075.2.160, 2021/12/24 22:04:54
Line 4814  sub blockcheck { Line 4814  sub blockcheck {
     my $startblock = 0;      my $startblock = 0;
     my $endblock = 0;      my $endblock = 0;
     my $triggerblock = '';      my $triggerblock = '';
     my %live_courses = &findallcourses(undef,$uname,$udom);      my %live_courses;
       unless (($activity eq 'wishlist') || ($activity eq 'annotate')) {
           %live_courses = &findallcourses(undef,$uname,$udom);
       }
   
     # If uname is for a user, and activity is course-specific, i.e.,      # If uname is for a user, and activity is course-specific, i.e.,
     # boards, chat or groups, check for blocking in current course only.      # boards, chat or groups, check for blocking in current course only.
Line 5157  END_MYBLOCK Line 5160  END_MYBLOCK
         $text = &mt('Search Blocked');          $text = &mt('Search Blocked');
     } elsif ($activity eq 'about') {      } elsif ($activity eq 'about') {
         $text = &mt('Access to User Information Pages Blocked');          $text = &mt('Access to User Information Pages Blocked');
       } elsif ($activity eq 'wishlist') {
           $text = &mt('Access to Stored Links Blocked');
       } elsif ($activity eq 'annotate') {
           $text = &mt('Access to Annotations Blocked');
     }      }
     $output .= <<"END_BLOCK";      $output .= <<"END_BLOCK";
 <div class='$class'>  <div class='$class'>

Removed from v.1.1075.2.159  
changed lines
  Added in v.1.1075.2.160


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