diff options
Diffstat (limited to 'usr/local/www/services_captiveportal_ip.php')
-rwxr-xr-x | usr/local/www/services_captiveportal_ip.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/local/www/services_captiveportal_ip.php b/usr/local/www/services_captiveportal_ip.php index fdfeb53..fe828e8 100755 --- a/usr/local/www/services_captiveportal_ip.php +++ b/usr/local/www/services_captiveportal_ip.php @@ -105,23 +105,23 @@ include("head.inc"); <tr> <td class="listlr"> <?php if($ip['dir'] == "to") - echo "any <img src=\"in.gif\" width=\"11\" height=\"11\" align=\"absmiddle\">"; + echo "any <img src=\"/themes/{$g['theme']}/icon_in.gif\" width=\"11\" height=\"11\" align=\"absmiddle\">"; ?> <?=strtolower($ip['ip']);?> <?php if($ip['dir'] == "from") - echo "<img src=\"in.gif\" width=\"11\" height=\"11\" align=\"absmiddle\"> any"; + echo "<img src=\"/themes/{$g['theme']}/icon_in.gif\" width=\"11\" height=\"11\" align=\"absmiddle\"> any"; ?> </td> <td class="listbg"> <?=htmlspecialchars($ip['descr']);?> </td> - <td valign="middle" nowrap class="list"> <a href="services_captiveportal_ip_edit.php?id=<?=$i;?>"><img src="e.gif" title="edit address" width="17" height="17" border="0"></a> - <a href="services_captiveportal_ip.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this address?')"><img src="x.gif" title="delete address" width="17" height="17" border="0"></a></td> + <td valign="middle" nowrap class="list"> <a href="services_captiveportal_ip_edit.php?id=<?=$i;?>"><img src="/themes/{$g['theme']}/icon_e.gif" title="edit address" width="17" height="17" border="0"></a> + <a href="services_captiveportal_ip.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this address?')"><img src="/themes/{$g['theme']}/icon_x.gif" title="delete address" width="17" height="17" border="0"></a></td> </tr> <?php $i++; endforeach; ?> <tr> <td class="list" colspan="2"> </td> - <td class="list"> <a href="services_captiveportal_ip_edit.php"><img src="plus.gif" title="add address" width="17" height="17" border="0"></a></td> + <td class="list"> <a href="services_captiveportal_ip_edit.php"><img src="/themes/{$g['theme']}/icon_plus.gif" title="add address" width="17" height="17" border="0"></a></td> </tr> <tr> <td colspan="2" class="list"><p class="vexpl"><span class="red"><strong> @@ -130,14 +130,14 @@ include("head.inc"); Adding allowed IP addresses will allow IP access to/from these addresses through the captive portal without being taken to the portal page. This can be used for a web server serving images for the portal page or a DNS server on another network, for example. By specifying <em>from</em> addresses, it may be used to always allow pass-through access from a client behind the captive portal.</p> <table border="0" cellspacing="0" cellpadding="0"> <tr> - <td><span class="vexpl">any <img src="in.gif" width="11" height="11" align="absmiddle"> x.x.x.x </span></td> + <td><span class="vexpl">any <img src="/themes/{$g['theme']}/icon_in.gif" width="11" height="11" align="absmiddle"> x.x.x.x </span></td> <td><span class="vexpl">All connections <strong>to</strong> the IP address are allowed</span></td> </tr> <tr> <td colspan="5" height="4"></td> </tr> <tr> - <td>x.x.x.x <span class="vexpl"><img src="in.gif" width="11" height="11" align="absmiddle"></span> any </td> + <td>x.x.x.x <span class="vexpl"><img src="/themes/{$g['theme']}/icon_in.gif" width="11" height="11" align="absmiddle"></span> any </td> <td><span class="vexpl">All connections <strong>from</strong> the IP address are allowed </span></td> </tr> </table></td> |