Diff for /loncom/interface/lonblockingstatus.pm between versions 1.14.2.2.2.2 and 1.14.2.4

version 1.14.2.2.2.2, 2020/09/29 20:17:30 version 1.14.2.4, 2020/09/29 19:55:00
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','groups','port','printout','docs','grades','passwd','search');      map { $activities{$_} = 1; } ('boards','chat','com','blogs','groups','port','printout','docs','passwd');
   
     # 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 53  sub handler { Line 53  sub handler {
     my $title = 'Communication Blocking Status Information';      my $title = 'Communication Blocking Status Information';
   
     if (($activity eq 'docs') || ($activity eq 'printout') ||      if (($activity eq 'docs') || ($activity eq 'printout') ||
         ($activity eq 'grades') || ($activity eq 'passwd') ||          ($activity eq 'passwd')) {
         ($activity eq 'search')) {  
         $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 155  sub blockpage { Line 154  sub blockpage {
                    printout   => 'Printout generation',                     printout   => 'Printout generation',
                    docs       => 'Course Content',                     docs       => 'Course Content',
                    passwd     => 'Changing of passwords',                     passwd     => 'Changing of passwords',
                    grades     => 'Course Gradebook',  
                    search     => 'Content Search',  
                 );                  );
   
     if ($activity eq 'groups' || $activity eq 'boards') {      if ($activity eq 'groups' || $activity eq 'boards') {
Line 164  sub blockpage { Line 161  sub blockpage {
             $descs{'boards'} = 'Discussion posts in this community';              $descs{'boards'} = 'Discussion posts in this community';
             $descs{'groups'} = 'Groups in this community';              $descs{'groups'} = 'Groups in this community';
             $descs{'docs'} = 'Community Content';              $descs{'docs'} = 'Community Content';
             $descs{'grades'} = 'Community Gradebook';  
         }          }
     }      }
   
Line 188  sub blockpage { Line 184  sub blockpage {
                          . ' view will be unavailable between [_1] and [_2] because'                           . ' view will be unavailable between [_1] and [_2] because'
                          . ' access to selected '.$description.' is being blocked.'                           . ' access to selected '.$description.' is being blocked.'
                          ,$showstart, $showend);                           ,$showstart, $showend);
         } elsif (($activity eq 'printout') || ($activity eq 'passwd') ||          } elsif (($activity eq 'printout') || ($activity eq 'passwd')) {
                  ($activity eq 'grades') || ($activity eq 'search')) {  
             $output = mt( $description              $output = mt( $description
                           . ' will be unavailable between [_1] and [_2] because'                            . ' will be unavailable between [_1] and [_2] because'
                           . ' this functionality is being blocked.'                            . ' this functionality is being blocked.'

Removed from v.1.14.2.2.2.2  
changed lines
  Added in v.1.14.2.4


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