From c88369b8e36ed6bab081b0579f69a966dba54ac1 Mon Sep 17 00:00:00 2001
From: moodler :
delay1", "");
- helpbutton("timedelay1", get_string("delay1","quiz"), "quiz");
- ?>
+ choose_from_menu($timedelayoptions, "delay1", "$form->delay1", "");
+ helpbutton("timedelay1", get_string("delay1","quiz"), "quiz");
+ ?>
@@ -356,9 +357,9 @@
:
delay2", "");
- helpbutton("timedelay2", get_string("delay2","quiz"), "quiz");
- ?>
+ choose_from_menu($timedelayoptions, "delay2", "$form->delay2", "");
+ helpbutton("timedelay2", get_string("delay2","quiz"), "quiz");
+ ?>
@@ -584,7 +585,7 @@
:
delay1", "");
+ choose_from_menu($timedelayoptions, "delay1", "$form->delay1", "");
helpbutton("timedelay1", get_string("delay1","quiz"), "quiz");
?>
@@ -596,7 +597,7 @@
:
delay2", "");
+ choose_from_menu($timedelayoptions, "delay2", "$form->delay2", "");
helpbutton("timedelay2", get_string("delay2","quiz"), "quiz");
?>
diff --git a/mod/quiz/view.php b/mod/quiz/view.php
index 60d0e15362..37681f1945 100644
--- a/mod/quiz/view.php
+++ b/mod/quiz/view.php
@@ -10,7 +10,7 @@
$id = optional_param('id', 0, PARAM_INT); // Course Module ID, or
$q = optional_param('q', 0, PARAM_INT); // quiz ID
$edit = optional_param('edit', '');
-
+
if ($id) {
if (! $cm = get_record("course_modules", "id", $id)) {
error("There is no coursemodule with id $id");
@@ -160,7 +160,7 @@
$strtimetaken = get_string("timetaken", "quiz");
$strtimecompleted = get_string("timecompleted", "quiz");
$strgrade = get_string("grade");
- $strmarks = get_string('marks', 'quiz');
+ $strmarks = get_string('marks', 'quiz');
$strbestgrade = $QUIZ_GRADE_METHOD[$quiz->grademethod];
$windowoptions = "left=0, top=0, channelmode=yes, fullscreen=yes, scrollbars=yes, resizeable=no, directories=no, toolbar=no, titlebar=no, location=no, status=no, menubar=no";
@@ -311,11 +311,41 @@
echo "
";
echo "