add double click to edit

This commit is contained in:
Chris Buechler 2010-05-01 02:03:36 -04:00
parent 0d13b2e2a1
commit 8788e89933
2 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ include("head.inc");
</td>
</tr>
<?php $i = 0; foreach ($a_allowedips as $ip): ?>
<tr>
<tr ondblclick="document.location='services_captiveportal_ip_edit.php?id=<?=$i;?>'">
<td class="listlr">
<?=strtolower($ip['ip']);?>
</td>

View File

@ -132,7 +132,7 @@ include("head.inc");
<td width="10%" class="list"></td>
</tr>
<?php $i = 0; foreach ($a_passthrumacs as $mac): ?>
<tr>
<tr ondblclick="document.location='services_captiveportal_mac_edit.php?id=<?=$i;?>'">
<td class="listlr">
<?=strtolower($mac['mac']);?>
</td>
@ -151,7 +151,7 @@ include("head.inc");
<td colspan="2" class="list"><span class="vexpl"><span class="red"><strong>
Note:<br>
</strong></span>
Adding MAC addresses as pass-through MACs allows them access through the captive portal automatically without being taken to the portal page. The pass-through MACs can change their IP addresses on the fly and upon the next access, the pass-through tables are changed accordingly. Pass-through MACs will however still be disconnected after the captive portal timeout period.</span></td>
Adding MAC addresses as pass-through MACs allows them access through the captive portal automatically without being taken to the portal page. The pass-through MACs can change their IP addresses on the fly and upon the next access, the pass-through tables are changed accordingly. Pass-through MACs will however still be disconnected after the captive portal timeout period.</span></td>
<td class="list">&nbsp;</td>
</tr>
</table>