diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-01-29 08:17:08 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-01-29 08:17:08 -0500 |
commit | 1cd1435e8594c06bee8c4ac61edce9cec86af137 (patch) | |
tree | ea6d9d1021e1efe24b35cba090436a4bafe62154 /src/usr/local/www/firewall_nat_out.php | |
parent | aa6d895c414831dd5be804caace7f9402cf46bc1 (diff) | |
download | pfsense-1cd1435e8594c06bee8c4ac61edce9cec86af137.zip pfsense-1cd1435e8594c06bee8c4ac61edce9cec86af137.tar.gz |
Fixed #5828
Diffstat (limited to 'src/usr/local/www/firewall_nat_out.php')
-rw-r--r-- | src/usr/local/www/firewall_nat_out.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_nat_out.php b/src/usr/local/www/firewall_nat_out.php index c0d696e..b0ee432 100644 --- a/src/usr/local/www/firewall_nat_out.php +++ b/src/usr/local/www/firewall_nat_out.php @@ -327,8 +327,12 @@ print($form); foreach ($a_out as $natent): $iconfn = "pass"; $textss = $textse = ""; + $trclass = ''; + if ($mode == "disabled" || $mode == "automatic" || isset($natent['disabled'])) { $iconfn .= "_d"; + $trclass = 'class="disabled"'; + } @@ -340,7 +344,7 @@ print($form); ); ?> - <tr id="fr<?=$i;?>" onClick="fr_toggle(<?=$i;?>)" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$i;?>';"> + <tr id="fr<?=$i;?>" <?=$trclass?> onClick="fr_toggle(<?=$i;?>)" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$i;?>';"> <td > <input type="checkbox" id="frc<?=$i;?>" onClick="fr_toggle(<?=$i;?>)" name="rule[]" value="<?=$i;?>"/> </td> |