summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_dns.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_dns.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_dns.php')
-rwxr-xr-xsrc/usr/local/www/diag_dns.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_dns.php b/src/usr/local/www/diag_dns.php
index 367d166..5be89d9 100755
--- a/src/usr/local/www/diag_dns.php
+++ b/src/usr/local/www/diag_dns.php
@@ -212,11 +212,11 @@ include("head.inc");
if ($input_errors) {
print_input_errors($input_errors);
} else if (!$resolved && $type) {
- print('<div class="alert alert-warning" role="alert">' . sprintf(gettext('Host "%s" could not be resolved'), $host) . '</div>');
+ print_info_box(sprintf(gettext('Host "%s" could not be resolved'), $host), 'warning', false);
}
if ($createdalias) {
- print('<div class="alert alert-success" role="alert">' . gettext("Alias was created/updated successfully") . '</div>');
+ print_info_box(gettext("Alias was created/updated successfully"), 'success', false);
}
$form = new Form('Lookup');
OpenPOWER on IntegriCloud