Diff for /loncom/interface/lonblockingstatus.pm between versions 1.22 and 1.23

version 1.22, 2021/12/24 00:48:30 version 1.23, 2024/12/31 19:28:29
Line 44  sub handler { Line 44  sub handler {
     return OK if $r->header_only;      return OK if $r->header_only;
   
     my (%activities,$activity,$origurl,$origsymb);      my (%activities,$activity,$origurl,$origsymb);
     map { $activities{$_} = 1; } ('boards','chat','com','blogs','about','groups','port','printout','docs','grades','passwd','search','wishlist','annotate');      map { $activities{$_} = 1; } ('boards','chat','com','blogs','about','groups','port','printout','docs','grades','passwd','search','index','wishlist','annotate');
   
     # determine what kind of blocking we want details for      # determine what kind of blocking we want details for
     &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['activity','url','symb']);      &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['activity','url','symb']);
Line 55  sub handler { Line 55  sub handler {
     if (($activity eq 'docs') || ($activity eq 'printout') ||      if (($activity eq 'docs') || ($activity eq 'printout') ||
         ($activity eq 'grades') || ($activity eq 'passwd') ||          ($activity eq 'grades') || ($activity eq 'passwd') ||
         ($activity eq 'search') || ($activity eq 'wishlist') ||          ($activity eq 'search') || ($activity eq 'wishlist') ||
         ($activity eq 'annotate')) {          ($activity eq 'annotate') || ($activity eq 'index')) {
         $title = 'Blocking Status Information';          $title = 'Blocking Status Information';
         if ($activity eq 'docs') {          if ($activity eq 'docs') {
             $origurl = $env{'form.url'};              $origurl = $env{'form.url'};
Line 165  sub blockpage { Line 165  sub blockpage {
                    passwd     => 'Changing of passwords',                     passwd     => 'Changing of passwords',
                    grades     => 'Course Gradebook',                     grades     => 'Course Gradebook',
                    search     => 'Content Search',                     search     => 'Content Search',
                      index      => 'Content Index',
                    wishlist   => 'Stored Links',                      wishlist   => 'Stored Links', 
                    annotate   => 'Annotations',                     annotate   => 'Annotations',
                 );                  );
Line 202  sub blockpage { Line 203  sub blockpage {
         } elsif (($activity eq 'printout') || ($activity eq 'passwd') ||          } elsif (($activity eq 'printout') || ($activity eq 'passwd') ||
                  ($activity eq 'grades') || ($activity eq 'search') ||                   ($activity eq 'grades') || ($activity eq 'search') ||
                  ($activity eq 'about') || ($activity eq 'wishlist') ||                   ($activity eq 'about') || ($activity eq 'wishlist') ||
                  ($activity eq 'annotate')) {                   ($activity eq 'annotate') || ($activity eq 'index')) {
             if ($by_ip) {              if ($by_ip) {
                 $output = mt( $description                  $output = mt( $description
                               . ' unavailable from your current IP address: [_1] '                                . ' unavailable from your current IP address: [_1] '

Removed from v.1.22  
changed lines
  Added in v.1.23


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