heading); $hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar()); $hasfooter = (empty($PAGE->layout_options['nofooter'])); $hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); $showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); $custommenu = $OUTPUT->custom_menu(); $hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); $bodyclasses = array(); if ($showsidepost) { $bodyclasses[] = 'side-post-only'; } else if (!$showsidepost) { $bodyclasses[] = 'content-only'; } if ($hascustommenu) { $bodyclasses[] = 'has-custom-menu'; } if (!empty($PAGE->theme->settings->tagline)) { $tagline = '
'.$PAGE->theme->settings->tagline.'
'; } else { $tagline = ''; } if (!empty($PAGE->theme->settings->logo)) { $logourl = $PAGE->theme->settings->logo; } echo $OUTPUT->doctype() ?> htmlattributes() ?>>