More xhtml fixes. MDL-7861 related.

This commit is contained in:
vyshane 2007-01-08 07:45:53 +00:00
parent 2139364fbf
commit 2697726a66

View File

@ -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();
?>
?>