mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 10:18:06 +02:00
Issue #13 - Removed continue button from info page. Link to outage in warning bar opens in new tab.
This commit is contained in:
1 parent
a4de5d6bf1
commit
54e6c40565
3 files changed
+3
-51
No files matched your search
@@ -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();
|
||||
Reference in new issue
Block a user