MDL-17203 new option for disabling of calendar export

This commit is contained in:
skodak 2008-12-31 14:10:44 +00:00
parent 81f2bb8122
commit dbf9d4cb37
5 changed files with 22 additions and 9 deletions

View file

@ -44,6 +44,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$temp->add(new admin_setting_special_calendar_weekend());
$temp->add(new admin_setting_configtext('calendar_lookahead',get_string('configlookahead','admin'),get_string('helpupcominglookahead', 'admin'),21,PARAM_INT));
$temp->add(new admin_setting_configtext('calendar_maxevents',get_string('configmaxevents','admin'),get_string('helpupcomingmaxevents', 'admin'),10,PARAM_INT));
$temp->add(new admin_setting_configcheckbox('enablecalendarexport', get_string('enablecalendarexport', 'admin'), get_string('configenablecalendarexport','admin'), 1));
$ADMIN->add('appearance', $temp);
// "htmleditor" settingpage