diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-04-29 08:14:25 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-04-29 08:14:25 -0300 |
commit | 0f65d53e4db3a405a437b29c6538330b9c98ca76 (patch) | |
tree | db0685d0cff07a4e8fac7bb95d2aa968160bb355 /usr | |
parent | 5a5fcf021d702e97ee12ec90f3e79fa2b414dd35 (diff) | |
parent | bae53989526a899a8b39853980c49775ea7fe97a (diff) | |
download | pfsense-0f65d53e4db3a405a437b29c6538330b9c98ca76.zip pfsense-0f65d53e4db3a405a437b29c6538330b9c98ca76.tar.gz |
Merge branch 'master' into gettext
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 5bbfadb..8bd7e49 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -677,15 +677,15 @@ include("head.inc"); <span class="red"><strong>NOTE: </strong></span> This is associated to a NAT rule.<br /> You cannot edit the source and destination of associated filter rules.<br /> <br /> - <?php + <?php $edit_disabled=true; if (is_array($config['nat']['rule'])) { - foreach( $config['nat']['rule'] as $index => $nat_rule ) { - if( $nat_rule['associated-rule-id']==$pconfig['associated-rule-id']) { - echo "<a href=\"firewall_nat_edit.php?id={$nat_rule[$index]}\">View the NAT rule</a><br>"; - break; + foreach( $config['nat']['rule'] as $index => $nat_rule ) { + if( $nat_rule['associated-rule-id']==$pconfig['associated-rule-id']) { + echo "<a href=\"firewall_nat_edit.php?id={$nat_rule[$index]}\">View the NAT rule</a><br>"; + break; } - } + } } ?> <br /> |