From 816552399202568bfd1641992fa90557f4f274bd Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 20 Jun 2007 16:18:37 +0000 Subject: [PATCH] Put information about which quiz and page in the URL for attempt.php, instead of in hidden form fields. Merged from OU Moodle.This makes things a little more robust in some situations, for example you can bookmark a page half way through a quiz attempt to make it easier to get back later. --- mod/quiz/attempt.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mod/quiz/attempt.php b/mod/quiz/attempt.php index a3247b7f91..5139fa0ff3 100644 --- a/mod/quiz/attempt.php +++ b/mod/quiz/attempt.php @@ -424,8 +424,8 @@ } // Start the form - echo '
', "\n"; + echo '', "\n"; if($quiz->timelimit > 0) { // Make sure javascript is enabled for time limited quizzes ?> @@ -442,7 +442,6 @@ // Add a hidden field with the quiz id echo '
'; - echo '\n"; // Print the navigation panel if required $numpages = quiz_number_of_pages($attempt->layout); @@ -452,7 +451,7 @@ // \n"; quiz_print_navigation_panel($page, $numpages); echo "
\n"; } -- 2.39.5