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 committed 2016-09-08 14:43:45 +10:00
1 parent a4de5d6bf1
commit 54e6c40565
3 files changed
+3 -51

No files matched your search

-7
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();