ENDhtmlTOP $out; } sub sessionKeyInputs { my($inputsref) = @_; # Argument is a pointer to the hash %inputs my $out = qq! !; $out; } sub htmlBOTTOM { my ($scriptName,$inputsref, $helpFile) = @_; my ($studentLogin, $studentID, $studentName, $studentEmail, $setNumber, $sectionName,$recitationName) = ('','','','','','',''); my ($psvn,$probNum); $psvn = ( defined($$inputsref{'probSetKey'}) ) ? $$inputsref{'probSetKey'}: ""; $probNum = ( defined($$inputsref{'probNum'} ) ) ? $$inputsref{'probNum'} : ""; my $mode = $$inputsref{'Mode'}; $mode = $Global::htmlModeDefault unless $mode; if ($psvn) { attachProbSetRecord($psvn); $studentLogin = getStudentLogin($psvn); attachCLRecord($studentLogin); $studentID = CL_getStudentID($studentLogin); $studentEmail = CL_getStudentEmailAddress($studentLogin); $studentName = CL_getStudentName($studentLogin); $setNumber = getSetNumber($psvn); $sectionName = CL_getClassSection($studentLogin); $sectionName = '' unless defined($sectionName); $recitationName = CL_getClassRecitation($studentLogin); $recitationName = '' unless defined($recitationName); } #This put in to work with the old stuff (before EmailAddress was added to DB) # unless (defined($studentEmail)) { # $studentEmail = $$inputsref{'user'} . '@uhura.cc.rochester.edu'; #} my $out = '