summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_halt.php
diff options
context:
space:
mode:
authork-paulius <k.dash.paulius@gmail.com>2016-02-13 16:22:44 -0600
committerStephen Beaver <sbeaver@netgate.com>2016-02-14 15:09:54 -0500
commit7c945f74712d3c2ef8d1beee65b881cfcf80e6bd (patch)
tree1664e15a5b3e1202bf87ebcc62f538005d6f42c3 /src/usr/local/www/diag_halt.php
parentb290833b28c3083a7cb5c8b3ec5060620274e2b9 (diff)
downloadpfsense-7c945f74712d3c2ef8d1beee65b881cfcf80e6bd.zip
pfsense-7c945f74712d3c2ef8d1beee65b881cfcf80e6bd.tar.gz
Use print_info_box() to generate alerts
Diffstat (limited to 'src/usr/local/www/diag_halt.php')
-rwxr-xr-xsrc/usr/local/www/diag_halt.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/usr/local/www/diag_halt.php b/src/usr/local/www/diag_halt.php
index c2b5236..848d96b 100755
--- a/src/usr/local/www/diag_halt.php
+++ b/src/usr/local/www/diag_halt.php
@@ -81,11 +81,9 @@ include('head.inc');
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
?>
<meta http-equiv="refresh" content="70;url=/">
- <div class="alert alert-success" role="alert">
- <?=gettext("The system is halting now. This may take one minute or so.")?>
- </div>
-
<?php
+ print_info_box(gettext("The system is halting now. This may take one minute or so."), 'success', false);
+
if (DEBUG) {
print(sprintf(gettext("Not actually halting (DEBUG is set true)%s"), "<br />"));
} else {
OpenPOWER on IntegriCloud