--- loncom/interface/lonviewclasslist.pm 2007/09/07 00:09:07 1.9
+++ loncom/interface/lonviewclasslist.pm 2009/10/17 03:11:25 1.12
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to display the classlist
#
-# $Id: lonviewclasslist.pm,v 1.9 2007/09/07 00:09:07 albertel Exp $
+# $Id: lonviewclasslist.pm,v 1.12 2009/10/17 03:11:25 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -91,9 +91,9 @@ ENDHEADER
if (keys(%viewsettings) > 0) {
$r->print(&html_classlist($r,\%viewsettings));
} else {
- $r->print('
'.
+ $r->print('
'.
&mt("Display of a student-viewable course roster is not currently enabled.").
- '');
+ '
');
}
#
# Finish up
@@ -262,7 +262,7 @@ sub html_classlist {
''.(' 'x2).
&Apache::loncommon::messagewrapper
(' '.
- $username.'@'.$domain,$username,$domain).' | ';
+ $username.':'.$domain,$username,$domain).'';
if (! $viewsettings->{'limit_to_section'}) {
$Str .= ''.$section.' | ';
}
@@ -337,7 +337,7 @@ sub process_student_prefs {
my $putresult = &Apache::lonnet::put('environment',
\%changeHash,$udom,$uname);
if ($putresult eq 'ok') {
- &Apache::lonnet::appenv(%changeHash);
+ &Apache::lonnet::appenv(\%changeHash);
my $result = &Apache::lonnet::put('publicroster',{$student => $showinroster,},$cdom,$cnum);
if ($result eq 'ok') {
$output .= &mt('Display of your name in the student-viewable roster set to [_1].',$visibility);