--- loncom/interface/lonviewclasslist.pm 2007/07/20 00:15:06 1.8 +++ loncom/interface/lonviewclasslist.pm 2009/03/14 18:39:40 1.11 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to display the classlist # -# $Id: lonviewclasslist.pm,v 1.8 2007/07/20 00:15:06 raeburn Exp $ +# $Id: lonviewclasslist.pm,v 1.11 2009/03/14 18:39:40 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -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.''; } @@ -275,7 +275,7 @@ sub html_classlist { $link = ''.$link.''; } } else { - $link = &mt("Error retrieving file information."); + $link = ''.&mt("Error retrieving file information.").''; } $Str .= ''.$link.''; } @@ -337,15 +337,15 @@ 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); } else { - $output .= &mt('Error occurred saving display setting.'); + $output .= ''.&mt('Error occurred saving display setting.').''; } } else { - $output .= &mt('Error occurred saving display setting.'); + $output .= ''.&mt('Error occurred saving display setting.').''; } } else { $output .= &mt('Display of your name in the student-viewable roster unchanged (set to [_1]).',$visibility);