. /** * A maintenance layout for the ilb theme. * * @package theme_ilb * @copyright 2016 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); $templatecontext = [ // We cannot pass the context to format_string, this layout can be used during // installation. At that stage database tables do not exist yet. 'sitename' => format_string($SITE->shortname, true, ["escape" => false]), 'output' => $OUTPUT ]; echo $OUTPUT->render_from_template('theme_ilb/maintenance', $templatecontext);