]> git.mjollnir.org Git - moodle.git/commitdiff
More xhtml fixes. MDL-7861 related.
authorvyshane <vyshane>
Mon, 8 Jan 2007 07:45:53 +0000 (07:45 +0000)
committervyshane <vyshane>
Mon, 8 Jan 2007 07:45:53 +0000 (07:45 +0000)
question/preview.php

index 4f109bb0206b6704d8b693b9435ed9978805795d..09cab63439ceeeca9557be1426eac7032e2f452e 100644 (file)
         echo "</p>\n";
     }
     $number = 1;
-    echo "<form method=\"post\" action=\"preview.php\" autocomplete=\"off\">\n";
-    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 "<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 the mark and finish attempt buttons
     echo '<input name="markall" type="submit" value="' . get_string('markall',
     echo '</div>';
     echo '</form>';
     print_footer();
-?>
+?>
\ No newline at end of file