summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_interfaces.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/status_interfaces.php
parentb290833b28c3083a7cb5c8b3ec5060620274e2b9 (diff)
downloadpfsense-7c945f74712d3c2ef8d1beee65b881cfcf80e6bd.zip
pfsense-7c945f74712d3c2ef8d1beee65b881cfcf80e6bd.tar.gz
Use print_info_box() to generate alerts
Diffstat (limited to 'src/usr/local/www/status_interfaces.php')
-rw-r--r--src/usr/local/www/status_interfaces.php17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/usr/local/www/status_interfaces.php b/src/usr/local/www/status_interfaces.php
index 3d19bac..227933b 100644
--- a/src/usr/local/www/status_interfaces.php
+++ b/src/usr/local/www/status_interfaces.php
@@ -207,14 +207,11 @@ foreach ($ifdescrs as $ifdescr => $ifname):
<?php
endforeach;
-?>
-
-<div class="alert alert-warning" role="alert">
- <?=gettext("Using dial-on-demand will bring the connection up again if any packet ".
- "triggers it. To substantiate this point: disconnecting manually ".
- "will <strong>not</strong> prevent dial-on-demand from making connections ".
- "to the outside! Don't use dial-on-demand if you want to make sure that the line ".
- "is kept disconnected.");?>
-</div>
-<?php include("foot.inc"); ?>
+print_info_box(gettext("Using dial-on-demand will bring the connection up again if any packet ".
+ "triggers it. To substantiate this point: disconnecting manually ".
+ "will <strong>not</strong> prevent dial-on-demand from making connections ".
+ "to the outside! Don't use dial-on-demand if you want to make sure that the line ".
+ "is kept disconnected."), 'warning', false);
+include("foot.inc");
+?>
OpenPOWER on IntegriCloud