diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-04-09 13:00:59 -0300 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-04-09 19:39:49 -0600 |
commit | 96cde2307ce53ab8c89f13bc17e6b5bbc9aecb15 (patch) | |
tree | 7ab800c1bba6236d3fb9aa19a605914e7a436ed3 /usr/local/www | |
parent | 2d9792af9c2abfc0e591aa4027ac2939b28e6c39 (diff) | |
download | pfsense-96cde2307ce53ab8c89f13bc17e6b5bbc9aecb15.zip pfsense-96cde2307ce53ab8c89f13bc17e6b5bbc9aecb15.tar.gz |
Show in gray just rules that are disabled
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_nat.php | 8 |
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'])) |