if ($confirmed == AUTH_CONFIRM_ALREADY) {
$user = get_complete_user_data('username', $username);
print_header(get_string("alreadyconfirmed"), get_string("alreadyconfirmed"), array(), "");
- print_box_start('generalbox centerpara boxwidthnormal boxaligncenter');
+ echo $OUTPUT->box_start('generalbox centerpara boxwidthnormal boxaligncenter');
echo "<h3>".get_string("thanks").", ". fullname($user) . "</h3>\n";
echo "<p>".get_string("alreadyconfirmed")."</p>\n";
print_single_button("$CFG->wwwroot/course/", null, get_string('courses'));
- print_box_end();
+ echo $OUTPUT->box_end();
echo $OUTPUT->footer();
exit;
}
print_header(get_string("confirmed"), get_string("confirmed"), array(), "");
- print_box_start('generalbox centerpara boxwidthnormal boxaligncenter');
+ echo $OUTPUT->box_start('generalbox centerpara boxwidthnormal boxaligncenter');
echo "<h3>".get_string("thanks").", ". fullname($USER) . "</h3>\n";
echo "<p>".get_string("confirmed")."</p>\n";
print_single_button("$CFG->wwwroot/course/", null, get_string('courses'));
- print_box_end();
+ echo $OUTPUT->box_end();
echo $OUTPUT->footer();
exit;
} else {
/// DISPLAY FORM
print_header($strforgotten, $strforgotten, $navigation, 'id_email');
-print_box(get_string('passwordforgotteninstructions'), 'generalbox boxwidthnormal boxaligncenter');
+echo $OUTPUT->box(get_string('passwordforgotteninstructions'), 'generalbox boxwidthnormal boxaligncenter');
$mform->display();
echo $OUTPUT->footer();