From cd34b66568d8ba18b50e38570e0df6743ae8aab5 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Mon, 10 Aug 2009 04:58:17 +0000 Subject: [PATCH] MDL-19800 Converted print_box* to $OUTPUT->box* --- login/confirm.php | 8 ++++---- login/forgot_password.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/login/confirm.php b/login/confirm.php index b3fb6ed7df..20e33442a8 100644 --- a/login/confirm.php +++ b/login/confirm.php @@ -32,11 +32,11 @@ 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 "

".get_string("thanks").", ". fullname($user) . "

\n"; echo "

".get_string("alreadyconfirmed")."

\n"; print_single_button("$CFG->wwwroot/course/", null, get_string('courses')); - print_box_end(); + echo $OUTPUT->box_end(); echo $OUTPUT->footer(); exit; @@ -57,11 +57,11 @@ } 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 "

".get_string("thanks").", ". fullname($USER) . "

\n"; echo "

".get_string("confirmed")."

\n"; print_single_button("$CFG->wwwroot/course/", null, get_string('courses')); - print_box_end(); + echo $OUTPUT->box_end(); echo $OUTPUT->footer(); exit; } else { diff --git a/login/forgot_password.php b/login/forgot_password.php index 1702fc3a76..153c1b2de0 100644 --- a/login/forgot_password.php +++ b/login/forgot_password.php @@ -149,7 +149,7 @@ if ($mform->is_cancelled()) { /// 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(); -- 2.39.5