--- loncom/homework/grades.pm 2007/11/21 12:16:42 1.497 +++ loncom/homework/grades.pm 2007/12/15 21:54:35 1.500 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.497 2007/11/21 12:16:42 foxr Exp $ +# $Id: grades.pm,v 1.500 2007/12/15 21:54:35 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4174,7 +4174,8 @@ sub displayPage { my $result='

 '.$env{'form.title'}.'

'; $result.='

 '.&mt('Student: [_1]',&nameUserString(undef,$$fullname{$env{'form.student'}},$uname,$udom)). '

'."\n"; - if (&Apache::lonnet::validCODE($env{'form.CODE'})) { + $env{'form.CODE'} = uc($env{'form.CODE'}); + if (&Apache::lonnet::validCODE(uc($env{'form.CODE'})) { $result.='

 '.&mt('CODE: [_1]',$env{'form.CODE'}).'

'."\n"; } else { delete($env{'form.CODE'}); @@ -6672,9 +6673,7 @@ sub prompt_for_corrections { my $current_line = $first_bubble_line{$question-1} + 1 ; if ($lines > 1) { - $r->print("The group of bubble lines below responds to a single question. "); - $r->print("Select at most one bubble in a single line and select 'No Bubble' "); - $r->print("in all the other lines.
"); + $r->print(&mt("The group of bubble lines below responds to a single question. Select at most one bubble in a single line and select 'No Bubble' in all the other lines. ")."
"); } for (my $i =0; $i < $lines; $i++) { my $selected = $$scan_record{"scantron.$current_line.answer"}; @@ -7678,6 +7677,7 @@ GRADINGMENUJS '; + $result .= &show_grading_menu_form($symb); return $result; }