version 1.141, 2006/04/14 21:42:05
|
version 1.143, 2006/04/20 07:00:20
|
Line 349 sub webgrade_standard_info {
|
Line 349 sub webgrade_standard_info {
|
|
|
my %lt=&Apache::lonlocal::texthash('done' => 'Next Item', |
my %lt=&Apache::lonlocal::texthash('done' => 'Next Item', |
'stop' => 'Quit Grading', |
'stop' => 'Quit Grading', |
|
'fail' => 'Fail Rest', |
); |
); |
|
|
my $result=<<INFO; |
my $result=<<INFO; |
<div class="LC_GRADING_maincontrols"> |
<div class="LC_GRADING_maincontrols"> |
<input type="submit" name="next" value="$lt{'done'}" /> |
<input type="submit" name="next" value="$lt{'done'}" /> |
<input type="submit" name="stop" value="$lt{'stop'}" /> |
<input type="submit" name="stop" value="$lt{'stop'}" /> |
|
<input type="button" name="fail" value="$lt{'fail'}" |
|
onclick="javascript:onFailRest()" /> |
</div> |
</div> |
$file_list |
$file_list |
INFO |
INFO |
Line 381 sub start_Task {
|
Line 384 sub start_Task {
|
$name = &Apache::structuretags::get_resource_name($parstack,$safeeval); |
$name = &Apache::structuretags::get_resource_name($parstack,$safeeval); |
} |
} |
|
|
#should get back a <html> or the neccesary stuff to start XML/MathML |
|
my ($result,$form_tag_start)= |
my ($result,$form_tag_start)= |
&Apache::structuretags::page_start($target,$token,$tagstack,$parstack, |
&Apache::structuretags::page_start($target,$token,$tagstack,$parstack, |
$parser,$safeeval,$name,&style()); |
$parser,$safeeval,$name,&style()); |
Line 840 DONEBUTTON
|
Line 842 DONEBUTTON
|
} |
} |
} |
} |
if ($target eq 'web') { |
if ($target eq 'web') { |
$result.="\n</div>\n".&Apache::lonxml::xmlend().'</html>'; |
$result.="\n</div>\n". |
|
&Apache::loncommon::end_page({'discussion' => 1}); |
} |
} |
} |
} |
if ($target eq 'grade' && !$env{'form.webgrade'} && !$previous) { |
if ($target eq 'grade' && !$env{'form.webgrade'} && !$previous) { |