version 1.192, 2004/04/29 07:21:16
|
version 1.193, 2004/04/29 07:57:47
|
Line 4434 SCANTRONFORM
|
Line 4434 SCANTRONFORM
|
my $i=0; |
my $i=0; |
foreach my $resource (@resources) { |
foreach my $resource (@resources) { |
$i++; |
$i++; |
my $result=&Apache::lonnet::ssi($resource->src(), |
my %form=('submitted' =>'scantron', |
('submitted' =>'scantron', |
'grade_target' =>'grade', |
'grade_target' =>'grade', |
'grade_username'=>$uname, |
'grade_username'=>$uname, |
'grade_domain' =>$udom, |
'grade_domain' =>$udom, |
'grade_courseid'=>$ENV{'request.course.id'}, |
'grade_courseid'=>$ENV{'request.course.id'}, |
'grade_symb' =>$resource->symb()); |
'grade_symb' =>$resource->symb())); |
if (exists($scan_record->{'scantron.CODE'}) && |
|
$scan_record->{'scantron.CODE'}) { |
|
$form{'CODE'}=$scan_record->{'scantron.CODE'}; |
|
} |
|
my $result=&Apache::lonnet::ssi($resource->src(),%form); |
|
|
} |
} |
$completedstudents{$uname}={'line'=>$line}; |
$completedstudents{$uname}={'line'=>$line}; |
} continue { |
} continue { |