diff --git a/theme/canvas/layout/frontpage.php b/theme/canvas/layout/frontpage.php index 4426b4fbdf4..bf4ae45fa0a 100644 --- a/theme/canvas/layout/frontpage.php +++ b/theme/canvas/layout/frontpage.php @@ -1,5 +1,8 @@ heading); +$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); +$hasfooter = (empty($PAGE->layout_options['nofooter'])); $hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); $hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); @@ -26,77 +29,82 @@ echo $OUTPUT->doctype() ?>