. /** * A one column 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(); require_once($CFG->libdir . '/../config.php'); $bodyattributes = $OUTPUT->body_attributes([]); $templatecontext = [ 'sitename' => format_string($SITE->shortname, true, ['context' => context_course::instance(SITEID), "escape" => false]), 'output' => $OUTPUT, 'favicon' => $OUTPUT->image_url('favicon', 'theme'), 'bodyattributes' => $bodyattributes, 'moodle_url' => $CFG->wwwroot ]; echo $OUTPUT->render_from_template('theme_ilb/head', $templatecontext);