--- loncom/interface/loncommon.pm 2005/02/25 04:56:05 1.251
+++ loncom/interface/loncommon.pm 2005/03/02 20:35:46 1.254
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.251 2005/02/25 04:56:05 albertel Exp $
+# $Id: loncommon.pm,v 1.254 2005/03/02 20:35:46 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -547,7 +547,7 @@ END
$result .= "\n";
@@ -557,7 +557,7 @@ END
my $seconddefault = $hashref->{$firstdefault}->{'default'};
foreach my $value (sort(keys(%select2))) {
$result.=" \n";
}
$result .= "\n";
@@ -691,7 +691,8 @@ sub help_open_menu {
my $helpicon=&lonhttpdurl("/adm/lonIcons/helpgateway.gif");
$template .= <<"ENDTEMPLATE";
@@ -1045,7 +1047,7 @@ sub multiple_select_form {
$output.="\n\n";
@@ -1076,7 +1078,7 @@ sub select_form {
}
foreach (@keys) {
$selectform.="\n";
}
$selectform.="";
@@ -1113,7 +1115,7 @@ sub select_level_form {
my $selectform = "";
@@ -1143,7 +1145,7 @@ sub select_dom_form {
my $selectdomain = "";
@@ -2353,7 +2355,7 @@ sub submlink {
&Apache::lonxml::whichuser($symb);
if (!$symb) { $symb=$cursymb; }
}
- if (!$symb) { $symb=&symbread(); }
+ if (!$symb) { $symb=&Apache::lonnet::symbread(); }
$symb=&Apache::lonnet::escape($symb);
if ($target) { $target="target=\"$target\""; }
return '
END
+ if ($ENV{'environment.texengine'} eq 'jsMath') {
+ $bodytag.=''."\n".
+ ''."\n";
+ }
+
my $upperleft='
';
if ($bodyonly) {
@@ -2776,6 +2785,10 @@ Returns: A uniform footer for LON-CAPA w
sub endbodytag {
my $endbodytag='