navigation MDL-22425 Restructured navigation for the nth time plus performance tweaking and course display limit
This commit is contained in:
@@ -188,6 +188,14 @@ if ($hassiteconfig
|
||||
get_string('extrauserselectorfields', 'admin'), get_string('configextrauserselectorfields', 'admin'), array('email' => '1'),
|
||||
array('email' => get_string('email'), 'idnumber' => get_string('idnumber'), 'username' => get_string('username'), )));
|
||||
}
|
||||
|
||||
$choices = array(
|
||||
HOMEPAGE_SITE => get_string('site'),
|
||||
HOMEPAGE_MY => get_string('mymoodle', 'admin'),
|
||||
HOMEPAGE_USER => get_string('userpreference', 'admin')
|
||||
);
|
||||
$temp->add(new admin_setting_configselect('defaulthomepage', get_string('defaulthomepage', 'admin'), get_string('configdefaulthomepage', 'admin'), HOMEPAGE_SITE, $choices));
|
||||
|
||||
$ADMIN->add('roles', $temp);
|
||||
|
||||
if (is_siteadmin()) {
|
||||
|
||||
Reference in New Issue
Block a user