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:13:38 -0500
commit7bf3b8a0d4003c614586eb0d75485ba089b9e75f (patch)
tree0f5680309734e15bc5ab9d0200d001a3340151a8 /src/usr/local/www/diag_dns.php
parentf4bed461c198b2cd446e60fc6fda1a76ebebb597 (diff)
downloadpfsense-7bf3b8a0d4003c614586eb0d75485ba089b9e75f.zip
pfsense-7bf3b8a0d4003c614586eb0d75485ba089b9e75f.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 e74ebba..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_info_box(sprintf(gettext('Host "%s" could not be resolved.'), $host), 'warning', false);
+ print_info_box(sprintf(gettext('Host "%s" could not be resolved'), $host), 'warning', false);
}
if ($createdalias) {
- print_info_box(gettext("Alias was created/updated successfully."), 'success', false);
+ print_info_box(gettext("Alias was created/updated successfully"), 'success', false);
}
$form = new Form('Lookup');
OpenPOWER on IntegriCloud