Issue #13 - Removed continue button from info page. Link to outage in warning bar opens in new tab.

This commit is contained in:
Daniel Thee Roperto
2016-09-08 14:43:45 +10:00
parent a4de5d6bf1
commit 54e6c40565
3 changed files with 3 additions and 51 deletions

View File

@@ -38,15 +38,8 @@ $PAGE->set_title("Outage Warning");
$PAGE->set_heading("Outage Warning");
$PAGE->set_url(new \moodle_url('/auth/outage/info.php'));
$mform = new \auth_outage\forms\gohome();
if ($mform->get_data()) {
redirect(new moodle_url('/'));
}
echo $OUTPUT->header();
echo outagelib::get_renderer()->renderoutagepage($outage);
$mform->display();
echo $OUTPUT->footer();