From 95cb3955a65120e8fc32de190c74a4bc0989d902 Mon Sep 17 00:00:00 2001 From: Inaki Date: Thu, 14 Jan 2010 18:54:12 +0000 Subject: [PATCH] authentication plugins: MDL-21343 Add missing $OUTPUT global variables used in plugins' configuration pages --- auth/cas/auth.php | 2 ++ auth/imap/auth.php | 2 ++ auth/ldap/auth.php | 2 ++ auth/pop3/auth.php | 2 ++ auth/radius/auth.php | 2 ++ 5 files changed, 10 insertions(+) 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"; } -- 2.39.5