From 2697726a667b0ca4779742ae57a77bcd6d0eaedb Mon Sep 17 00:00:00 2001 From: vyshane <vyshane> Date: Mon, 8 Jan 2007 07:45:53 +0000 Subject: [PATCH] More xhtml fixes. MDL-7861 related. --- question/preview.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/question/preview.php b/question/preview.php index 4f109bb0206..09cab63439c 100644 --- a/question/preview.php +++ b/question/preview.php @@ -188,16 +188,17 @@ echo "</p>\n"; } $number = 1; - echo "<form method=\"post\" action=\"preview.php\" autocomplete=\"off\">\n"; + + print_question($questions[$id], $curstate, $number, $quiz, $options); + echo '<br />'; + + + echo "<form method=\"post\" action=\"preview.php\">\n"; + echo '<div class="controls">'; echo "<input type=\"hidden\" name=\"id\" value=\"$id\" />\n"; echo "<input type=\"hidden\" name=\"quizid\" value=\"$quizid\" />\n"; echo "<input type=\"hidden\" name=\"continue\" value=\"1\" />\n"; - print_question($questions[$id], $curstate, $number, $quiz, $options); - - echo '<br />'; - echo '<div class="controls">'; - // Print the mark and finish attempt buttons echo '<input name="markall" type="submit" value="' . get_string('markall', 'quiz') . "\" />\n"; @@ -224,4 +225,4 @@ echo '</div>'; echo '</form>'; print_footer(); -?> +?> \ No newline at end of file