--- loncom/interface/lonblockingstatus.pm 2020/09/29 20:17:30 1.14.2.2.2.2 +++ loncom/interface/lonblockingstatus.pm 2020/09/29 19:55:00 1.14.2.4 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # displays the blocking status table # -# $Id: lonblockingstatus.pm,v 1.14.2.2.2.2 2020/09/29 20:17:30 raeburn Exp $ +# $Id: lonblockingstatus.pm,v 1.14.2.4 2020/09/29 19:55:00 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -44,7 +44,7 @@ sub handler { return OK if $r->header_only; 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 &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['activity','url','symb']); @@ -53,8 +53,7 @@ sub handler { my $title = 'Communication Blocking Status Information'; if (($activity eq 'docs') || ($activity eq 'printout') || - ($activity eq 'grades') || ($activity eq 'passwd') || - ($activity eq 'search')) { + ($activity eq 'passwd')) { $title = 'Blocking Status Information'; if ($activity eq 'docs') { $origurl = $env{'form.url'}; @@ -155,8 +154,6 @@ sub blockpage { printout => 'Printout generation', docs => 'Course Content', passwd => 'Changing of passwords', - grades => 'Course Gradebook', - search => 'Content Search', ); if ($activity eq 'groups' || $activity eq 'boards') { @@ -164,7 +161,6 @@ sub blockpage { $descs{'boards'} = 'Discussion posts in this community'; $descs{'groups'} = 'Groups in this community'; $descs{'docs'} = 'Community Content'; - $descs{'grades'} = 'Community Gradebook'; } } @@ -188,8 +184,7 @@ sub blockpage { . ' view will be unavailable between [_1] and [_2] because' . ' access to selected '.$description.' is being blocked.' ,$showstart, $showend); - } elsif (($activity eq 'printout') || ($activity eq 'passwd') || - ($activity eq 'grades') || ($activity eq 'search')) { + } elsif (($activity eq 'printout') || ($activity eq 'passwd')) { $output = mt( $description . ' will be unavailable between [_1] and [_2] because' . ' this functionality is being blocked.'