From: tjhunt Date: Wed, 20 Jun 2007 16:18:37 +0000 (+0000) Subject: Put information about which quiz and page in the URL for attempt.php, instead of... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=816552399202568bfd1641992fa90557f4f274bd;p=moodle.git 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. --- 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"; }