* @author G J Barnard - gjbarnard at gmail dot com and {@link http://moodle.org/user/profile.php?id=442195} * @author Based on code originally written by Bas Brands, David Scotson and many other contributors. * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once \theme_shoehorn\toolbox::get_tile_file('additionaljs'); if (!$PAGE->user_is_editing()) { $hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); $hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT); } else { $hassidepre = $PAGE->blocks->is_known_region('side-pre'); $hassidepost = $PAGE->blocks->is_known_region('side-post'); } $PAGE->set_popup_notification_allowed(false); $regions = \theme_shoehorn\toolbox::grid($hassidepre, $hassidepost); $settingshtml = \theme_shoehorn\toolbox::html_for_settings(); $showslider = \theme_shoehorn\toolbox::showslider(); echo $OUTPUT->doctype(); ?> <html <?php echo $OUTPUT->htmlattributes(); ?> > <?php require_once \theme_shoehorn\toolbox::get_tile_file('header'); ?> <body <?php echo $OUTPUT->body_attributes($settingshtml->additionalbodyclasses); ?> >