add_block(new Block(
"Downtime",
"DOWNTIME MODE IS ON!",
"left",
0
));
}
/**
* Display $message and exit
*/
public function display_message(string $message): void
{
global $config, $user, $page;
$theme_name = $config->get_string(SetupConfig::THEME);
$data_href = get_base_href();
$login_link = make_link("user_admin/login");
$auth = $user->get_auth_html();
$page->set_mode(PageMode::DATA);
$page->set_code(503);
$page->set_data(
<<
Downtime
Down for Maintenance
$message