summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-18 15:51:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-18 15:51:56 +0000
commitc62799be505a3d61ec35be401cf4f3cdc9acf70b (patch)
tree19b2b4c2c6fc5aa5b3594104aa8a0120c927f139 /usr/local/www
parent987fe4baaf179887d18433ef5589ac760d69e7f4 (diff)
downloadpfsense-c62799be505a3d61ec35be401cf4f3cdc9acf70b.zip
pfsense-c62799be505a3d61ec35be401cf4f3cdc9acf70b.tar.gz
MFC 6957
Specify 'id' to the edit screen!
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/vpn_ipsec.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index 5fe38e7..a3f26e6 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -140,7 +140,7 @@ include("head.inc");
}
?>
<tr valign="top">
- <td nowrap class="listlr" ondblclick="document.location='vpn_ipsec_edit.php'"><?=$spans;?>
+ <td nowrap class="listlr" ondblclick="document.location='vpn_ipsec_edit.php?id=<?=$i;?>'"><?=$spans;?>
<?php if ($ipsecent['local-subnet']['network'])
echo strtoupper($ipsecent['local-subnet']['network']);
else
@@ -149,7 +149,7 @@ include("head.inc");
<br>
<?=$ipsecent['remote-subnet'];?>
<?=$spane;?></td>
- <td class="listr" ondblclick="document.location='vpn_ipsec_edit.php'"><?=$spans;?>
+ <td class="listr" ondblclick="document.location='vpn_ipsec_edit.php?id=<?=$i;?>'"><?=$spans;?>
<?php if ($ipsecent['interface']) {
$iflabels = array('lan' => 'LAN', 'wan' => 'WAN');
for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++)
@@ -161,16 +161,16 @@ include("head.inc");
echo $if . "<br>" . $ipsecent['remote-gateway'];
?>
<?=$spane;?></td>
- <td class="listr" ondblclick="document.location='vpn_ipsec_edit.php'"><?=$spans;?>
+ <td class="listr" ondblclick="document.location='vpn_ipsec_edit.php?id=<?=$i;?>'"><?=$spans;?>
<?=$ipsecent['p1']['mode'];?>
<?=$spane;?></td>
- <td class="listr" ondblclick="document.location='vpn_ipsec_edit.php'"><?=$spans;?>
+ <td class="listr" ondblclick="document.location='vpn_ipsec_edit.php?id=<?=$i;?>'"><?=$spans;?>
<?=$p1_ealgos[$ipsecent['p1']['encryption-algorithm']];?>
<?=$spane;?></td>
- <td class="listr" ondblclick="document.location='vpn_ipsec_edit.php'"><?=$spans;?>
+ <td class="listr" ondblclick="document.location='vpn_ipsec_edit.php?id=<?=$i;?>'"><?=$spans;?>
<?=$p1_halgos[$ipsecent['p1']['hash-algorithm']];?>
<?=$spane;?></td>
- <td class="listbg" ondblclick="document.location='vpn_ipsec_edit.php'"><?=$spans;?><font color="#FFFFFF">
+ <td class="listbg" ondblclick="document.location='vpn_ipsec_edit.php?id=<?=$i;?>'"><?=$spans;?><font color="#FFFFFF">
<?=htmlspecialchars($ipsecent['descr']);?>&nbsp;
<?=$spane;?></td>
<td valign="middle" nowrap class="list"> <a href="vpn_ipsec_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit tunnel" width="17" height="17" border="0"></a>
OpenPOWER on IntegriCloud