From 7bf3b8a0d4003c614586eb0d75485ba089b9e75f Mon Sep 17 00:00:00 2001 From: k-paulius Date: Sat, 13 Feb 2016 16:22:44 -0600 Subject: Use print_info_box() to generate alerts --- src/usr/local/www/diag_dns.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr/local/www/diag_dns.php') 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'); -- cgit v1.1