--- loncom/interface/lonblockingstatus.pm 2021/12/13 04:05:24 1.14.2.5 +++ loncom/interface/lonblockingstatus.pm 2021/12/24 21:32:03 1.14.2.6 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # displays the blocking status table # -# $Id: lonblockingstatus.pm,v 1.14.2.5 2021/12/13 04:05:24 raeburn Exp $ +# $Id: lonblockingstatus.pm,v 1.14.2.6 2021/12/24 21:32:03 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','about','groups','port','printout','docs','grades','passwd','search'); + map { $activities{$_} = 1; } ('boards','chat','com','blogs','about','groups','port','printout','docs','grades','passwd','search','wishlist','annotate'); # determine what kind of blocking we want details for &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['activity','url','symb']); @@ -54,7 +54,8 @@ sub handler { if (($activity eq 'docs') || ($activity eq 'printout') || ($activity eq 'grades') || ($activity eq 'passwd') || - ($activity eq 'search')) { + ($activity eq 'search') || ($activity eq 'wishlist') || + ($activity eq 'annotate')) { $title = 'Blocking Status Information'; if ($activity eq 'docs') { $origurl = $env{'form.url'}; @@ -164,6 +165,8 @@ sub blockpage { passwd => 'Changing of passwords', grades => 'Course Gradebook', search => 'Content Search', + wishlist => 'Stored Links', + annotate => 'Annotations', ); if ($activity eq 'groups' || $activity eq 'boards') { @@ -171,7 +174,7 @@ sub blockpage { $descs{'boards'} = 'Discussion posts in this community'; $descs{'groups'} = 'Groups in this community'; $descs{'docs'} = 'Community Content'; - $descs{'grades'} = 'Community Gradebook'; + $descs{'grades'} = 'Community Gradebook'; } } @@ -198,7 +201,8 @@ sub blockpage { ,$showstart, $showend); } elsif (($activity eq 'printout') || ($activity eq 'passwd') || ($activity eq 'grades') || ($activity eq 'search') || - ($activity eq 'about')) { + ($activity eq 'about') || ($activity eq 'wishlist') || + ($activity eq 'annotate')) { if ($by_ip) { $output = mt( $description . ' unavailable from your current IP address: [_1] ' @@ -252,7 +256,7 @@ sub blockpage { if ($by_ip) { my $showdom = &Apache::lonnet::domain($blockdom); if ($showdom eq '') { - $showdom = $blockdom + $showdom = $blockdom; } $output .= '
'. &mt('This restriction was set by an administrator in the [_1] LON-CAPA domain.'