version 1.17, 2015/03/17 00:08:48
|
version 1.18.2.1, 2024/07/04 02:15:00
|
Line 279 sub html_classlist {
|
Line 279 sub html_classlist {
|
$cdom = $env{'course.'.$cid.'.domain'}; |
$cdom = $env{'course.'.$cid.'.domain'}; |
$cnum = $env{'course.'.$cid.'.num'}; |
$cnum = $env{'course.'.$cid.'.num'}; |
|
|
my $title; |
|
if ($viewsettings->{'limit_to_section'}) { |
if ($viewsettings->{'limit_to_section'}) { |
if ($env{'request.course.sec'} eq '') { |
if ($env{'request.course.sec'} eq '') { |
$title = &mt($titleplural.' with no section'); |
$title = &mt($titleplural.' with no section'); |
Line 293 sub html_classlist {
|
Line 292 sub html_classlist {
|
} else { |
} else { |
$title = &mt($titleplural.' in any section'); |
$title = &mt($titleplural.' in any section'); |
$listtype = 'in the course'; |
$listtype = 'in the course'; |
|
if ($crstype eq 'Community') { |
|
$listtype = 'in the community'; |
|
} |
} |
} |
|
|
if ($viewsettings->{'student_opt_in'}) { |
if ($viewsettings->{'student_opt_in'}) { |
if ($env{'request.role'} =~ /^st/) { |
if ($env{'request.role'} =~ /^st/) { |
$Str .= &print_roster_form($crstype); |
$Str .= &print_roster_form($crstype); |