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); $custommenu = $OUTPUT->custom_menu(); $hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu)); splash_check_colourswitch(); splash_initialise_colourswitcher($PAGE); $bodyclasses = array(); $bodyclasses[] = 'splash-'.splash_get_colour(); if ($hassidepre && !$hassidepost) { $bodyclasses[] = 'side-pre-only'; } else if ($hassidepost && !$hassidepre) { $bodyclasses[] = 'side-post-only'; } else if (!$hassidepost && !$hassidepre) { $bodyclasses[] = 'content-only'; } $haslogo = (!empty($PAGE->theme->settings->logo)); $hasfootnote = (!empty($PAGE->theme->settings->footnote)); $hidetagline = (!empty($PAGE->theme->settings->hide_tagline) && $PAGE->theme->settings->hide_tagline == 1); if (!empty($PAGE->theme->settings->tagline)) { $tagline = $PAGE->theme->settings->tagline; } else { $tagline = get_string('defaulttagline', 'theme_splash'); } echo $OUTPUT->doctype() ?> htmlattributes() ?>> <?php echo $PAGE->title ?> standard_head_html() ?> standard_top_of_body_html() ?>
main_content() ?>
blocks_for_region('side-pre') ?>
blocks_for_region('side-post') ?>
standard_end_of_body_html() ?>