--- loncom/homework/grades.pm 2003/09/21 21:40:06 1.141 +++ loncom/homework/grades.pm 2003/09/22 20:48:21 1.142 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.141 2003/09/21 21:40:06 www Exp $ +# $Id: grades.pm,v 1.142 2003/09/22 20:48:21 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3189,7 +3189,7 @@ sub scantron_selectphase { my $result; $result.= < - + $default_form_data @@ -3219,7 +3219,7 @@ sub scantron_selectphase {
- + $grading_menu_button SCANTRONFORM @@ -3337,6 +3337,11 @@ sub scantron_filter { #and then get the instructor to fix all of these errors, then grade #the corrected one, I'll still need to catch error conditions, but #maybe most will taken care even before we start + +sub scantron_validate_file { + my ($r) = @_; +} + sub scantron_process_students { my ($r) = @_; my (undef,undef,$sequence)=&Apache::lonnet::decode_symb($ENV{'form.selectpage'}); @@ -3721,6 +3726,8 @@ sub handler { } } elsif ($command eq 'scantron_selectphase' && $perm{'mgr'}) { $request->print(&scantron_selectphase($request)); + } elsif ($command eq 'scantron_validate' && $perm{'mgr'}) { + $request->print(&scantron_validate_file($request)); } elsif ($command eq 'scantron_process' && $perm{'mgr'}) { $request->print(&scantron_process_students($request)); } elsif ($command) {