Diff for /loncom/interface/loncommon.pm between versions 1.1345 and 1.1346

version 1.1345, 2020/08/10 19:28:21 version 1.1346, 2020/09/22 12:19:15
Line 5172  sub blockcheck { Line 5172  sub blockcheck {
   
     if (($activity eq 'boards' || $activity eq 'chat' ||      if (($activity eq 'boards' || $activity eq 'chat' ||
          $activity eq 'groups' || $activity eq 'printout' ||           $activity eq 'groups' || $activity eq 'printout' ||
          $activity eq 'reinit' || $activity eq 'alert') &&           $activity eq 'search' || $activity eq 'reinit' ||
            $activity eq 'alert') &&
         ($env{'request.course.id'})) {          ($env{'request.course.id'})) {
         foreach my $key (keys(%live_courses)) {          foreach my $key (keys(%live_courses)) {
             if ($key ne $env{'request.course.id'}) {              if ($key ne $env{'request.course.id'}) {
Line 5491  END_MYBLOCK Line 5492  END_MYBLOCK
         $text = &mt('Password Changing Blocked');          $text = &mt('Password Changing Blocked');
     } elsif ($activity eq 'grades') {      } elsif ($activity eq 'grades') {
         $text = &mt('Gradebook Blocked');          $text = &mt('Gradebook Blocked');
       } elsif ($activity eq 'search') {
           $text = &mt('Search Blocked');
     } elsif ($activity eq 'alert') {      } elsif ($activity eq 'alert') {
         $text = &mt('Checking Critical Messages Blocked');          $text = &mt('Checking Critical Messages Blocked');
     } elsif ($activity eq 'reinit') {      } elsif ($activity eq 'reinit') {

Removed from v.1.1345  
changed lines
  Added in v.1.1346


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