From: nicolasconnault Date: Thu, 6 Aug 2009 14:23:04 +0000 (+0000) Subject: MDL-19788 Converted all print_footer() calls X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=119550a5b27c3653e2ff9254d28b2e70cdefb73e;p=moodle.git MDL-19788 Converted all print_footer() calls --- 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(); ?>