Added a new setting called $CFG->defaultuserroleid which defines

the role that ALL users get by default when they log in.
This commit is contained in:
moodler
2006-09-14 09:39:23 +00:00
parent ea8158c118
commit 8f8ed475f7
12 changed files with 113 additions and 51 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<?php // $Id$
// "locations" settingpage
$temp = new admin_settingpage('locationsettings', get_string('settings'));
$temp = new admin_settingpage('locationsettings', get_string('locationsettings', 'admin'));
$options = get_list_of_timezones();
$options[99] = get_string('serverlocaltime');
$temp->add(new admin_setting_configselect('timezone', get_string('timezone','admin'), get_string('configtimezone', 'admin'), 99, $options));