auth config: MDL-19053 Use the HTML editor to edit the login page authentication...
authorInaki <iarenuno@eteo.mondragon.edu>
Sat, 10 Apr 2010 15:13:35 +0000 (15:13 +0000)
committerInaki <iarenuno@eteo.mondragon.edu>
Sat, 10 Apr 2010 15:13:35 +0000 (15:13 +0000)
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

index 3029472..b54c5ee 100644 (file)
@@ -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));