diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-09-03 18:20:19 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-09-03 18:20:19 +0000 |
commit | a0d4c5da2928e852bf65a37be4c235c3694035f3 (patch) | |
tree | 7ef31cbcc8697575c8648c7878a1dc8c988e6476 | |
parent | bfea87fff2d41c97720970ac8ad4861cd743bf57 (diff) | |
download | pfsense-a0d4c5da2928e852bf65a37be4c235c3694035f3.zip pfsense-a0d4c5da2928e852bf65a37be4c235c3694035f3.tar.gz |
Correct all double click action urls in the main IPsec config screens.
Reported by Seth.
-rwxr-xr-x | usr/local/www/vpn_ipsec.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index c3948f3..89016dd 100755 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -206,8 +206,8 @@ include("head.inc"); </table> </td> </tr> - <tr valign="top"> - <td class="listlr" ondblclick="document.location='vpn_ipsec_phase1.php?id=<?=$i;?>'"> + <tr valign="top" ondblclick="document.location='vpn_ipsec_phase1.php?p1index=<?=$i;?>'"> + <td class="listlr"> <?=$spans;?> <?php if ($ph1ent['interface']) { @@ -229,12 +229,12 @@ include("head.inc"); ?> <?=$spane;?> </td> - <td class="listr" ondblclick="document.location='vpn_ipsec_phase1.php?id=<?=$i;?>'"> + <td class="listr"> <?=$spans;?> <?=$ph1ent['mode'];?> <?=$spane;?> </td> - <td class="listr" ondblclick="document.location='vpn_ipsec_phase1.php?id=<?=$i;?>'"> + <td class="listr"> <?=$spans;?> <?=$p1_ealgos[$ph1ent['encryption-algorithm']['name']]['name'];?> <?php @@ -247,12 +247,12 @@ include("head.inc"); ?> <?=$spane;?> </td> - <td class="listr" ondblclick="document.location='vpn_ipsec_phase1.php?id=<?=$i;?>'"> + <td class="listr"> <?=$spans;?> <?=$p1_halgos[$ph1ent['hash-algorithm']];?> <?=$spane;?> </td> - <td class="listtopic" ondblclick="document.location='vpn_ipsec_phase1.php?id=<?=$i;?>'"> + <td class="listtopic"> <?=$spans;?> <font color="#FFFFFF"> <?=htmlspecialchars($ph1ent['descr']);?> @@ -330,24 +330,24 @@ include("head.inc"); else $spans = $spane = ""; ?> - <tr valign="top"> + <tr valign="top" ondblclick="document.location='vpn_ipsec_phase2.php?p2index=<?=$i;?>'"> - <td nowrap class="listr" ondblclick="document.location='vpn_ipsec_phase2.php?id=<?=$i;?>'"> + <td nowrap class="listlr"> <?=$spans;?> <?=ipsec_idinfo_to_text($ph2ent['localid']); ?> <?=$spane;?> </td> - <td nowrap class="listr" ondblclick="document.location='vpn_ipsec_phase2.php?id=<?=$i;?>'"> + <td nowrap class="listr"> <?=$spans;?> <?=ipsec_idinfo_to_text($ph2ent['remoteid']); ?> <?=$spane;?> </td> - <td nowrap class="listr" ondblclick="document.location='vpn_ipsec_phase2.php?id=<?=$i;?>'"> + <td nowrap class="listr"> <?=$spans;?> <?php echo $p2_protos[$ph2ent['protocol']]; ?> <?=$spane;?> </td> - <td class="listr" ondblclick="document.location='vpn_ipsec_phase2.php?id=<?=$i;?>'"> + <td class="listr"> <?=$spans;?> <?php $k = 0; @@ -365,7 +365,7 @@ include("head.inc"); ?> <?=$spane;?> </td> - <td nowrap class="listr" ondblclick="document.location='vpn_ipsec_phase2.php?id=<?=$i;?>'"> + <td nowrap class="listr"> <?=$spans;?> <?php $k = 0; |