mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-15700 Merged from 1.9 Tidied up the maintenance mode display to users
This commit is contained in:
parent
a9b0f17a3d
commit
771fea0b08
1 changed files with 3 additions and 2 deletions
|
@ -6648,11 +6648,12 @@ function page_id_and_class(&$getid, &$getclass) {
|
||||||
function print_maintenance_message () {
|
function print_maintenance_message () {
|
||||||
global $CFG, $SITE;
|
global $CFG, $SITE;
|
||||||
|
|
||||||
|
$CFG->pagepath = "index.php";
|
||||||
print_header(strip_tags($SITE->fullname), $SITE->fullname, 'home');
|
print_header(strip_tags($SITE->fullname), $SITE->fullname, 'home');
|
||||||
print_simple_box_start('center');
|
print_box_start();
|
||||||
print_heading(get_string('sitemaintenance', 'admin'));
|
print_heading(get_string('sitemaintenance', 'admin'));
|
||||||
@include($CFG->dataroot.'/1/maintenance.html');
|
@include($CFG->dataroot.'/1/maintenance.html');
|
||||||
print_simple_box_end();
|
print_box_end();
|
||||||
print_footer();
|
print_footer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue