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/interfaces_groups_edit.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/interfaces_groups_edit.php')
-rw-r--r-- | usr/local/www/interfaces_groups_edit.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_groups_edit.php b/usr/local/www/interfaces_groups_edit.php index 916b7c1..22b8567 100644 --- a/usr/local/www/interfaces_groups_edit.php +++ b/usr/local/www/interfaces_groups_edit.php @@ -44,7 +44,7 @@ require("guiconfig.inc"); require_once("functions.inc"); -$pgtitle = array(gettext("Interfaces"),gettext("Groups"),gettext("Edit")); +$pgtitle = array(gettext("Interfaces"), gettext("Groups"), gettext("Edit")); $shortcut_section = "interfaces"; if (!is_array($config['ifgroups']['ifgroupentry'])) { @@ -93,7 +93,7 @@ if ($_POST) { $members = ""; $isfirst = 0; /* item is a normal ifgroupentry type */ - for ($x=0; $x<9999; $x++) { + for ($x = 0; $x < 9999; $x++) { if ($_POST["members{$x}"] <> "") { if ($isfirst > 0) { $members .= " "; @@ -318,10 +318,11 @@ function removeRow(el) { } if ($found === false) { - foreach ($iflist_disabled as $ifnam => $ifdescr) + foreach ($iflist_disabled as $ifnam => $ifdescr) { if ($ifnam == $members) { echo "<option value=\"{$ifnam}\" selected=\"selected\">{$ifdescr}</option>"; } + } } ?> </select> |