diff -Naur htdocs.orig/lang/en_utf8/quiz.php htdocs/lang/en_utf8/quiz.php --- htdocs.orig/lang/en_utf8/quiz.php 2010-08-24 15:48:04.807497734 -0400 +++ htdocs/lang/en_utf8/quiz.php 2010-08-24 15:45:41.200490796 -0400 @@ -517,6 +517,7 @@ $string['savegrades'] = 'Save grades'; $string['savemyanswers'] = 'Save my answers'; $string['savenosubmit'] = 'Save without submitting'; +$string['nextpage'] = 'Next Page'; $string['savequiz'] = 'Save this whole quiz'; $string['score'] = 'Raw score'; $string['scores'] = 'Scores'; diff -Naur htdocs.orig/mod/quiz/attempt.php htdocs/mod/quiz/attempt.php --- htdocs.orig/mod/quiz/attempt.php 2010-08-24 14:55:07.297497508 -0400 +++ htdocs/mod/quiz/attempt.php 2010-08-24 17:07:06.155497518 -0400 @@ -221,6 +221,12 @@ /// Load all the questions and states needed by this script + if ($responses = data_submitted() and empty($responses->quizpassword)) { + if ($responses->nextpage) { + $page++ ; + } + } + // list of questions needed by page $pagelist = quiz_questions_on_page($attempt->layout, $page); @@ -292,7 +298,7 @@ unset($responses->newpage); unset($responses->review); unset($responses->questionids); - unset($responses->saveattempt); // responses get saved anway + unset($responses->nextpage); unset($responses->finishattempt); // same as $finishattempt unset($responses->markall); unset($responses->forcenewattempt); @@ -485,10 +491,10 @@ } echo '