--- loncom/interface/lonblockingstatus.pm 2021/12/24 00:48:30 1.22 +++ loncom/interface/lonblockingstatus.pm 2024/12/31 19:28:29 1.23 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # displays the blocking status table # -# $Id: lonblockingstatus.pm,v 1.22 2021/12/24 00:48:30 raeburn Exp $ +# $Id: lonblockingstatus.pm,v 1.23 2024/12/31 19:28:29 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','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 &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['activity','url','symb']); @@ -55,7 +55,7 @@ sub handler { if (($activity eq 'docs') || ($activity eq 'printout') || ($activity eq 'grades') || ($activity eq 'passwd') || ($activity eq 'search') || ($activity eq 'wishlist') || - ($activity eq 'annotate')) { + ($activity eq 'annotate') || ($activity eq 'index')) { $title = 'Blocking Status Information'; if ($activity eq 'docs') { $origurl = $env{'form.url'}; @@ -165,6 +165,7 @@ sub blockpage { passwd => 'Changing of passwords', grades => 'Course Gradebook', search => 'Content Search', + index => 'Content Index', wishlist => 'Stored Links', annotate => 'Annotations', ); @@ -202,7 +203,7 @@ sub blockpage { } elsif (($activity eq 'printout') || ($activity eq 'passwd') || ($activity eq 'grades') || ($activity eq 'search') || ($activity eq 'about') || ($activity eq 'wishlist') || - ($activity eq 'annotate')) { + ($activity eq 'annotate') || ($activity eq 'index')) { if ($by_ip) { $output = mt( $description . ' unavailable from your current IP address: [_1] '