mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
MDL-41792 core_calendar: refactored the calendar to allow the use of multiple calendar types
This commit is contained in:
parent
bb74cdfef3
commit
da3041379a
14 changed files with 759 additions and 475 deletions
|
@ -32,7 +32,7 @@ if (isset($CFG->calendar_maxevents)) {
|
|||
|
||||
$prefs = new stdClass;
|
||||
$prefs->timeformat = get_user_preferences('calendar_timeformat', '');
|
||||
$prefs->startwday = get_user_preferences('calendar_startwday', calendar_get_starting_weekday());
|
||||
$prefs->startwday = calendar_get_starting_weekday();
|
||||
$prefs->maxevents = get_user_preferences('calendar_maxevents', $defaultmaxevents);
|
||||
$prefs->lookahead = get_user_preferences('calendar_lookahead', $defaultlookahead);
|
||||
$prefs->persistflt = get_user_preferences('calendar_persistflt', 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue