summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_tables.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-08-07 09:17:55 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-08-07 09:17:55 -0300
commite166769ca7569f7376a64f6db0cd67e90a0c39ad (patch)
tree72faf64cdff32a4fe3b8afd616ebe4cd5fc61f01 /usr/local/www/diag_tables.php
parent92e8cb11aba7ec642329801759a806a6ddf1e7f6 (diff)
downloadpfsense-e166769ca7569f7376a64f6db0cd67e90a0c39ad.zip
pfsense-e166769ca7569f7376a64f6db0cd67e90a0c39ad.tar.gz
Fix whitespaces
Diffstat (limited to 'usr/local/www/diag_tables.php')
-rw-r--r--usr/local/www/diag_tables.php16
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.") . "&nbsp&nbsp" . "<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/>&nbsp<b>$count</b> " . gettext("entries in this table.") . "&nbsp&nbsp" . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.") . "<br>" . "$last_updated";
}
OpenPOWER on IntegriCloud