version 1.14, 2020/01/23 23:48:12
|
version 1.14.2.2, 2020/09/08 03:57:48
|
Line 52 sub handler {
|
Line 52 sub handler {
|
|
|
my $title = 'Communication Blocking Status Information'; |
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'; |
$title = 'Blocking Status Information'; |
$origurl = $env{'form.url'}; |
if ($activity eq 'docs') { |
|
$origurl = $env{'form.url'}; |
|
} |
} |
} |
$r->print(&Apache::loncommon::start_page($title,undef, |
$r->print(&Apache::loncommon::start_page($title,undef, |
{'only_body' => 1})); |
{'only_body' => 1})); |
Line 123 sub blockpage {
|
Line 126 sub blockpage {
|
|
|
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'; |
} |
} |
} |
} |
|
|