mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-10374 - Quiz layout improvements, selectively merged from OU-moodle.
This commit is contained in:
parent
d1818f3283
commit
99a1bf3d9c
9 changed files with 147 additions and 106 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue