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:
tjhunt 2008-10-24 06:41:50 +00:00
parent 75816bbb91
commit 99cd2f77bb
2 changed files with 6 additions and 0 deletions

View file

@ -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);