[system] / trunk / pg / macros / PG.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/PG.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 3764 Revision 3765
179# $main::QUIZ_PREFIX = '' unless defined($main::QUIZ_PREFIX) 179# $main::QUIZ_PREFIX = '' unless defined($main::QUIZ_PREFIX)
180 180
181 if ($main::envir{displayMode} eq 'HTML_jsMath') { 181 if ($main::envir{displayMode} eq 'HTML_jsMath') {
182 my $prefix = ""; 182 my $prefix = "";
183 if (!$main::envir{jsMath}{reportMissingFonts}) { 183 if (!$main::envir{jsMath}{reportMissingFonts}) {
184 $prefix .= '<SCRIPT>noFontMessage = 1</SCRIPT>'; 184 $prefix .= '<SCRIPT>noFontMessage = 1</SCRIPT>'."\n";
185 } elsif ($main::envir{jsMath}{missingFontMessage}) { 185 } elsif ($main::envir{jsMath}{missingFontMessage}) {
186 $prefix .= '<SCRIPT>missingFontMessage = "'.$main::envir{jsMath}{missingFontMessage}.'"</SCRIPT>'; 186 $prefix .= '<SCRIPT>missingFontMessage = "'.$main::envir{jsMath}{missingFontMessage}.'"</SCRIPT>'."\n";
187 } 187 }
188 $prefix .= '<SCRIPT>processDoubleClicks = '.($main::envir{jsMath}{processDoubleClicks}?'1':'0')."</SCRIPT>\n";
188 $STRINGforOUTPUT = 189 $STRINGforOUTPUT =
189 $prefix . 190 $prefix .
190 '<SCRIPT SRC="'.$main::envir{jsMathURL}.'"></SCRIPT>' . "\n" . 191 '<SCRIPT SRC="'.$main::envir{jsMathURL}.'"></SCRIPT>' . "\n" .
191 '<NOSCRIPT><CENTER><FONT COLOR="#CC0000">' . 192 '<NOSCRIPT><CENTER><FONT COLOR="#CC0000">' .
192 '<B>Warning: the mathematics on this page requires JavaScript.<BR>' . 193 '<B>Warning: the mathematics on this page requires JavaScript.<BR>' .

Legend:
Removed from v.3764  
changed lines
  Added in v.3765

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9