mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +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
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue