mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +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
|
@ -69,8 +69,7 @@ $event->count_repeats();
|
|||
|
||||
// Is used several times, and sometimes with modification if required
|
||||
$viewcalendarurl = new moodle_url(CALENDAR_URL.'view.php', array('view'=>'upcoming'));
|
||||
$viewcalendarurl->param('cal_y', userdate($event->timestart, '%Y'));
|
||||
$viewcalendarurl->param('cal_m', userdate($event->timestart, '%m'));
|
||||
$viewcalendarurl->param('time', $event->timestart, '%Y');
|
||||
|
||||
// If confirm is set (PARAM_BOOL) then we have confirmation of initention to delete
|
||||
if ($confirm) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue