mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
user selection: MDL-16991 Improve the user selector used on the assign roles and group memebers pages - Create admin setting
This commit is contained in:
parent
75816bbb91
commit
99cd2f77bb
@ -165,6 +165,10 @@ if ($hassiteconfig
|
||||
'aimid' => get_string('aimid'),
|
||||
'msnid' => get_string('msnid'),
|
||||
'lastaccess' => get_string('lastaccess'))));
|
||||
|
||||
$temp->add(new admin_setting_configmulticheckbox('extrauserselectorfields',
|
||||
get_string('extrauserselectorfields', 'admin'), get_string('configextrauserselectorfields', 'admin'), array('email' => '1'),
|
||||
array('email' => get_string('email'), 'idnumber' => get_string('idnumber'), 'username' => get_string('username'), )));
|
||||
}
|
||||
|
||||
$ADMIN->add('roles', $temp);
|
||||
|
@ -124,6 +124,7 @@ $string['configenabletrusttext'] = 'By default Moodle will always thoroughly cle
|
||||
$string['configenrolmentplugins'] = 'Please choose the enrolment plugins you wish to use. Don\'t forget to configure the settings properly.<br /><br />You have to indicate which plugins are enabled, and <strong>one</strong> plugin can be set as the default plugin for <em>interactive</em> enrolment. To disable interactive enrolment, set \"enrollable\" to \"No\" in required courses.';
|
||||
$string['configerrorlevel'] = 'Choose the amount of PHP warnings that you want to be displayed. Normal is usually the best choice.';
|
||||
$string['configextendedusernamechars'] = 'Enable this setting to allow students to use any characters in their usernames (note this does not affect their actual names). The default is \"false\" which restricts usernames to be alphanumeric characters only';
|
||||
$string['configextrauserselectorfields'] = 'When selecting users, for example on the assign roles or when adding users to a group, these fields will shown in the list of users, a included in any searches. Note that from a security perspective, selecting username here is a bad idea.';
|
||||
$string['configfilterall'] = 'Filter all strings, including headings, titles, navigation bar and so on. This is mostly useful when using the multilang filter, otherwise it will just create extra load on your site for little gain.';
|
||||
$string['configfiltermatchoneperpage'] = 'Automatic linking filters will only generate a single link for the first matching text instance found on the complete page. All others are ignored.';
|
||||
$string['configfiltermatchonepertext'] = 'Automatic linking filters will only generate a single link for the first matching text instance found in each item of text (e.g., resource, block) on the page. All others are ignored. This setting is ignored if the one per page setting is <i>yes</i>.';
|
||||
@ -377,6 +378,7 @@ $string['exceptions'] = 'exceptions';
|
||||
$string['experimental'] = 'Experimental';
|
||||
$string['experimentalsettings'] = 'Experimental settings';
|
||||
$string['extendedusernamechars'] = 'Allow extended characters in usernames';
|
||||
$string['extrauserselectorfields'] = 'When selecting users, search and display';
|
||||
$string['filecreated'] = 'New file created';
|
||||
$string['filestoredin'] = 'Save file into folder :';
|
||||
$string['filestoredinhelp'] = 'Where the file will be stored';
|
||||
|
Loading…
x
Reference in New Issue
Block a user