MDL-19800 Converted all print_footer() calls
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
|
||||
notice($strpasswordchanged, $returnto);
|
||||
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -112,6 +112,6 @@
|
||||
notify(get_string('forcepasswordchangenotice'));
|
||||
}
|
||||
$mform->display();
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
?>
|
||||
|
||||
+2
-2
@@ -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) {
|
||||
@@ -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');
|
||||
|
||||
@@ -152,6 +152,6 @@ print_header($strforgotten, $strforgotten, $navigation, 'id_email');
|
||||
print_box(get_string('passwordforgotteninstructions'), 'generalbox boxwidthnormal boxaligncenter');
|
||||
$mform->display();
|
||||
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
?>
|
||||
|
||||
+4
-4
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -284,7 +284,7 @@
|
||||
|
||||
include("index_form.html");
|
||||
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
|
||||
?>
|
||||
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -35,6 +35,6 @@ print_simple_box_start('center','50%','','20');
|
||||
<?php
|
||||
|
||||
print_simple_box_end();
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
?>
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@
|
||||
print_header($newaccount, $newaccount, $navigation, $mform_signup->focus(), "", true, "<div class=\"langmenu\">$langmenu</div>");
|
||||
|
||||
$mform_signup->display();
|
||||
print_footer();
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user