[system] / trunk / webwork2 / lib / WeBWorK / PG.pm Repository:
ViewVC logotype

Diff of /trunk/webwork2/lib/WeBWorK/PG.pm

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

Revision 692 Revision 696
260 $envir{displaySolutionsQ} = $options->{showSolutions}; 260 $envir{displaySolutionsQ} = $options->{showSolutions};
261 $envir{refreshMath2img} = $options->{refreshMath2img}; 261 $envir{refreshMath2img} = $options->{refreshMath2img};
262 $envir{texDisposition} = "pdf"; # in webwork-modperl, we use pdflatex 262 $envir{texDisposition} = "pdf"; # in webwork-modperl, we use pdflatex
263 263
264 # Problem Information 264 # Problem Information
265 # ADDED: courseName 265 # ADDED: courseName, formatedDueDate
266 266
267 $envir{openDate} = $set->open_date; 267 $envir{openDate} = $set->open_date;
268 $envir{formattedOpenDate} = formatDateTime($envir{openDate}); 268 $envir{formattedOpenDate} = formatDateTime($envir{openDate});
269 $envir{dueDate} = $set->due_date; 269 $envir{dueDate} = $set->due_date;
270 $envir{formattedDueDate} = formatDateTime($envir{dueDate}); 270 $envir{formattedDueDate} = formatDateTime($envir{dueDate});
271 $envir{formatedDueDate} = $envir{formattedDueDate}; # typo in many header files
271 $envir{answerDate} = $set->answer_date; 272 $envir{answerDate} = $set->answer_date;
272 $envir{formattedAnswerDate} = formatDateTime($envir{answerDate}); 273 $envir{formattedAnswerDate} = formatDateTime($envir{answerDate});
273 $envir{numOfAttempts} = ($problem->num_correct || 0) + ($problem->num_incorrect || 0); 274 $envir{numOfAttempts} = ($problem->num_correct || 0) + ($problem->num_incorrect || 0);
274 $envir{problemValue} = $problem->value; 275 $envir{problemValue} = $problem->value;
275 $envir{sessionKey} = $key; 276 $envir{sessionKey} = $key;

Legend:
Removed from v.692  
changed lines
  Added in v.696

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9