version 1.10, 2008/03/12 02:45:07
|
version 1.12, 2009/10/17 03:11:25
|
Line 91 ENDHEADER
|
Line 91 ENDHEADER
|
if (keys(%viewsettings) > 0) { |
if (keys(%viewsettings) > 0) { |
$r->print(&html_classlist($r,\%viewsettings)); |
$r->print(&html_classlist($r,\%viewsettings)); |
} else { |
} else { |
$r->print('<h3>'. |
$r->print('<div class="LC_info">'. |
&mt("Display of a student-viewable course roster is not currently enabled."). |
&mt("Display of a student-viewable course roster is not currently enabled."). |
'</h3>'); |
'</div>'); |
} |
} |
# |
# |
# Finish up |
# Finish up |
Line 262 sub html_classlist {
|
Line 262 sub html_classlist {
|
'<td>'.(' 'x2). |
'<td>'.(' 'x2). |
&Apache::loncommon::messagewrapper |
&Apache::loncommon::messagewrapper |
('<img src="/adm/lonIcons/mailto.gif" border="0" /> '. |
('<img src="/adm/lonIcons/mailto.gif" border="0" /> '. |
$username.'@'.$domain,$username,$domain).'</td>'; |
$username.':'.$domain,$username,$domain).'</td>'; |
if (! $viewsettings->{'limit_to_section'}) { |
if (! $viewsettings->{'limit_to_section'}) { |
$Str .= '<td>'.$section.'</td>'; |
$Str .= '<td>'.$section.'</td>'; |
} |
} |