version 1.258, 2009/05/23 18:11:06
|
version 1.260, 2009/07/17 15:27:17
|
Line 394 sub start_textline {
|
Line 394 sub start_textline {
|
'&part_'. $Apache::inputtags::part. |
'&part_'. $Apache::inputtags::part. |
'&textresponse'. |
'&textresponse'. |
'&HWVAL_' . $Apache::inputtags::response['-1']; |
'&HWVAL_' . $Apache::inputtags::response['-1']; |
$result="\n\\\\\n".'\textField{'.$fieldname.'}{'.$size.'}{12 bp}'; |
$result='\textField{'.$fieldname.'}{'.$size.'}{12 bp}'; |
} else { |
} else { |
$result='\framebox['.$size.'][s]{\tiny\strut}'; |
$result='\framebox['.$size.'][s]{\tiny\strut}'; |
} |
} |
Line 1289 sub gradestatus {
|
Line 1289 sub gradestatus {
|
if ( $showbutton ) { |
if ( $showbutton ) { |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
$button = |
$button = |
'<input |
'<input onmouseup="javascript:setSubmittedPart(\''.$id.'\')" |
onmouseup="javascript:setSubmittedPart(\''.$id.'\')" |
type="submit" name="submit_'.$id.'" |
onsubmit="javascript:setSubmittedPart(\''.$id.'\')" |
value="'.&mt('Submit Answer').'" />'; |
type="submit" name="submit_'.$id.'" |
|
value="'.&mt('Submit Answer').'" />'; |
|
} |
} |
} |
} |
|
|