summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_routes.php
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/local/www/system_routes.php
parent5f9c0e680327549a0c3e9a29c551539dd1876def (diff)
downloadpfsense-e68492ccc1eb8c48c0c10594de8fe84cb5ed2d80.zip
pfsense-e68492ccc1eb8c48c0c10594de8fe84cb5ed2d80.tar.gz
doubleclick for edit
Diffstat (limited to 'usr/local/www/system_routes.php')
-rwxr-xr-xusr/local/www/system_routes.php8
1 files changed, 4 insertions, 4 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>
OpenPOWER on IntegriCloud