diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-11 22:49:01 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-11 22:49:01 -0600 |
commit | 6073ef320e964affc209d9df65d42d48a2cbd102 (patch) | |
tree | aa39e9d29cdf1f2fba985b34ef25078a0fdbd0f8 | |
parent | ddc55e124418ff8b417a4353afcc5a814af4041d (diff) | |
download | pfsense-6073ef320e964affc209d9df65d42d48a2cbd102.zip pfsense-6073ef320e964affc209d9df65d42d48a2cbd102.tar.gz |
Fix text for a couple advanced options on filter rule list.
-rwxr-xr-x | usr/local/www/firewall_rules.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php index d8385f0..472f100 100755 --- a/usr/local/www/firewall_rules.php +++ b/usr/local/www/firewall_rules.php @@ -51,7 +51,7 @@ require_once("shaper.inc"); $pgtitle = array(gettext("Firewall"),gettext("Rules")); -function check_for_advaned_options(&$item) { +function check_for_advanced_options(&$item) { $item_set = ""; if($item['max']) $item_set .= "max {$item['max']} "; @@ -62,9 +62,9 @@ function check_for_advaned_options(&$item) { if($item['max-src-states']) $item_set .= "max-src-states {$item['max-src-states']} "; if($item['statetype'] != "keep state" && $item['statetype'] != "") - $item_set .= "statetype {$item['statetype']} {$item['statetype']}"; + $item_set .= "statetype {$item['statetype']} "; if($item['statetimeout']) - $item_set .= "statetimeout {$item['statetimeout']}"; + $item_set .= "statetimeout {$item['statetimeout']} "; if($item['nosync']) $item_set .= "nosync "; if($item['max-src-conn-rate']) @@ -436,7 +436,7 @@ if($_REQUEST['undodrag']) { continue; if (isset($filterent['floating']) && "FloatingRules" != $if) continue; - $isadvset = check_for_advaned_options($filterent); + $isadvset = check_for_advanced_options($filterent); if($isadvset) $advanced_set = "<img src=\"./themes/{$g['theme']}/images/icons/icon_advanced.gif\" title=\"" . gettext("advanced settings set") . ": {$isadvset}\" border=\"0\">"; else |