main_content() ?>
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); $bodyclasses = array(); if ($hassidepre && !$hassidepost) { $bodyclasses[] = 'side-pre-only'; } else if ($hassidepost && !$hassidepre) { $bodyclasses[] = 'side-post-only'; } else if (!$hassidepost && !$hassidepre) { $bodyclasses[] = 'content-only'; } echo $OUTPUT->doctype() ?> htmlattributes() ?>>