| 1 | ################################################################################ |
1 | ################################################################################ |
| 2 | # WeBWorK Online Homework Delivery System |
2 | # WeBWorK Online Homework Delivery System |
| 3 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
3 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
| 4 | # $CVSHeader$ |
4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/PG.pm,v 1.46 2003/12/09 01:12:30 sh002i Exp $ |
| 5 | # |
5 | # |
| 6 | # This program is free software; you can redistribute it and/or modify it under |
6 | # This program is free software; you can redistribute it and/or modify it under |
| 7 | # the terms of either: (a) the GNU General Public License as published by the |
7 | # the terms of either: (a) the GNU General Public License as published by the |
| 8 | # Free Software Foundation; either version 2, or (at your option) any later |
8 | # Free Software Foundation; either version 2, or (at your option) any later |
| 9 | # version, or (b) the "Artistic License" which comes with this package. |
9 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 75 | $envir{displayMode} = translateDisplayModeNames($options->{displayMode}); |
75 | $envir{displayMode} = translateDisplayModeNames($options->{displayMode}); |
| 76 | $envir{languageMode} = $envir{displayMode}; |
76 | $envir{languageMode} = $envir{displayMode}; |
| 77 | $envir{outputMode} = $envir{displayMode}; |
77 | $envir{outputMode} = $envir{displayMode}; |
| 78 | $envir{displayHintsQ} = $options->{showHints}; |
78 | $envir{displayHintsQ} = $options->{showHints}; |
| 79 | $envir{displaySolutionsQ} = $options->{showSolutions}; |
79 | $envir{displaySolutionsQ} = $options->{showSolutions}; |
| 80 | $envir{texDisposition} = "pdf"; # in webwork-modperl, we use pdflatex |
80 | $envir{texDisposition} = "pdf"; # in webwork2, we use pdflatex |
| 81 | |
81 | |
| 82 | # Problem Information |
82 | # Problem Information |
| 83 | # ADDED: courseName, formatedDueDate |
83 | # ADDED: courseName, formatedDueDate |
| 84 | |
84 | |
| 85 | $envir{openDate} = $set->open_date; |
85 | $envir{openDate} = $set->open_date; |