Skip to content

Commit

Permalink
Tidied up attemptpage with password
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jul 8, 2004
1 parent 3230a30 commit cbf8fb4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mod/quiz/attempt.php
Expand Up @@ -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");
Expand Down

0 comments on commit cbf8fb4

Please sign in to comment.