From: Inaki Date: Thu, 14 Jan 2010 18:54:12 +0000 (+0000) Subject: authentication plugins: MDL-21343 Add missing $OUTPUT global variables used in plugin... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=95cb3955a65120e8fc32de190c74a4bc0989d902;p=moodle.git authentication plugins: MDL-21343 Add missing $OUTPUT global variables used in plugins' configuration pages --- diff --git a/auth/cas/auth.php b/auth/cas/auth.php index e1f147569a..9687cddd33 100644 --- a/auth/cas/auth.php +++ b/auth/cas/auth.php @@ -194,6 +194,8 @@ if ( !is_object($PHPCAS_CLIENT) ) { * @param array $page An object containing all the data for this page. */ function config_form($config, $err, $user_fields) { + global $OUTPUT; + include 'config.html'; } /** diff --git a/auth/imap/auth.php b/auth/imap/auth.php index 9bf042d60f..ef4d38265f 100644 --- a/auth/imap/auth.php +++ b/auth/imap/auth.php @@ -123,6 +123,8 @@ class auth_plugin_imap extends auth_plugin_base { * @param array $page An object containing all the data for this page. */ function config_form($config, $err, $user_fields) { + global $OUTPUT; + include "config.html"; } diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php index 33a17f4d53..57ab132235 100644 --- a/auth/ldap/auth.php +++ b/auth/ldap/auth.php @@ -1967,6 +1967,8 @@ class auth_plugin_ldap extends auth_plugin_base { * @param array $page An object containing all the data for this page. */ function config_form($config, $err, $user_fields) { + global $OUTPUT; + include 'config.html'; } diff --git a/auth/pop3/auth.php b/auth/pop3/auth.php index a49f510359..1559d22466 100644 --- a/auth/pop3/auth.php +++ b/auth/pop3/auth.php @@ -123,6 +123,8 @@ class auth_plugin_pop3 extends auth_plugin_base { * @param array $page An object containing all the data for this page. */ function config_form($config, $err, $user_fields) { + global $OUTPUT; + include "config.html"; } diff --git a/auth/radius/auth.php b/auth/radius/auth.php index e6eb6a5a1f..5795978c4b 100644 --- a/auth/radius/auth.php +++ b/auth/radius/auth.php @@ -158,6 +158,8 @@ class auth_plugin_radius extends auth_plugin_base { * @param array $page An object containing all the data for this page. */ function config_form($config, $err, $user_fields) { + global $OUTPUT; + include "config.html"; }