Skip to content

Commit

Permalink
MDL-19800 Converted all print_footer() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Aug 6, 2009
1 parent 7b30ba8 commit 615ed8d
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions login/change_password.php
Expand Up @@ -94,7 +94,7 @@

notice($strpasswordchanged, $returnto);

print_footer();
echo $OUTPUT->footer();
exit;
}

Expand All @@ -112,6 +112,6 @@
notify(get_string('forcepasswordchangenotice'));
}
$mform->display();
print_footer();
echo $OUTPUT->footer();

?>
4 changes: 2 additions & 2 deletions login/confirm.php
Expand Up @@ -37,7 +37,7 @@
echo "<p>".get_string("alreadyconfirmed")."</p>\n";
print_single_button("$CFG->wwwroot/course/", null, get_string('courses'));
print_box_end();
print_footer();
echo $OUTPUT->footer();
exit;

} else if ($confirmed == AUTH_CONFIRM_OK) {
Expand All @@ -62,7 +62,7 @@
echo "<p>".get_string("confirmed")."</p>\n";
print_single_button("$CFG->wwwroot/course/", null, get_string('courses'));
print_box_end();
print_footer();
echo $OUTPUT->footer();
exit;
} else {
print_error('invalidconfirmdata');
Expand Down
2 changes: 1 addition & 1 deletion login/forgot_password.php
Expand Up @@ -152,6 +152,6 @@
print_box(get_string('passwordforgotteninstructions'), 'generalbox boxwidthnormal boxaligncenter');
$mform->display();

print_footer();
echo $OUTPUT->footer();

?>
8 changes: 4 additions & 4 deletions login/index.php
Expand Up @@ -128,7 +128,7 @@
print_header(get_string("mustconfirm"), get_string("mustconfirm") );
echo $OUTPUT->heading(get_string("mustconfirm"));
print_simple_box(get_string("emailconfirmsent", "", $user->email), "center");
print_footer();
echo $OUTPUT->footer();
die;
}

Expand Down Expand Up @@ -181,12 +181,12 @@
if (intval($days2expire) > 0 && intval($days2expire) < intval($userauth->config->expiration_warning)) {
print_header("$site->fullname: $loginsite", "$site->fullname", $navigation, '', '', true, "<div class=\"langmenu\">$langmenu</div>");
notice_yesno(get_string('auth_passwordwillexpire', 'auth', $days2expire), $passwordchangeurl, $urltogo);
print_footer();
echo $OUTPUT->footer();
exit;
} elseif (intval($days2expire) < 0 ) {
print_header("$site->fullname: $loginsite", "$site->fullname", $navigation, '', '', true, "<div class=\"langmenu\">$langmenu</div>");
notice_yesno(get_string('auth_passwordisexpired', 'auth'), $passwordchangeurl, $urltogo);
print_footer();
echo $OUTPUT->footer();
exit;
}
}
Expand Down Expand Up @@ -284,7 +284,7 @@

include("index_form.html");

print_footer();
echo $OUTPUT->footer();


?>
2 changes: 1 addition & 1 deletion login/logout.php
Expand Up @@ -16,7 +16,7 @@
} else if (!confirm_sesskey($sesskey)) {
print_header($SITE->fullname, $SITE->fullname, 'home');
notice_yesno(get_string('logoutconfirm'), 'logout.php', $CFG->wwwroot.'/', array('sesskey'=>sesskey()), null, 'post', 'get');
print_footer();
echo $OUTPUT->footer();
die;
}

Expand Down
2 changes: 1 addition & 1 deletion login/mnet_email.php
Expand Up @@ -35,6 +35,6 @@
<?php

print_simple_box_end();
print_footer();
echo $OUTPUT->footer();

?>
2 changes: 1 addition & 1 deletion login/signup.php
Expand Up @@ -61,7 +61,7 @@ function signup_captcha_enabled() {
print_header($newaccount, $newaccount, $navigation, $mform_signup->focus(), "", true, "<div class=\"langmenu\">$langmenu</div>");

$mform_signup->display();
print_footer();
echo $OUTPUT->footer();


?>

0 comments on commit 615ed8d

Please sign in to comment.