Tidied up attemptpage with password

This commit is contained in:
moodler 2004-07-08 08:08:38 +00:00
parent 3230a30655
commit cbf8fb4597

View File

@ -82,6 +82,11 @@
/// Check password access
if ($quiz->password) {
if (empty($_POST['quizpassword'])) {
print_heading($quiz->name);
print_heading(get_string("attempt", "quiz", $attemptnumber));
print_simple_box(format_text($quiz->intro), "CENTER");
echo "<br />\n";
echo "<form name=\"passwordform\" method=\"post\" action=\"attempt.php?q=$quiz->id\">\n";
print_simple_box_start("center");