MDL-15750 - followup, now the timer is in the navigation block, remove the old display code.

This commit is contained in:
tjhunt
2008-08-15 11:24:49 +00:00
parent c401e63272
commit f9c90dfcba
+1 -5
View File
@@ -168,11 +168,7 @@ class quiz_access_manager {
/// Make sure the timer starts just above zero. If $timeleft was <= 0, then
/// this will just have the effect of causing the quiz to be submitted immediately.
$timerstartvalue = max($timeleft, 1);
print_box_start('', 'quiz-timer-outer');
print_heading(get_string('timeleft', 'quiz'), '', 3);
echo '<p id="quiz-timer-display"></p>';
print_box_end();
echo "\n\n", '<script type="text/javascript">';
echo '<script type="text/javascript">';
echo "quiz_timer.initialise('", get_string('timesup','quiz'), "', ", $timerstartvalue, ");";
echo "</script>\n";
}