From 6475ac056d7de9881d2e786a09e2e1fb7129b2ec Mon Sep 17 00:00:00 2001 From: Vinicius Coque Date: Tue, 29 Jun 2010 20:38:11 -0300 Subject: Fixing syntax errors --- usr/local/www/diag_showbogons.php | 2 +- usr/local/www/diag_traceroute.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'usr') diff --git a/usr/local/www/diag_showbogons.php b/usr/local/www/diag_showbogons.php index ed93403..4c2464e 100644 --- a/usr/local/www/diag_showbogons.php +++ b/usr/local/www/diag_showbogons.php @@ -59,7 +59,7 @@ if($_POST['Download']) { } $bogons = file_get_contents(trim("/etc/bogons")); -$pgtitle = array(gettext("Diagnostics:")gettext("Show Bogons")); +$pgtitle = array(gettext("Diagnostics:"),gettext("Show Bogons")); include("head.inc"); ?> diff --git a/usr/local/www/diag_traceroute.php b/usr/local/www/diag_traceroute.php index 75ffadf..8012ae3 100755 --- a/usr/local/www/diag_traceroute.php +++ b/usr/local/www/diag_traceroute.php @@ -63,7 +63,7 @@ if ($_POST || $_REQUEST['host']) { do_input_validation($_REQUEST, $reqdfields, $reqdfieldsn, &$input_errors); if (($_REQUEST['ttl'] < 1) || ($_REQUEST['ttl'] > MAX_TTL)) { - $input_errors[] = sprintf(gettext("Maximum number of hops must be between 1 and '%s'", MAX_TLL); + $input_errors[] = sprintf(gettext("Maximum number of hops must be between 1 and '%s'"), MAX_TLL); } if (!$input_errors) { -- cgit v1.1