version 1.183, 2006/10/11 18:54:33
|
version 1.184.2.1, 2006/11/06 16:03:45
|
Line 1102 DONEBUTTON
|
Line 1102 DONEBUTTON
|
if ($award eq 'SUBMITTED') { |
if ($award eq 'SUBMITTED') { |
&add_to_queue('gradingqueue',\%queue_data); |
&add_to_queue('gradingqueue',\%queue_data); |
} |
} |
} elsif ($Apache::lonhomework::results{'INTERNAL_store'}) { |
|
&Apache::structuretags::finalize_storage(); |
|
} |
} |
if ($target eq 'grade' && $env{'form.webgrade'} eq 'yes' |
if ($target eq 'grade' && $env{'form.webgrade'} eq 'yes' |
&& exists($env{'form.cancel'})) { |
&& exists($env{'form.cancel'})) { |
Line 1214 DONEBUTTON
|
Line 1212 DONEBUTTON
|
&minimize_storage(); |
&minimize_storage(); |
&Apache::structuretags::finalize_storage(); |
&Apache::structuretags::finalize_storage(); |
} |
} |
|
if (exists($Apache::lonhomework::results{'INTERNAL_store'})) { |
|
# instance generation occured and hasn't yet been stored |
|
&Apache::structuretags::finalize_storage(); |
|
} |
} elsif ($target eq 'webgrade') { |
} elsif ($target eq 'webgrade') { |
$result.="</div>"; |
$result.="</div>"; |
#$result.='<input type="submit" name="next" value="'. |
#$result.='<input type="submit" name="next" value="'. |
Line 2227 sub get_criteria {
|
Line 2229 sub get_criteria {
|
&nested_parse(\$dimension{$dim}{'criteria.'.$id}, |
&nested_parse(\$dimension{$dim}{'criteria.'.$id}, |
[@_],{'set_dim_id' => $id}); |
[@_],{'set_dim_id' => $id}); |
$result.='</p><p class="LC_grade">'.$status_display.'</p>'; |
$result.='</p><p class="LC_grade">'.$status_display.'</p>'; |
if ($comment) { |
if ($comment =~ /\w/) { |
$result.='<p class="LC_comment">'. |
$result.='<p class="LC_comment">'. |
&mt('Comment: [_1]',$comment).'</p>'; |
&mt('Comment: [_1]',$comment).'</p>'; |
} |
} |