--- loncom/homework/grades.pm 2010/03/25 19:56:33 1.602 +++ loncom/homework/grades.pm 2010/04/01 00:58:43 1.604 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.602 2010/03/25 19:56:33 www Exp $ +# $Id: grades.pm,v 1.604 2010/04/01 00:58:43 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -731,10 +731,13 @@ sub most_similar { sub initialverifyreceipt { my $request = shift; &commonJSfunctions($request); - $request->print('
'. + my ($symb) = &get_symb($request); + return ''. &Apache::lonnet::recprefix($env{'request.course.id'}). '-'. - "
\n"); + ''."\n". + ''. + "\n"; } #--- Check whether a receipt number is valid.--- @@ -1755,7 +1758,6 @@ sub gradeBox { $line.=''."\n"; - #&mt('Part:[_1]Points:[_2]or[_3]',$display_part,$radio,$line); $result .= ''.$display_part.''.$radio.''.&mt('or').''.$line.''; $result.=&Apache::loncommon::end_data_table_row();