--- loncom/homework/grades.pm 2002/04/06 21:07:08 1.19 +++ loncom/homework/grades.pm 2002/04/09 04:33:10 1.21 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.19 2002/04/06 21:07:08 www Exp $ +# $Id: grades.pm,v 1.21 2002/04/09 04:33:10 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -79,9 +79,8 @@ sub listStudents { # my $sfullname = $Apache::lonnet::unescape($nameparts[0]); if ( $Apache::grades::viewgrades eq 'F' ) { - $request->print( - "\n".'
'. - "$sname$sdom@nameparts"); + $request->print("\n".''."$sname$sdom@nameparts". + ''); if ($ENV{'form.url'}) { $request->print( ''); @@ -98,7 +97,7 @@ sub listStudents { ''); $request->print( ''); - $request->print('
'); + $request->print(''); } } $request->print(''); @@ -423,7 +422,7 @@ sub handler { } else { $Apache::grades::viewgrades=&Apache::lonnet::allowed('vgr',$ENV{'request.course.id'}); if ($command eq 'submission') { - $request->print(&listStudents($request)) if ($ENV{'form.student'} eq ''); + &listStudents($request) if ($ENV{'form.student'} eq ''); $request->print(&submission($request)) if ($ENV{'form.student'} ne ''); } elsif ($command eq 'viewgrades') { $request->print(&viewgrades($request));