version 1.200, 2008/09/05 16:14:38
|
version 1.201, 2008/09/05 21:32:56
|
Line 523 sub start_mathresponse {
|
Line 523 sub start_mathresponse {
|
sub edit_mathresponse_button { |
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'}; |
my $iconpath=$Apache::lonnet::perlvar{'lonIconsURL'}; |
return(<<ENDFORMULABUTTON); |
return(<<ENDFORMULABUTTON); |
<script language="JavaScript"> |
<script language="JavaScript"> |
Line 533 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 class="stift" src='$iconpath/stift.gif' alt='$button' title='$button'/></a>$helplink |
<a href="javascript:edit_${id}_${field}('${field}');void(0);"><img class="stift" src='$iconpath/stift.gif' alt='$button' title='$button'/></a> |
ENDFORMULABUTTON |
ENDFORMULABUTTON |
} |
} |
|
|