Diff for /loncom/interface/lonblockingstatus.pm between versions 1.14 and 1.15

version 1.14, 2020/01/23 23:48:12 version 1.15, 2020/08/10 19:28:21
Line 44  sub handler { Line 44  sub handler {
     return OK if $r->header_only;      return OK if $r->header_only;
   
     my (%activities,$activity,$origurl);      my (%activities,$activity,$origurl);
     map { $activities{$_} = 1; } ('boards','chat','com','blogs','groups','port','printout','docs','passwd');      map { $activities{$_} = 1; } ('boards','chat','com','blogs','groups','port','printout','docs','grades','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']);      &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['activity','url']);
Line 119  sub blockpage { Line 119  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',
                 );                  );
   
     if ($activity eq 'groups' || $activity eq 'boards') {      if ($activity eq 'groups' || $activity eq 'boards') {
         if (&Apache::loncommon::course_type() eq 'Community') {          if (&Apache::loncommon::course_type() eq 'Community') {
             $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 149  sub blockpage { Line 151  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')) {
             $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  
changed lines
  Added in v.1.15


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