From ae6d944406d1156b6d412d5355890c40a1b4bff5 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 5 Jul 2013 09:08:36 -0300 Subject: Fix whitespaces --- usr/local/www/system_advanced_network.php | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'usr/local/www/system_advanced_network.php') diff --git a/usr/local/www/system_advanced_network.php b/usr/local/www/system_advanced_network.php index 6e7f99c..4441425 100644 --- a/usr/local/www/system_advanced_network.php +++ b/usr/local/www/system_advanced_network.php @@ -61,14 +61,14 @@ $pconfig['flowtable'] = isset($config['system']['flowtable']); if ($_POST) { - unset($input_errors); - $pconfig = $_POST; + unset($input_errors); + $pconfig = $_POST; if ($_POST['ipv6nat_enable'] && !is_ipaddr($_POST['ipv6nat_ipaddr'])) $input_errors[] = gettext("You must specify an IP address to NAT IPv6 packets."); - ob_flush(); - flush(); + ob_flush(); + flush(); if (!$input_errors) { if($_POST['ipv6nat_enable'] == "yes") { @@ -78,15 +78,15 @@ if ($_POST) { if($config['diag']) { if($config['diag']['ipv6nat']) { unset($config['diag']['ipv6nat']['enable']); - unset($config['diag']['ipv6nat']['ipaddr']); + unset($config['diag']['ipv6nat']['ipaddr']); } } } - + if($_POST['ipv6allow'] == "yes") { - $config['system']['ipv6allow'] = true; + $config['system']['ipv6allow'] = true; } else { - unset($config['system']['ipv6allow']); + unset($config['system']['ipv6allow']); } if($_POST['sharednet'] == "yes") { @@ -139,9 +139,9 @@ if ($_POST) { $retval = filter_configure(); if(stristr($retval, "error") <> true) - $savemsg = get_std_save_message(gettext($retval)); + $savemsg = get_std_save_message(gettext($retval)); else - $savemsg = gettext($retval); + $savemsg = gettext($retval); } } @@ -184,7 +184,7 @@ function enable_change(enable_over) { $tab_array[] = array(gettext("Networking"), true, "system_advanced_network.php"); $tab_array[] = array(gettext("Miscellaneous"), false, "system_advanced_misc.php"); $tab_array[] = array(gettext("System Tunables"), false, "system_advanced_sysctl.php"); - $tab_array[] = array(gettext("Notifications"), false, "system_advanced_notifications.php"); + $tab_array[] = array(gettext("Notifications"), false, "system_advanced_notifications.php"); display_top_tabs($tab_array); ?> @@ -193,7 +193,7 @@ function enable_change(enable_over) {
- +   @@ -274,7 +274,7 @@ function enable_change(enable_over) { - /> Enable flowtable support
- Enables infrastructure for caching flows as a means of accelerating L3 and L2 lookups - as well as providing stateful load balancing when used with RADIX_MPATH.
+ Enables infrastructure for caching flows as a means of accelerating L3 and L2 lookups + as well as providing stateful load balancing when used with RADIX_MPATH.
@@ -299,7 +299,7 @@ function enable_change(enable_over) { ?>   - +   " /> -- cgit v1.1