summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-04-12 19:00:32 +0000
committerBill Marquette <billm@pfsense.org>2005-04-12 19:00:32 +0000
commitd970cc7c060825f274581fc616e80585c437ff45 (patch)
tree837f1095f284f5475427d714bb07f4494ccfb15e /usr
parentb261bc51fa4dd7663afb0db7db08c1f5a6a83c1a (diff)
downloadpfsense-d970cc7c060825f274581fc616e80585c437ff45.zip
pfsense-d970cc7c060825f274581fc616e80585c437ff45.tar.gz
Doubleclick to edit
whitespace cleanup
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_nat_1to1.php10
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 91bc4e0..982f055 100755
--- a/usr/local/www/firewall_nat_1to1.php
+++ b/usr/local/www/firewall_nat_1to1.php
@@ -100,7 +100,7 @@ if ($_GET['act'] == "del") {
<td class="tabcont">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td width="10%" class="listhdrr">Interface</td>
+ <td width="10%" class="listhdrr">Interface</td>
<td width="20%" class="listhdrr">External IP</td>
<td width="20%" class="listhdrr">Internal IP</td>
<td width="40%" class="listhdr">Description</td>
@@ -108,7 +108,7 @@ if ($_GET['act'] == "del") {
</tr>
<?php $i = 0; foreach ($a_1to1 as $natent): ?>
<tr>
- <td class="listlr">
+ <td class="listlr" ondblclick="document.location='firewall_nat_1to1_edit.php?id=<?=$i;?>';">
<?php
if (!$natent['interface'] || ($natent['interface'] == "wan"))
echo "WAN";
@@ -116,15 +116,15 @@ if ($_GET['act'] == "del") {
echo htmlspecialchars($config['interfaces'][$natent['interface']]['descr']);
?>
</td>
- <td class="listr">
+ <td class="listr" ondblclick="document.location='firewall_nat_1to1_edit.php?id=<?=$i;?>';">
<?php echo $natent['external'];
if ($natent['subnet']) echo "/" . $natent['subnet']; ?>
</td>
- <td class="listr">
+ <td class="listr" ondblclick="document.location='firewall_nat_1to1_edit.php?id=<?=$i;?>';">
<?php echo $natent['internal'];
if ($natent['subnet']) echo "/" . $natent['subnet']; ?>
</td>
- <td class="listbg">
+ <td class="listbg" ondblclick="document.location='firewall_nat_1to1_edit.php?id=<?=$i;?>';">
<font color="#ffffff"><?=htmlspecialchars($natent['descr']);?>&nbsp;
</td>
<td class="list" nowrap>
OpenPOWER on IntegriCloud