--- loncom/homework/grades.pm 2007/06/14 21:36:12 1.404 +++ loncom/homework/grades.pm 2007/08/21 18:41:27 1.430 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.404 2007/06/14 21:36:12 www Exp $ +# $Id: grades.pm,v 1.430 2007/08/21 18:41:27 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -41,12 +41,10 @@ use Apache::Constants qw(:common); use Apache::lonlocal; use Apache::lonenc; use String::Similarity; -use lib '/home/httpd/lib/perl'; use LONCAPA; use POSIX qw(floor); -my %oldessays=(); my %perm=(); # ----- These first few routines are general use routines.---- @@ -94,6 +92,7 @@ sub get_symb { return (); } } + &Apache::lonenc::check_decrypt(\$symb); return ($symb); } @@ -493,7 +492,7 @@ sub jscriptNform { ' }'."\n". ''."\n"; $jscript.= '
'."\n"; + 'onClick="javascript:submit();" target="_self" />'."\n"; if (scalar(%$fullname) eq 0) { my $colspan=3+scalar(@parts); $result='There are no students in section "'.$env{'form.section'}. @@ -3108,7 +3102,7 @@ sub viewstudentgrade { ''. "\n".$ctr.'