--- loncom/homework/inputtags.pm 2007/08/14 19:32:42 1.229 +++ loncom/homework/inputtags.pm 2007/09/26 19:30:30 1.231 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.229 2007/08/14 19:32:42 albertel Exp $ +# $Id: inputtags.pm,v 1.231 2007/09/26 19:30:30 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1131,7 +1131,12 @@ sub gradestatus { } if ( $showbutton ) { if ($target ne 'tex') { - $button = ''; + $button = + ''; } } @@ -1235,12 +1240,15 @@ sub previous_tries { 'inherit_jsmath' => 1, }); my $end_page = &Apache::loncommon::end_page({'js_ready' => 1,}); - + my $prefix = $env{'form.request.prefix'}; + $prefix =~ tr{.}{_}; + my $function_name = "LONCAPA_previous_tries_".$prefix. + $Apache::lonxml::curdepth; my $result ="".&mt("Previous Tries")."
"; +".&mt("Previous Tries")."
"; #use Data::Dumper; #&Apache::lonnet::logthis(&Dumper(\%Apache::inputtags::submission_display)); return $result;