. /** * This is the squared theme. * * The squared theme makes uses a custom version of squared blocks * * @package theme_squared * @copyright 2016 onwards Onlinecampus Virtuelle PH * www.virtuelle-ph.at, David Bogner www.edulabs.org * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die; $toolbox = \theme_squared\toolbox::get_instance(); $toolbox->default_ajax(); $hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT); $knownregionpre = $PAGE->blocks->is_known_region('side-pre'); $regions = theme_squared_grid($hassidepre); $PAGE->set_popup_notification_allowed(false); if ($knownregionpre) { theme_squared_initialise_zoom($PAGE); $setzoom = theme_squared_get_zoom(); } else { $setzoom = 'nozoom'; } $html = $PAGE->get_renderer('theme_squared', 'html'); echo $OUTPUT->doctype() ?> htmlattributes(); ?>>