notice($strpasswordchanged, $returnto);
- print_footer();
+ echo $OUTPUT->footer();
exit;
}
notify(get_string('forcepasswordchangenotice'));
}
$mform->display();
- print_footer();
+ echo $OUTPUT->footer();
?>
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) {
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');
print_box(get_string('passwordforgotteninstructions'), 'generalbox boxwidthnormal boxaligncenter');
$mform->display();
-print_footer();
+echo $OUTPUT->footer();
?>
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;
}
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;
}
}
include("index_form.html");
- print_footer();
+ echo $OUTPUT->footer();
?>
} 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;
}
<?php
print_simple_box_end();
-print_footer();
+echo $OUTPUT->footer();
?>
print_header($newaccount, $newaccount, $navigation, $mform_signup->focus(), "", true, "<div class=\"langmenu\">$langmenu</div>");
$mform_signup->display();
- print_footer();
+ echo $OUTPUT->footer();
?>