]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15750 - followup, now the timer is in the navigation block, remove the old displa...
authortjhunt <tjhunt>
Fri, 15 Aug 2008 11:24:49 +0000 (11:24 +0000)
committertjhunt <tjhunt>
Fri, 15 Aug 2008 11:24:49 +0000 (11:24 +0000)
mod/quiz/accessrules.php

index cc48b9c01b06d59c96e25eb6107583992792f6bc..1c56485340da5843d1ab96edbe71e359d0c43eaa 100644 (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";
         }