summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-05-08 22:09:06 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-05-08 22:09:06 +0000
commitd415d821536c6a8e3689fcb344690169b9eac374 (patch)
treec015c28b00acc6ba6457329066f1d9b014cd45be /usr/local/www/firewall_nat.php
parent0baa37c501e15aa104298c302fa43e45395edcab (diff)
downloadpfsense-d415d821536c6a8e3689fcb344690169b9eac374.zip
pfsense-d415d821536c6a8e3689fcb344690169b9eac374.tar.gz
Add a plus button on the top header of these pages.
This to make it easier on large configurations.
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-xusr/local/www/firewall_nat.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php
index 986322e..95d0195 100755
--- a/usr/local/www/firewall_nat.php
+++ b/usr/local/www/firewall_nat.php
@@ -173,7 +173,14 @@ include("head.inc");
<td width="20%" class="listhdrr">NAT IP</td>
<td width="20%" class="listhdrr">Int. port range</td>
<td width="20%" class="listhdr">Description</td>
- <td width="5%" class="list"></td>
+ <td width="5%" class="list">
+ <table border="0" cellspacing="0" cellpadding="1">
+ <tr>
+ <td width="17"></td>
+ <td><a href="firewall_nat_edit.php"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" width="17" height="17" border="0"></a></td>
+ </tr>
+ </table>
+ </td>
</tr>
<?php $nnats = $i = 0; foreach ($a_nat as $natent): ?>
<tr valign="top" id="fr<?=$nnats;?>">
@@ -252,7 +259,8 @@ include("head.inc");
<tr>
<td><?php if ($nnats == 0): ?><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x_d.gif" width="17" height="17" title="delete selected rules" border="0"><?php else: ?><input name="del" type="image" src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" title="delete selected mappings" onclick="return confirm('Do you really want to delete the selected mappings?')"><?php endif; ?></td>
</tr>
- </table></td>
+ </table>
+ </td>
</tr>
</table>
</div>
OpenPOWER on IntegriCloud