diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-08-07 09:17:55 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-08-07 09:43:48 -0300 |
commit | ed0f54e37e451c15260bd18a4f4e82adecb46584 (patch) | |
tree | ea7266c36400888015285cc88fdfca5fb9e187d8 /usr | |
parent | b6d4c66630ce23affc3bf286bbc74fb88a9e0c16 (diff) | |
download | pfsense-ed0f54e37e451c15260bd18a4f4e82adecb46584.zip pfsense-ed0f54e37e451c15260bd18a4f4e82adecb46584.tar.gz |
Fix whitespaces
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/diag_tables.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/diag_tables.php b/usr/local/www/diag_tables.php index b256766..2930d6a 100644 --- a/usr/local/www/diag_tables.php +++ b/usr/local/www/diag_tables.php @@ -48,16 +48,16 @@ require_once("guiconfig.inc"); // Set default table $tablename = "sshlockout"; - -if($_REQUEST['type']) + +if($_REQUEST['type']) $tablename = $_REQUEST['type']; - + if($_REQUEST['delete']) { if(is_ipaddr($_REQUEST['delete']) || is_subnet($_REQUEST['delete'])) { exec("/sbin/pfctl -t " . escapeshellarg($_REQUEST['type']) . " -T delete " . escapeshellarg($_REQUEST['delete']), $delete); echo htmlentities($_REQUEST['delete']); } - exit; + exit; } if($_REQUEST['deleteall']) { @@ -114,8 +114,8 @@ include("fbegin.inc"); }); } </script> - -<?=gettext("Table:");?> + +<?=gettext("Table:");?> <select id='type' onChange='method_change(jQuery("#type").val());' name='type'> <?php foreach ($tables as $table) { echo "<option name='{$table}' value='{$table}'"; @@ -149,7 +149,7 @@ include("fbegin.inc"); <?php $count++; endforeach; ?> <?php if($count == 0) - if( ($tablename == "bogons") || ($tablename == "bogonsv6") ) + if( ($tablename == "bogons") || ($tablename == "bogonsv6") ) echo "<p/>" . gettext("No entries exist in this table.") . "  " . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data."); else echo "<p/>" . gettext("No entries exist in this table."); @@ -157,7 +157,7 @@ include("fbegin.inc"); <?php if($count > 0) - if( ($tablename == "bogons") || ($tablename == "bogonsv6") ) { + if( ($tablename == "bogons") || ($tablename == "bogonsv6") ) { $last_updated = exec('/usr/bin/grep -i -m 1 -E "^# last updated" /etc/' . escapeshellarg($tablename)); echo "<p/> <b>$count</b> " . gettext("entries in this table.") . "  " . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.") . "<br>" . "$last_updated"; } |