diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-05-01 02:03:36 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-05-01 02:03:36 -0400 |
commit | 8788e89933b14c00d2fc8d5ab386f1f2a03cd01e (patch) | |
tree | 040b5c7e01e9585eafac3feb4798a637d7caa95b | |
parent | 0d13b2e2a1b7059c168a9e16dcbf566c1419b64a (diff) | |
download | pfsense-8788e89933b14c00d2fc8d5ab386f1f2a03cd01e.zip pfsense-8788e89933b14c00d2fc8d5ab386f1f2a03cd01e.tar.gz |
add double click to edit
-rwxr-xr-x | usr/local/www/services_captiveportal_ip.php | 2 | ||||
-rwxr-xr-x | usr/local/www/services_captiveportal_mac.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/services_captiveportal_ip.php b/usr/local/www/services_captiveportal_ip.php index 964163f..fb8711b 100755 --- a/usr/local/www/services_captiveportal_ip.php +++ b/usr/local/www/services_captiveportal_ip.php @@ -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> diff --git a/usr/local/www/services_captiveportal_mac.php b/usr/local/www/services_captiveportal_mac.php index 88ba019..dd5fdfe 100755 --- a/usr/local/www/services_captiveportal_mac.php +++ b/usr/local/www/services_captiveportal_mac.php @@ -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"> </td> </tr> </table> |