[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 2201 Revision 2267
169# $main::ans_rule_count = 0; # counts questions 169# $main::ans_rule_count = 0; # counts questions
170 170
171 # end unpacking of environment variables. 171 # end unpacking of environment variables.
172# $main::QUIZ_PREFIX = '' unless defined($main::QUIZ_PREFIX) 172# $main::QUIZ_PREFIX = '' unless defined($main::QUIZ_PREFIX)
173 173
174 $STRINGforOUTPUT = '<SCRIPT SRC="'.$main::envir{jsMathURL}.'"></SCRIPT>' . "\n" . $STRINGforOUTPUT 174 $STRINGforOUTPUT = '<SCRIPT SRC="'.$main::envir{jsMathURL}.'"></SCRIPT>' . "\n" .
175 if ($main::envir{displayMode} eq 'HTML_jsMath'); 175 '<NOSCRIPT><CENTER><FONT COLOR="#CC0000">' .
176 '<B>Warning: the mathematics on this page requires JavaScript.<BR>' .
177 'If your browser supports it, be sure it is enabled.</B>'.
178 '</FONT></CENTER><p></NOSCRIPT>' .
179 $STRINGforOUTPUT if ($main::envir{displayMode} eq 'HTML_jsMath');
176 180
177 $STRINGforOUTPUT = '<SCRIPT SRC="'.$main::envir{asciimathURL}.'"></SCRIPT>' . "\n" . 181 $STRINGforOUTPUT = '<SCRIPT SRC="'.$main::envir{asciimathURL}.'"></SCRIPT>' . "\n" .
178 '<SCRIPT>mathcolor = "black"</SCRIPT>' . $STRINGforOUTPUT 182 '<SCRIPT>mathcolor = "black"</SCRIPT>' . $STRINGforOUTPUT
179 if ($main::envir{displayMode} eq 'HTML_asciimath'); 183 if ($main::envir{displayMode} eq 'HTML_asciimath');
180 184

Legend:
Removed from v.2201  
changed lines
  Added in v.2267

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9