From c646776871dacebcaa4225b083aa0789dc0bfba6 Mon Sep 17 00:00:00 2001 From: "Luiz Gustavo S. Costa" Date: Mon, 21 Feb 2011 23:43:46 -0300 Subject: Add Global reply-to disable checkbox, resolves the issue #1137 --- usr/local/www/system_advanced_firewall.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'usr/local/www') diff --git a/usr/local/www/system_advanced_firewall.php b/usr/local/www/system_advanced_firewall.php index 38d12c1..d87bb64 100644 --- a/usr/local/www/system_advanced_firewall.php +++ b/usr/local/www/system_advanced_firewall.php @@ -56,6 +56,7 @@ $pconfig['tcpidletimeout'] = $config['filter']['tcpidletimeout']; $pconfig['optimization'] = $config['filter']['optimization']; $pconfig['maximumstates'] = $config['system']['maximumstates']; $pconfig['maximumtableentries'] = $config['system']['maximumtableentries']; +$pconfig['disablereplyto'] = isset($config['system']['disablereplyto']); $pconfig['disablenatreflection'] = $config['system']['disablenatreflection']; if (!isset($config['system']['enablebinatreflection'])) $pconfig['disablebinatreflection'] = "yes"; @@ -124,6 +125,13 @@ if ($_POST) { else $config['system']['enablebinatreflection'] = "yes"; + if($_POST['disablereplyto'] == "yes") { + $config['system']['disablereplyto'] = $_POST['disablereplyto']; + } else { + unset($config['system']['disablereplyto']); + } + + if($_POST['enablenatreflectionhelper'] == "yes") $config['system']['enablenatreflectionhelper'] = "yes"; else @@ -325,6 +333,18 @@ function update_description(itemnum) { + Disable reply-to + + /> + +
+ +
+ + + +   1): ?> -- cgit v1.1