summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-04-12 19:23:53 +0000
committerBill Marquette <billm@pfsense.org>2005-04-12 19:23:53 +0000
commitbf6d95efa3196ca110b1bbb451827117193ad52a (patch)
tree6539a4ad85825de23758e05618b21a51f3b63686 /usr
parent2d165eff964406d27b00066c311e4291a15bc332 (diff)
downloadpfsense-bf6d95efa3196ca110b1bbb451827117193ad52a.zip
pfsense-bf6d95efa3196ca110b1bbb451827117193ad52a.tar.gz
white on red for description
doubleclick to edit
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_captiveportal_ip.php6
-rwxr-xr-xusr/local/www/services_captiveportal_mac.php6
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']);?>&nbsp;
+ <td class="listbg" ondblclick="document.location='services_captiveportal_ip_edit.php?id=<?=$i;?>';">
+ <font color="white"><?=htmlspecialchars($ip['descr']);?>&nbsp;</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']);?>&nbsp;
+ <td class="listbg" ondblclick="document.location='services_captiveportal_mac_edit.php?id=<?=$i;?>';">
+ <font color="white"><?=htmlspecialchars($mac['descr']);?>&nbsp;</font>
</td>
<td valign="middle" nowrap class="list">
<table border="0" cellspacing="0" cellpadding="1">
OpenPOWER on IntegriCloud