. defined('MOODLE_INTERNAL') || die(); /** * A login page layout for the boost theme. * * @package theme_boost * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $bodyattributes = $OUTPUT->body_attributes(); $templatecontext = [ 'sitename' => format_string($SITE->shortname, true, ['context' => context_course::instance(SITEID), "escape" => false]), 'output' => $OUTPUT, 'bodyattributes' => $bodyattributes ]; echo $OUTPUT->render_from_template('theme_space/login', $templatecontext);