--- loncom/interface/lonblockingstatus.pm 2020/01/23 23:48:12 1.14 +++ loncom/interface/lonblockingstatus.pm 2020/09/08 03:57:48 1.14.2.2 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # displays the blocking status table # -# $Id: lonblockingstatus.pm,v 1.14 2020/01/23 23:48:12 raeburn Exp $ +# $Id: lonblockingstatus.pm,v 1.14.2.2 2020/09/08 03:57:48 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -52,9 +52,12 @@ sub handler { my $title = 'Communication Blocking Status Information'; - if (($activity eq 'docs') || ($activity eq 'printout')) { + if (($activity eq 'docs') || ($activity eq 'printout') || + ($activity eq 'passwd')) { $title = 'Blocking Status Information'; - $origurl = $env{'form.url'}; + if ($activity eq 'docs') { + $origurl = $env{'form.url'}; + } } $r->print(&Apache::loncommon::start_page($title,undef, {'only_body' => 1})); @@ -123,9 +126,9 @@ sub blockpage { if ($activity eq 'groups' || $activity eq 'boards') { if (&Apache::loncommon::course_type() eq 'Community') { - $descs{'boards'} = 'Discussion posts in this community', - $descs{'groups'} = 'Groups in this community', - $descs{'docs'} = 'Community Content', + $descs{'boards'} = 'Discussion posts in this community'; + $descs{'groups'} = 'Groups in this community'; + $descs{'docs'} = 'Community Content'; } }