summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-04-09 13:00:59 -0300
committerErik Fonnesbeck <efonnes@gmail.com>2010-04-09 19:39:49 -0600
commit96cde2307ce53ab8c89f13bc17e6b5bbc9aecb15 (patch)
tree7ab800c1bba6236d3fb9aa19a605914e7a436ed3 /usr/local/www/firewall_nat.php
parent2d9792af9c2abfc0e591aa4027ac2939b28e6c39 (diff)
downloadpfsense-96cde2307ce53ab8c89f13bc17e6b5bbc9aecb15.zip
pfsense-96cde2307ce53ab8c89f13bc17e6b5bbc9aecb15.tar.gz
Show in gray just rules that are disabled
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-xusr/local/www/firewall_nat.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php
index 5a7f869..8631d99 100755
--- a/usr/local/www/firewall_nat.php
+++ b/usr/local/www/firewall_nat.php
@@ -219,10 +219,12 @@ echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript
$alias_target_span_begin = $alias_popup["dst"];
$alias_local_port_span_begin = $alias_popup["dstport"];
- if (isset($natent['disabled'])) {
+ if (isset($natent['disabled']))
$textss = "<span class=\"gray\">";
- $textse = "</span>";
- }
+ else
+ $textss = "<span>";
+
+ $textse = "</span>";
/* if user does not have access to edit an interface skip on to the next record */
if(!have_natpfruleint_access($natent['interface']))
OpenPOWER on IntegriCloud