Issue #9 - Improving frontend.

This commit is contained in:
Daniel Thee Roperto
2016-09-06 19:51:47 +10:00
parent 180b30fe8c
commit 9344b57eff
5 changed files with 47 additions and 10 deletions

View File

@@ -69,8 +69,10 @@ class outagelib {
return;
}
$PAGE->add_body_class('auth_outage_active');
$CFG->additionalhtmltopofbody .= self::get_renderer()->renderbar($active);
// FIXME Code below is raising error at http://moodle.test/my/ for example.
// $PAGE->add_body_class('auth_outage_active');
$CFG->additionalhtmltopofbody = self::get_renderer()->renderbar($active)
. $CFG->additionalhtmltopofbody;
}
/**