version 1.180, 2008/09/05 22:12:47
|
version 1.182, 2008/10/07 10:13:58
|
Line 102 can be used to paste LaTeX into a textar
|
Line 102 can be used to paste LaTeX into a textar
|
=cut |
=cut |
|
|
sub dragmath_js { |
sub dragmath_js { |
|
my ($popup) = @_; |
return <<ENDDRAGMATHJS; |
return <<ENDDRAGMATHJS; |
<script type="text/javascript"> |
<script type="text/javascript"> |
function mathedit(textarea, doc) { |
function mathedit(textarea, doc) { |
targetEntry = textarea; |
targetEntry = textarea; |
targetDoc = doc; |
targetDoc = doc; |
newwin = window.open("/adm/dragmath/applet/EditMathPopup.html","","width=565,height=500,resizable"); |
newwin = window.open("/adm/dragmath/applet/$popup.html","","width=565,height=500,resizable"); |
} |
} |
</script> |
</script> |
|
|
ENDDRAGMATHJS |
ENDDRAGMATHJS |
} |
} |
|
|
|
|
############################################## |
############################################## |
############################################## |
############################################## |
|
|
Line 1482 sub end_pick_box {
|
Line 1484 sub end_pick_box {
|
END |
END |
return $output; |
return $output; |
} |
} |
|
|
|
sub row_headline { |
|
my $output = <<"END"; |
|
<tr><td colspan="2"> |
|
END |
|
return $output; |
|
} |
|
|
sub row_title { |
sub row_title { |
my ($title,$css_title_class,$css_value_class) = @_; |
my ($title,$css_title_class,$css_value_class) = @_; |