version 1.179, 2008/08/24 12:56:28
|
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 1310 returns: nothing
|
Line 1312 returns: nothing
|
my $faq = ''; |
my $faq = ''; |
my $bug = ''; |
my $bug = ''; |
my $help=''; |
my $help=''; |
|
# Crumb Symbol |
|
my $crumbsymbol = ' ▶ '; |
# The last breadcrumb does not have a link, so handle it separately. |
# The last breadcrumb does not have a link, so handle it separately. |
my $last = pop(@Crumbs); |
my $last = pop(@Crumbs); |
# |
# |
Line 1333 returns: nothing
|
Line 1337 returns: nothing
|
}); |
}); |
} |
} |
my $links .= |
my $links .= |
join('->', |
join($crumbsymbol, |
map { |
map { |
$faq = $_->{'faq'} if (exists($_->{'faq'})); |
$faq = $_->{'faq'} if (exists($_->{'faq'})); |
$bug = $_->{'bug'} if (exists($_->{'bug'})); |
$bug = $_->{'bug'} if (exists($_->{'bug'})); |
Line 1352 returns: nothing
|
Line 1356 returns: nothing
|
$result; |
$result; |
} @Crumbs |
} @Crumbs |
); |
); |
$links .= '->' if ($links ne ''); |
$links .= $crumbsymbol if ($links ne ''); |
if ($last->{'no_mt'}) { |
if ($last->{'no_mt'}) { |
$links .= '<b>'.$last->{'text'}.'</b>'; |
$links .= '<b>'.$last->{'text'}.'</b>'; |
} else { |
} else { |
Line 1480 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) = @_; |