MDL-16865: change default course format to 'Weekly'

This commit is contained in:
jerome 2008-10-13 09:34:38 +00:00
parent aea45e7ef1
commit a8867477c7

View File

@ -23,7 +23,7 @@ if ($hassiteconfig
$formcourseformats["$courseformat"] = get_string("format$courseformat");
}
}
$temp->add(new admin_setting_configselect('moodlecourse/format', get_string('format'), get_string('courseformats'), key($formcourseformats),$formcourseformats));
$temp->add(new admin_setting_configselect('moodlecourse/format', get_string('format'), get_string('courseformats'), 'weeks',$formcourseformats));
for ($i=1; $i<=52; $i++) {
$sectionmenu[$i] = "$i";
}