Issue #22 - Split maintenance.php into preview.php and file.php

This commit is contained in:
Daniel Thee Roperto
2016-11-09 16:21:46 +11:00
parent afd17994fe
commit ce2da24b1b
5 changed files with 112 additions and 85 deletions

View File

@@ -58,7 +58,7 @@ if ($viewbag['admin']) {
get_string('infohidewarning', 'auth_outage')
);
$adminlinks[] = html_writer::link(
new moodle_url('/auth/outage/maintenance.php', ['debug' => '', 'id' => $viewbag['outage']->id]),
new moodle_url('/auth/outage/preview.php', ['id' => $viewbag['outage']->id]),
get_string('infostaticpage', 'auth_outage')
);