MDL-648 - minor corrections.

This commit is contained in:
tjhunt 2007-07-06 08:20:07 +00:00
parent 1dd1bc8eaa
commit b0972c0593

View File

@ -872,8 +872,8 @@ function quiz_send_notification_emails($course, $quiz, $attempt, $context, $cm)
$a->quizlink = '<a href="view.php?q=' . $quiz->id . '">' . format_string($quiz->name) . '</a>'; $a->quizlink = '<a href="view.php?q=' . $quiz->id . '">' . format_string($quiz->name) . '</a>';
$a->quizurl = $CFG->wwwroot . '/mod/quiz/view.php?q=' . $quiz->id; $a->quizurl = $CFG->wwwroot . '/mod/quiz/view.php?q=' . $quiz->id;
// attempt info // attempt info
$a->attemptsubmissiontime = userdate($attempt->timefinish); $a->submissiontime = userdate($attempt->timefinish);
$a->attempttimetaken = $attempt->timefinish - $attempt->timestart; $a->timetaken = format_time($attempt->timefinish - $attempt->timestart);
// student who sat the quiz info // student who sat the quiz info
$a->studentidnumber = $USER->idnumber; $a->studentidnumber = $USER->idnumber;
$a->studentname = fullname($USER); $a->studentname = fullname($USER);