summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/pkg.php2
-rwxr-xr-xusr/local/www/services_wol.php6
-rwxr-xr-xusr/local/www/vpn_ipsec.php12
-rwxr-xr-xusr/local/www/vpn_ipsec_keys.php4
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'];
?>&nbsp;
</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>&nbsp;
</td>
- <td class="listbg">
+ <td class="listbg" ondblclick="document.location='services_wol_edit.php?id=<?=$i;?>';">
<font color="#FFFFFF"><?=htmlspecialchars($wolent['descr']);?>&nbsp;
</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']);?>&nbsp;
<?=$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>
OpenPOWER on IntegriCloud