MDL-10374 - Quiz layout improvements, selectively merged from OU-moodle.

This commit is contained in:
tjhunt 2007-07-06 16:37:06 +00:00
parent d1818f3283
commit 99a1bf3d9c
9 changed files with 147 additions and 106 deletions

View file

@ -467,7 +467,6 @@
</script>
<?php
quiz_print_navigation_panel($page, $numpages);
echo "<br />\n";
}
/// Print all the questions
@ -479,9 +478,6 @@
foreach ($pagequestions as $i) {
$options = quiz_get_renderoptions($quiz->review, $states[$i]);
// Print the question
if ($i > 0) {
echo "<br />\n";
}
print_question($questions[$i], $states[$i], $number, $quiz, $options);
save_question_session($questions[$i], $states[$i]);
$number += $questions[$i]->length;
@ -503,9 +499,7 @@
// Print the navigation panel if required
if ($numpages > 1) {
echo "<br />\n";
quiz_print_navigation_panel($page, $numpages);
echo '<br />';
}
// Finish the form