diff options
author | Phil Davis <phil.davis@inf.org> | 2015-06-15 14:19:11 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-06-15 14:19:11 +0545 |
commit | 6c07db487164262f9191ad02805523bd153e0ba6 (patch) | |
tree | 0c266356179ac730233a16c0e3767a0c22514c4d /usr/local/www/firewall_aliases_import.php | |
parent | 67d9685607eef7c679fda929ad4855be1b2f9dec (diff) | |
download | pfsense-6c07db487164262f9191ad02805523bd153e0ba6.zip pfsense-6c07db487164262f9191ad02805523bd153e0ba6.tar.gz |
Code spacing
and other random stuff I noticed.
I think this finishes messing with code style. The codebase should match
the developer style guide closely enough that 99.9% of changes will not
feel the need to also massage the formatting.
Diffstat (limited to 'usr/local/www/firewall_aliases_import.php')
-rwxr-xr-x | usr/local/www/firewall_aliases_import.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/firewall_aliases_import.php b/usr/local/www/firewall_aliases_import.php index 5660717..09a2b79 100755 --- a/usr/local/www/firewall_aliases_import.php +++ b/usr/local/www/firewall_aliases_import.php @@ -47,7 +47,7 @@ require_once("util.inc"); require_once("filter.inc"); require("shaper.inc"); -$pgtitle = array(gettext("Firewall"),gettext("Aliases"),gettext("Bulk import")); +$pgtitle = array(gettext("Firewall"), gettext("Aliases"), gettext("Bulk import")); $referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/firewall_aliases.php'); @@ -68,7 +68,7 @@ $a_aliases = &$config['aliases']['alias']; if ($_POST['aliasimport'] <> "") { $reqdfields = explode(" ", "name aliasimport"); - $reqdfieldsn = array(gettext("Name"),gettext("Aliases")); + $reqdfieldsn = array(gettext("Name"), gettext("Aliases")); do_input_validation($_POST, $reqdfields, $reqdfieldsn, $input_errors); @@ -104,7 +104,7 @@ if ($_POST['aliasimport'] <> "") { $desc_len_err_found = false; $desc_fmt_err_found = false; foreach ($tocheck as $impline) { - $implinea = explode(" ",trim($impline),2); + $implinea = explode(" ", trim($impline), 2); $impip = $implinea[0]; $impdesc = trim($implinea[1]); if (strlen($impdesc) < 200) { |