From 247b7dbb4a10833b6bc534ed0cf0d3871ed32022 Mon Sep 17 00:00:00 2001 From: Inaki Date: Sat, 10 Apr 2010 15:13:35 +0000 Subject: [PATCH] auth config: MDL-19053 Use the HTML editor to edit the login page authentication instructions They are actually displayed as HTML, but they are edited through a plain text area control instead. Forward-ported from MOODLE_19_STABLE --- admin/settings/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/settings/users.php b/admin/settings/users.php index 3029472ed9a..b54c5eeac9c 100644 --- a/admin/settings/users.php +++ b/admin/settings/users.php @@ -25,7 +25,7 @@ if ($hassiteconfig get_string('alternatelogin', 'auth', htmlspecialchars(get_login_url())), '')); $temp->add(new admin_setting_configtext('forgottenpasswordurl', get_string('forgottenpasswordurl', 'auth'), get_string('forgottenpassword', 'auth'), '')); - $temp->add(new admin_setting_configtextarea('auth_instructions', get_string('instructions', 'auth'), + $temp->add(new admin_setting_confightmleditor('auth_instructions', get_string('instructions', 'auth'), get_string('authinstructions', 'auth'), '')); $temp->add(new admin_setting_configtext('allowemailaddresses', get_string('allowemailaddresses', 'admin'), get_string('configallowemailaddresses', 'admin'), '', PARAM_NOTAGS)); $temp->add(new admin_setting_configtext('denyemailaddresses', get_string('denyemailaddresses', 'admin'), get_string('configdenyemailaddresses', 'admin'), '', PARAM_NOTAGS)); -- 2.43.0