add_block(new Block("Downtime", "
DOWNTIME MODE IS ON!
", "left", 0)); } /** * Display $message and exit * * @param string $message */ public function display_message(/*string*/ $message) { global $config, $user, $page; $theme_name = $config->get_string('theme'); $data_href = get_base_href(); $login_link = make_link("user_admin/login"); $auth = $user->get_auth_html(); $page->set_mode('data'); $page->set_code(503); $page->set_data(<< Downtime

Down for Maintenance

$message

Admin Login

$auth
EOD ); } }