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->footertext)) { $footnote = $PAGE->theme->settings->footertext; } else { $footnote = ''; } echo $OUTPUT->doctype() ?> htmlattributes() ?>> <?php echo $PAGE->title ?> standard_head_html() ?> standard_top_of_body_html() ?>

heading ?>

main_content() ?>
blocks_for_region('side-post') ?>
standard_end_of_body_html() ?>