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_shaper.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_shaper.php')
-rw-r--r-- | usr/local/www/firewall_shaper.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php index 043200b..7b8f489 100644 --- a/usr/local/www/firewall_shaper.php +++ b/usr/local/www/firewall_shaper.php @@ -52,7 +52,7 @@ if ($_GET['reset'] <> "") { exit; } -$pgtitle = array(gettext("Firewall"),gettext("Traffic Shaper")); +$pgtitle = array(gettext("Firewall"), gettext("Traffic Shaper")); $shortcut_section = "trafficshaper"; $shaperIFlist = get_configured_interface_with_descr(); @@ -163,7 +163,7 @@ if ($_GET) { $q = new cbq_queue(); break; default: - /* XXX: Happens when sched==NONE?! */ + /* XXX: Happens when sched == NONE?! */ $q = new altq_root_queue(); break; } @@ -194,8 +194,9 @@ if ($_GET) { if ($queue) { $queue->SetEnabled("on"); $output_form .= $queue->build_form(); - if (write_config()) + if (write_config()) { mark_subsystem_dirty('shaper'); + } } else { $input_errors[] = gettext("Queue not found!"); } @@ -333,7 +334,7 @@ if ($_GET) { } read_altq_config(); $output_form .= $queue->build_form(); - } else { + } else { $output_form .= $default_shaper_msg; $dontshow = true; } @@ -405,7 +406,7 @@ if (!$dontshow || $newqueue) { $output_form .= "</table>"; } -$output = "<table summary=\"output form\">"; +$output = "<table summary=\"output form\">"; $output .= $output_form; //$pgtitle = "Firewall: Shaper: By Interface View"; |