From 119550a5b27c3653e2ff9254d28b2e70cdefb73e Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 14:23:04 +0000 Subject: [PATCH] MDL-19788 Converted all print_footer() calls --- auth/cas/auth.php | 4 ++-- auth/shibboleth/login.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/auth/cas/auth.php b/auth/cas/auth.php index b85fc861d6..3dacdbdd82 100644 --- a/auth/cas/auth.php +++ b/auth/cas/auth.php @@ -86,7 +86,7 @@ class auth_plugin_cas extends auth_plugin_base { function loginpage_hook() { global $frm; global $CFG; - global $SESSION; + global $SESSION, $OUTPUT; $site = get_site(); $CASform = get_string("CASform","auth_cas"); @@ -138,7 +138,7 @@ class auth_plugin_cas extends auth_plugin_base { print_header("$site->fullname: $CASform", $site->fullname, $navigation); include($CFG->dirroot."/auth/cas/cas_form.html"); - print_footer(); + echo $OUTPUT->footer(); exit(); } } diff --git a/auth/shibboleth/login.php b/auth/shibboleth/login.php index 7ae0874b88..553fec14d5 100644 --- a/auth/shibboleth/login.php +++ b/auth/shibboleth/login.php @@ -76,6 +76,6 @@ httpsrequired(); '', true, '
'.$langmenu.'
'); include("index_form.html"); - print_footer(); + echo $OUTPUT->footer(); ?> -- 2.39.5