diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-07-05 09:08:36 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-07-05 09:09:01 -0300 |
commit | 277fd8db2b997e37bf5faaffcb9468a4f0ea4fce (patch) | |
tree | 8651924c8f4161eb3fe1be9e526f7aa3ca207761 /usr | |
parent | c3cbe91eedc7b0f2f5a0948d359cca45fc06d212 (diff) | |
download | pfsense-277fd8db2b997e37bf5faaffcb9468a4f0ea4fce.zip pfsense-277fd8db2b997e37bf5faaffcb9468a4f0ea4fce.tar.gz |
Fix whitespaces
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/system_advanced_network.php | 32 |
1 files changed, 16 insertions, 16 deletions
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); ?> </td> @@ -193,7 +193,7 @@ function enable_change(enable_over) { <td id="mainarea"> <div class="tabcont"> <span class="vexpl"> - <span class="red"> + <span class="red"> <strong><?=gettext("NOTE:"); ?> </strong> </span> <?=gettext("The options on this page are intended for use by advanced users only."); ?> @@ -274,7 +274,7 @@ function enable_change(enable_over) { <?=gettext("This option will suppress ARP log messages when multiple interfaces reside on the same broadcast domain"); ?> </td> </tr> -<?php +<?php /* $version = get_freebsd_version(); if($version == "8"): @@ -290,8 +290,8 @@ function enable_change(enable_over) { <td width="78%" class="vtable"> <input name="flowtable" type="checkbox" id="polling_enable" value="yes" <?php if ($pconfig['flowtable']) echo "checked=\"checked\""; ?> /> <strong>Enable flowtable support</strong><br /> - 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.<br/> + 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.<br/> </td> </tr> <?php endif; ?> @@ -299,7 +299,7 @@ function enable_change(enable_over) { ?> <tr> <td colspan="2" class="list" height="12"> </td> - </tr> + </tr> <tr> <td width="22%" valign="top"> </td> <td width="78%"><input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" /></td> |