diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-12-08 22:12:21 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-12-08 22:12:21 -0700 |
commit | 35aa4df3f09c75d35eecec2e2cccdd37fe083e67 (patch) | |
tree | e80bbb7dd64c3d6ea0aa64dc423c2a23aaec1d06 /usr/local | |
parent | 1634524df797d0c428ff07a8644387dfb9d4a39c (diff) | |
download | pfsense-35aa4df3f09c75d35eecec2e2cccdd37fe083e67.zip pfsense-35aa4df3f09c75d35eecec2e2cccdd37fe083e67.tar.gz |
This code must come after natent is defined or the style will never be applied. Ticket #1073
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_nat_1to1.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/firewall_nat_1to1.php b/usr/local/www/firewall_nat_1to1.php index 857ae9a..e114cd6 100755 --- a/usr/local/www/firewall_nat_1to1.php +++ b/usr/local/www/firewall_nat_1to1.php @@ -115,14 +115,14 @@ include("head.inc"); </td> </tr> <?php + $textse = "</span>"; + + $i = 0; foreach ($a_1to1 as $natent): + if (isset($natent['disabled'])) $textss = "<span class=\"gray\">"; else - $textss = "<span>"; - - $textse = "</span>"; - - $i = 0; foreach ($a_1to1 as $natent): ?> + $textss = "<span>"; ?> <tr> <td class="listlr" ondblclick="document.location='firewall_nat_1to1_edit.php?id=<?=$i;?>';"> <?php |