diff options
-rwxr-xr-x | usr/local/www/services_dhcp.php | 6 | ||||
-rwxr-xr-x | usr/local/www/services_proxyarp.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index 1cbc9ab..0e5873f 100755 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -326,13 +326,13 @@ The default is to use the IP of the firewall as the gateway. Specify an alterna </tr> <?php $i = 0; foreach ($a_maps as $mapent): ?> <tr> - <td class="listlr"> + <td class="listlr" ondblclick="document.location='services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>';"> <?=htmlspecialchars($mapent['mac']);?> </td> - <td class="listr"> + <td class="listr" ondblclick="document.location='services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>';"> <?=htmlspecialchars($mapent['ipaddr']);?> </td> - <td class="listbg"> + <td class="listbg" ondblclick="document.location='services_dhcp_edit.php?if=<?=$if;?>&id=<?=$i;?>';"> <font color="#FFFFFFF"><?=htmlspecialchars($mapent['descr']);?> </font> </td> <td valign="middle" nowrap class="list"> diff --git a/usr/local/www/services_proxyarp.php b/usr/local/www/services_proxyarp.php index 68caa6b..7e7d1d0 100755 --- a/usr/local/www/services_proxyarp.php +++ b/usr/local/www/services_proxyarp.php @@ -93,7 +93,7 @@ if ($_GET['act'] == "del") { </tr> <?php $i = 0; foreach ($a_proxyarp as $arpent): ?> <tr> - <td class="listlr"> + <td class="listlr" ondblclick="document.location='services_proxyarp_edit.php?id=<?=$i;?>';"> <?php if ($arpent['interface']) { $iflabels = array('lan' => 'LAN', 'wan' => 'WAN'); @@ -105,7 +105,7 @@ if ($_GET['act'] == "del") { } ?> </td> - <td class="listr"> + <td class="listr" ondblclick="document.location='services_proxyarp_edit.php?id=<?=$i;?>';"> <?php if (isset($arpent['network'])) { list($sa,$sn) = explode("/", $arpent['network']); if ($sn == 32) @@ -116,7 +116,7 @@ if ($_GET['act'] == "del") { echo $arpent['range']['from'] . "-" . $arpent['range']['to']; ?> </td> - <td class="listbg"><font color="white"> + <td class="listbg" ondblclick="document.location='services_proxyarp_edit.php?id=<?=$i;?>';"><font color="white"> <?=htmlspecialchars($arpent['descr']);?> </td> <td valign="middle" nowrap class="list"> |