[system] / trunk / webwork / system / cgi / cgi-scripts / processProblem8.pl Repository:
ViewVC logotype

Diff of /trunk/webwork/system/cgi/cgi-scripts/processProblem8.pl

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

Revision 131 Revision 203
203 203
204# 204#
205# # cache information about the problem set (from the webwork-database) 205# # cache information about the problem set (from the webwork-database)
206# and begin constructing the environment for constructing and displaying the problem 206# and begin constructing the environment for constructing and displaying the problem
207 &attachProbSetRecord($psvn); 207 &attachProbSetRecord($psvn);
208 208 &attachCLRecord(&getStudentLogin($psvn));
209
209 210
210# Get information from database 211# Get information from database
211 my ($currentTime,$odts,$ddts,$adts); 212 my ($currentTime,$odts,$ddts,$adts);
212 $currentTime = time; 213 $currentTime = time;
213 $odts = &getOpenDate($psvn); 214 $odts = &getOpenDate($psvn);
404# begin processing problem 405# begin processing problem
405################################################## 406##################################################
406 407
407 408
408 my %envir=defineProblemEnvir($mode,$probNum,$psvn,$Course); 409 my %envir=defineProblemEnvir($mode,$probNum,$psvn,$Course);
409 #print %envir; #DEBUG 410# my @envir_array = %envir;
411# warn "@envir_array"; #DEBUG
410 ##Need to check what language is used here 412 ##Need to check what language is used here
411 #this comes from createDisplayedProblem in displayMacros 413 #this comes from createDisplayedProblem in displayMacros
412 my @printlines; 414 my @printlines;
413 415
414 #this is no longer used DME 6/15/2000 416 #this is no longer used DME 6/15/2000
1461# $envir{'refSubmittedAnswers'} = $refSubmittedAnswers if defined($refSubmittedAnswers); 1463# $envir{'refSubmittedAnswers'} = $refSubmittedAnswers if defined($refSubmittedAnswers);
1462 $envir{'psvnNumber'} = $psvn; 1464 $envir{'psvnNumber'} = $psvn;
1463 $envir{'psvn'} = $psvn; 1465 $envir{'psvn'} = $psvn;
1464 $envir{'studentName'} = &CL_getStudentName($loginName); 1466 $envir{'studentName'} = &CL_getStudentName($loginName);
1465 $envir{'studentLogin'} = &getStudentLogin($psvn); 1467 $envir{'studentLogin'} = &getStudentLogin($psvn);
1468 $envir{'studentID'} = &CL_getStudentID($psvn);
1466 $envir{'sectionName'} = &CL_getClassSection($loginName); 1469 $envir{'sectionName'} = &CL_getClassSection($loginName);
1467 $envir{'sectionNumber'} = &CL_getClassSection($loginName); 1470 $envir{'sectionNumber'} = &CL_getClassSection($loginName);
1468 $envir{'recitationName'} = &CL_getClassRecitation($loginName); 1471 $envir{'recitationName'} = &CL_getClassRecitation($loginName);
1469 $envir{'recitationNumber'} = &CL_getClassRecitation($loginName); 1472 $envir{'recitationNumber'} = &CL_getClassRecitation($loginName);
1470 $envir{'setNumber'} = &getSetNumber($psvn); 1473 $envir{'setNumber'} = &getSetNumber($psvn);

Legend:
Removed from v.131  
changed lines
  Added in v.203

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9