From 63b66cf27608e6f23ba92da014370cf3f02e2c44 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Thu, 26 Sep 2013 11:57:21 +0800 Subject: [PATCH] MDL-41995 calendar: moved the location the page layout was set for the export page This was done so that the blocks are shown when logged in and viewing this page. --- calendar/export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/export.php b/calendar/export.php index 5d72d2a3027..f638afe5721 100644 --- a/calendar/export.php +++ b/calendar/export.php @@ -106,8 +106,8 @@ $PAGE->navbar->add($pagetitle); $PAGE->set_title($course->shortname.': '.get_string('calendar', 'calendar').': '.$pagetitle); $PAGE->set_heading($course->fullname); -$PAGE->set_button(calendar_preferences_button($course)); $PAGE->set_pagelayout('standard'); +$PAGE->set_button(calendar_preferences_button($course)); $renderer = $PAGE->get_renderer('core_calendar'); $calendar->add_sidecalendar_blocks($renderer);