diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-13 16:22:44 -0600 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-14 15:09:54 -0500 |
commit | 7c945f74712d3c2ef8d1beee65b881cfcf80e6bd (patch) | |
tree | 1664e15a5b3e1202bf87ebcc62f538005d6f42c3 /src/usr/local/www/diag_tables.php | |
parent | b290833b28c3083a7cb5c8b3ec5060620274e2b9 (diff) | |
download | pfsense-7c945f74712d3c2ef8d1beee65b881cfcf80e6bd.zip pfsense-7c945f74712d3c2ef8d1beee65b881cfcf80e6bd.tar.gz |
Use print_info_box() to generate alerts
Diffstat (limited to 'src/usr/local/www/diag_tables.php')
-rw-r--r-- | src/usr/local/www/diag_tables.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/usr/local/www/diag_tables.php b/src/usr/local/www/diag_tables.php index 00d0d88..d34d57c 100644 --- a/src/usr/local/www/diag_tables.php +++ b/src/usr/local/www/diag_tables.php @@ -241,10 +241,8 @@ events.push(function() { </div> </div> -<?php if (empty($entries)): ?> - <div class="alert alert-warning" role="alert"><?=gettext("No entries exist in this table")?></div> -<?php endif ?> - <?php - +if (empty($entries)) { + print_info_box(gettext("No entries exist in this table"), 'warning', false); +} include("foot.inc"); |