--- loncom/homework/grades.pm 2005/09/12 20:27:25 1.283 +++ loncom/homework/grades.pm 2005/09/13 19:05:15 1.284 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.283 2005/09/12 20:27:25 albertel Exp $ +# $Id: grades.pm,v 1.284 2005/09/13 19:05:15 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4378,14 +4378,26 @@ sub check_for_error { sub scantron_warning_screen { my ($button_text)=@_; my $title=&Apache::lonnet::gettitle($env{'form.selectpage'}); + my %scantron_config=&get_scantron_config($env{'form.scantron_format'}); + my $CODElist="a"; + if ($scantron_config{'CODElocation'} && + $scantron_config{'CODEstart'} && + $scantron_config{'CODElength'}) { + $CODElist=$env{'form.scantron_CODElist'}; + if ($CODElist eq '') { $CODElist='None'; } + $CODElist= + '
Sequence To be Graded: | $title |
Sequence to be Graded: | $title |
Data File that will be used: | $env{'form.scantron_selectfile'} |