From c3cbe91eedc7b0f2f5a0948d359cca45fc06d212 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 5 Jul 2013 08:54:56 -0300 Subject: [PATCH] Fix whitespaces --- usr/local/www/system_advanced_firewall.php | 52 +++++++++++----------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/usr/local/www/system_advanced_firewall.php b/usr/local/www/system_advanced_firewall.php index f4ea44af4c..2b341ee023 100644 --- a/usr/local/www/system_advanced_firewall.php +++ b/usr/local/www/system_advanced_firewall.php @@ -105,8 +105,8 @@ if ($_POST) { $input_errors[] = gettext("The Reflection timeout must be an integer."); } - ob_flush(); - flush(); + ob_flush(); + flush(); if (!$input_errors) { @@ -130,18 +130,18 @@ if ($_POST) { unset($config['system']['scrubnodf']); if($_POST['scrubrnid'] == "yes") - $config['system']['scrubrnid'] = "enabled"; - else - unset($config['system']['scrubrnid']); + $config['system']['scrubrnid'] = "enabled"; + else + unset($config['system']['scrubrnid']); if (!empty($_POST['adaptiveend'])) $config['system']['adaptiveend'] = $_POST['adaptiveend']; - else - unset($config['system']['adaptiveend']); + else + unset($config['system']['adaptiveend']); if (!empty($_POST['adaptivestart'])) $config['system']['adaptivestart'] = $_POST['adaptivestart']; - else - unset($config['system']['adaptivestart']); + else + unset($config['system']['adaptivestart']); $config['system']['optimization'] = $_POST['optimization']; $config['system']['maximumstates'] = $_POST['maximumstates']; @@ -166,14 +166,14 @@ if ($_POST) { unset($config['system']['enablebinatreflection']); if($_POST['disablereplyto'] == "yes") - $config['system']['disablereplyto'] = $_POST['disablereplyto']; - else - unset($config['system']['disablereplyto']); + $config['system']['disablereplyto'] = $_POST['disablereplyto']; + else + unset($config['system']['disablereplyto']); if($_POST['disablenegate'] == "yes") - $config['system']['disablenegate'] = $_POST['disablenegate']; - else - unset($config['system']['disablenegate']); + $config['system']['disablenegate'] = $_POST['disablenegate']; + else + unset($config['system']['disablenegate']); if($_POST['enablenatreflectionhelper'] == "yes") $config['system']['enablenatreflectionhelper'] = "yes"; @@ -196,7 +196,7 @@ if ($_POST) { $config['system']['tftpinterface'] = implode(",", $_POST['tftpinterface']); else unset($config['system']['tftpinterface']); - + if ($_POST['bogonsinterval'] != $config['system']['bogons']['interval']) { switch ($_POST['bogonsinterval']) { case 'daily': @@ -212,7 +212,7 @@ if ($_POST) { } $config['system']['bogons']['interval'] = $_POST['bogonsinterval']; } - + write_config(); // Kill filterdns when value changes, filter_configure() will restart it @@ -223,9 +223,9 @@ if ($_POST) { $retval = 0; $retval = filter_configure(); if(stristr($retval, "error") <> true) - $savemsg = get_std_save_message($retval); + $savemsg = get_std_save_message($retval); else - $savemsg = $retval; + $savemsg = $retval; } } @@ -247,7 +247,7 @@ descs[2]=""; function update_description(itemnum) { - document.forms[0].info.value=descs[itemnum]; + document.forms[0].info.value=descs[itemnum]; } @@ -360,7 +360,7 @@ function update_description(itemnum) {

- +

@@ -416,7 +416,7 @@ function update_description(itemnum) {

@@ -427,7 +427,7 @@ function update_description(itemnum) { />
- + @@ -443,7 +443,7 @@ function update_description(itemnum) { - Disable Negate rules + Disable Negate rules /> @@ -467,7 +467,7 @@ function update_description(itemnum) { - + @@ -486,7 +486,7 @@ function update_description(itemnum) { 1): ?> - +