. /** * A maintenance layout for the moove theme. * * @package theme_moove * @copyright 2017 Willian Mano - http://conecti.me * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); $bodyattributes = $OUTPUT->body_attributes(); $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]), 'bodyattributes' => $bodyattributes, 'output' => $OUTPUT ]; echo $OUTPUT->render_from_template('theme_moove/maintenance', $templatecontext);