version 1.195, 2008/09/04 14:18:48
|
version 1.198, 2008/09/04 22:06:23
|
Line 524 sub edit_mathresponse_button {
|
Line 524 sub edit_mathresponse_button {
|
my ($id,$field)=@_; |
my ($id,$field)=@_; |
my $button=&mt('Edit Answer'); |
my $button=&mt('Edit Answer'); |
my $helplink=&Apache::loncommon::help_open_topic('Formula_Editor'); |
my $helplink=&Apache::loncommon::help_open_topic('Formula_Editor'); |
|
my $iconpath=$Apache::lonnet::perlvar{'lonIconsURL'}; |
return(<<ENDFORMULABUTTON); |
return(<<ENDFORMULABUTTON); |
<script language="JavaScript"> |
<script language="JavaScript"> |
function edit_${id}_${field} (textarea) { |
function edit_${id}_${field} (textarea) { |
Line 532 function edit_${id}_${field} (textarea)
|
Line 533 function edit_${id}_${field} (textarea)
|
newwin = window.open("/adm/dragmath/applet/MaximaPopup.html","","width=565,height=400,resizable"); |
newwin = window.open("/adm/dragmath/applet/MaximaPopup.html","","width=565,height=400,resizable"); |
} |
} |
</script> |
</script> |
<a href="javascript:edit_${id}_${field}('${field}');void(0);"><img src='$iconpath\stift.gif'/></a> |
<a href="javascript:edit_${id}_${field}('${field}');void(0);"><img class="stift" src='$iconpath/stift.gif' alt='$button' /></a> |
<input type='button' value='$button' onclick="javascript:edit_${id}_${field}('${field}');void(0);" />$helplink |
|
ENDFORMULABUTTON |
ENDFORMULABUTTON |
} |
} |
|
|