summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-04-29 08:14:25 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-04-29 08:14:25 -0300
commit0f65d53e4db3a405a437b29c6538330b9c98ca76 (patch)
treedb0685d0cff07a4e8fac7bb95d2aa968160bb355 /usr
parent5a5fcf021d702e97ee12ec90f3e79fa2b414dd35 (diff)
parentbae53989526a899a8b39853980c49775ea7fe97a (diff)
downloadpfsense-0f65d53e4db3a405a437b29c6538330b9c98ca76.zip
pfsense-0f65d53e4db3a405a437b29c6538330b9c98ca76.tar.gz
Merge branch 'master' into gettext
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php12
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 />
OpenPOWER on IntegriCloud