version 1.202, 2008/09/08 16:08:36
|
version 1.203, 2008/09/09 13:56:48
|
Line 572 sub end_mathresponse {
|
Line 572 sub end_mathresponse {
|
} |
} |
if ($target eq 'web') { |
if ($target eq 'web') { |
&setup_prior_tries_hash(\&format_prior_response_math); |
&setup_prior_tries_hash(\&format_prior_response_math); |
if (($Apache::inputtags::status['-1'] eq 'CAN_ANSWER') && (&Apache::lonxml::get_param('turnoneditor',$parstack,$safeeval) ne 'no')) { |
my $partid = $Apache::inputtags::part; |
|
my $id = $Apache::inputtags::response[-1]; |
|
if (($Apache::inputtags::status['-1'] eq 'CAN_ANSWER') |
|
&& (&Apache::lonnet::EXT('resource.'.$partid.'_'.$id.'.turnoneditor') ne 'no')) { |
$result.=&edit_mathresponse_button($id,"HWVAL_$id"); |
$result.=&edit_mathresponse_button($id,"HWVAL_$id"); |
} |
} |
} |
} |