summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-04-12 19:39:47 +0000
committerBill Marquette <billm@pfsense.org>2005-04-12 19:39:47 +0000
commite68492ccc1eb8c48c0c10594de8fe84cb5ed2d80 (patch)
tree9a27df8019dbc5423f939d811868e607f8ebc559 /usr
parent5f9c0e680327549a0c3e9a29c551539dd1876def (diff)
downloadpfsense-e68492ccc1eb8c48c0c10594de8fe84cb5ed2d80.zip
pfsense-e68492ccc1eb8c48c0c10594de8fe84cb5ed2d80.tar.gz
doubleclick for edit
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_routes.php8
-rwxr-xr-xusr/local/www/vpn_pptp_users.php4
2 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/system_routes.php b/usr/local/www/system_routes.php
index 20f03cd..f9846d9 100755
--- a/usr/local/www/system_routes.php
+++ b/usr/local/www/system_routes.php
@@ -126,20 +126,20 @@ if ($_GET['act'] == "del") {
</tr>
<?php $i = 0; foreach ($a_routes as $route): ?>
<tr>
- <td class="listlr">
+ <td class="listlr" ondblclick="document.location='system_routes_edit.php?id=<?=$i;?>';">
<?php
$iflabels = array('lan' => 'LAN', 'wan' => 'WAN', 'pptp' => 'PPTP');
for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++)
$iflabels['opt' . $j] = $config['interfaces']['opt' . $j]['descr'];
echo htmlspecialchars($iflabels[$route['interface']]); ?>
</td>
- <td class="listr">
+ <td class="listr" ondblclick="document.location='system_routes_edit.php?id=<?=$i;?>';">
<?=strtolower($route['network']);?>
</td>
- <td class="listr">
+ <td class="listr" ondblclick="document.location='system_routes_edit.php?id=<?=$i;?>';">
<?=strtolower($route['gateway']);?>
</td>
- <td class="listbg">
+ <td class="listbg" ondblclick="document.location='system_routes_edit.php?id=<?=$i;?>';">
<font color="#FFFFFF"><?=htmlspecialchars($route['descr']);?>&nbsp;
</td>
<td valign="middle" nowrap class="list"> <a href="system_routes_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
diff --git a/usr/local/www/vpn_pptp_users.php b/usr/local/www/vpn_pptp_users.php
index cd80dfb..3bf2973 100755
--- a/usr/local/www/vpn_pptp_users.php
+++ b/usr/local/www/vpn_pptp_users.php
@@ -103,10 +103,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_pptp_users_edit.php?id=<?=$i;?>';">
<?=htmlspecialchars($secretent['name']);?>
</td>
- <td class="listr">
+ <td class="listr" ondblclick="document.location='vpn_pptp_users_edit.php?id=<?=$i;?>';">
<?=htmlspecialchars($secretent['ip']);?>&nbsp;
</td>
<td class="list" nowrap>
OpenPOWER on IntegriCloud