add_block(new Block("Downtime", "
DOWNTIME MODE IS ON!
", "left", 0)); } /** * Display $message and exit */ public function display_message(/*string*/ $message) { global $config, $user; $theme_name = $config->get_string('theme'); $data_href = get_base_href(); $login_link = make_link("user_admin/login"); header("HTTP/1.0 503 Service Temporarily Unavailable"); $auth = $user->get_auth_html(); print << Downtime

Down for Maintenance

$message

Admin Login

$auth
EOD; } } ?>