diff options
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/services_captiveportal_ip.php | 6 | ||||
-rwxr-xr-x | usr/local/www/services_captiveportal_mac.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/services_captiveportal_ip.php b/usr/local/www/services_captiveportal_ip.php index 70172ea..a9977f4 100755 --- a/usr/local/www/services_captiveportal_ip.php +++ b/usr/local/www/services_captiveportal_ip.php @@ -106,7 +106,7 @@ if ($_GET['act'] == "del") { </tr> <?php $i = 0; foreach ($a_allowedips as $ip): ?> <tr> - <td class="listlr"> + <td class="listlr" ondblclick="document.location='services_captiveportal_ip_edit.php?id=<?=$i;?>';"> <?php if($ip['dir'] == "to") echo "any <img src=\"in.gif\" width=\"11\" height=\"11\" align=\"absmiddle\">"; ?> @@ -115,8 +115,8 @@ if ($_GET['act'] == "del") { echo "<img src=\"in.gif\" width=\"11\" height=\"11\" align=\"absmiddle\"> any"; ?> </td> - <td class="listbg"> - <?=htmlspecialchars($ip['descr']);?> + <td class="listbg" ondblclick="document.location='services_captiveportal_ip_edit.php?id=<?=$i;?>';"> + <font color="white"><?=htmlspecialchars($ip['descr']);?> </font> </td> <td valign="middle" nowrap class="list"> <table border="0" cellspacing="0" cellpadding="1"> diff --git a/usr/local/www/services_captiveportal_mac.php b/usr/local/www/services_captiveportal_mac.php index 7573ff5..010ace7 100755 --- a/usr/local/www/services_captiveportal_mac.php +++ b/usr/local/www/services_captiveportal_mac.php @@ -106,11 +106,11 @@ if ($_GET['act'] == "del") { </tr> <?php $i = 0; foreach ($a_passthrumacs as $mac): ?> <tr> - <td class="listlr"> + <td class="listlr" ondblclick="document.location='services_captiveportal_mac_edit.php?id=<?=$i;?>';"> <?=strtolower($mac['mac']);?> </td> - <td class="listbg"> - <?=htmlspecialchars($mac['descr']);?> + <td class="listbg" ondblclick="document.location='services_captiveportal_mac_edit.php?id=<?=$i;?>';"> + <font color="white"><?=htmlspecialchars($mac['descr']);?> </font> </td> <td valign="middle" nowrap class="list"> <table border="0" cellspacing="0" cellpadding="1"> |