diff options
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/pkg.php | 2 | ||||
-rwxr-xr-x | usr/local/www/services_wol.php | 6 | ||||
-rwxr-xr-x | usr/local/www/vpn_ipsec.php | 12 | ||||
-rwxr-xr-x | usr/local/www/vpn_ipsec_keys.php | 4 |
4 files changed, 12 insertions, 12 deletions
diff --git a/usr/local/www/pkg.php b/usr/local/www/pkg.php index ee52916..a354e00 100755 --- a/usr/local/www/pkg.php +++ b/usr/local/www/pkg.php @@ -178,7 +178,7 @@ if ($pkg['tabs'] <> "") { if($pkg['adddeleteeditpagefields']['columnitem'] <> "") foreach ($pkg['adddeleteeditpagefields']['columnitem'] as $column) { ?> - <td class="listlr"> + <td class="listlr" ondblclick="document.location='pkg_edit.php?xml=<?=$xml?>&act=edit&id=<?=$i;?>';"> <?php $toeval="\$fieldname = \$ip['" . xml_safe_fieldname($column['fieldname']) . "'];"; eval($toeval); diff --git a/usr/local/www/services_wol.php b/usr/local/www/services_wol.php index 3d29f31..90fe0fa 100755 --- a/usr/local/www/services_wol.php +++ b/usr/local/www/services_wol.php @@ -135,17 +135,17 @@ Click the MAC address to wake up a computer. <br> </tr> <?php $i = 0; foreach ($a_wol as $wolent): ?> <tr> - <td class="listlr"> + <td class="listlr" ondblclick="document.location='services_wol_edit.php?id=<?=$i;?>';"> <?php if ($wolent['interface'] == "lan") echo "LAN"; else echo $config['interfaces'][$wolent['interface']]['descr']; ?> </td> - <td class="listr"> + <td class="listr" ondblclick="document.location='services_wol_edit.php?id=<?=$i;?>';"> <a href="?mac=<?=$wolent['mac'];?>&if=<?=$wolent['interface'];?>"><?=strtolower($wolent['mac']);?></a> </td> - <td class="listbg"> + <td class="listbg" ondblclick="document.location='services_wol_edit.php?id=<?=$i;?>';"> <font color="#FFFFFF"><?=htmlspecialchars($wolent['descr']);?> </td> <td valign="middle" nowrap class="list"> diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index 6399294..4cfbfaa 100755 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -160,7 +160,7 @@ if ($_GET['act'] == "del") { } ?> <tr valign="top"> - <td nowrap class="listlr"><?=$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 @@ -169,7 +169,7 @@ if ($_GET['act'] == "del") { <br> <?=$ipsecent['remote-subnet'];?> <?=$spane;?></td> - <td class="listr"><?=$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++) @@ -181,16 +181,16 @@ if ($_GET['act'] == "del") { echo $if . "<br>" . $ipsecent['remote-gateway']; ?> <?=$spane;?></td> - <td class="listr"><?=$spans;?> + <td class="listr" ondblclick="document.location='vpn_ipsec_edit.php?id=<?=$i;?>';"><?=$spans;?> <?=$ipsecent['p1']['mode'];?> <?=$spane;?></td> - <td class="listr"><?=$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"><?=$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"><?=$spans;?> + <td class="listbg" ondblclick="document.location='vpn_ipsec_edit.php?id=<?=$i;?>';"><?=$spans;?> <font color="#FFFFFF"><?=htmlspecialchars($ipsecent['descr']);?> <?=$spane;?></td> <td valign="middle" nowrap class="list"> diff --git a/usr/local/www/vpn_ipsec_keys.php b/usr/local/www/vpn_ipsec_keys.php index 4ea0b14..2cbad6a 100755 --- a/usr/local/www/vpn_ipsec_keys.php +++ b/usr/local/www/vpn_ipsec_keys.php @@ -84,10 +84,10 @@ if ($_GET['act'] == "del") { </tr> <?php $i = 0; foreach ($a_secret as $secretent): ?> <tr> - <td class="listlr"> + <td class="listlr" ondblclick="document.location='vpn_ipsec_keys_edit.php?id=<?=$i;?>';"> <?=htmlspecialchars($secretent['ident']);?> </td> - <td class="listr"> + <td class="listr" ondblclick="document.location='vpn_ipsec_keys_edit.php?id=<?=$i;?>';"> <?=htmlspecialchars($secretent['pre-shared-key']);?> </td> <td class="list" nowrap> |