diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-15 00:47:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-15 00:47:24 +0000 |
commit | bb5bf51375720906702ad149c10770df85f07c15 (patch) | |
tree | 3371293a48a016f75229d9ce23256d3462f6a62c | |
parent | e9b5d96cfcb6b3c7cac8f6033e374bf423cf92bd (diff) | |
download | pfsense-bb5bf51375720906702ad149c10770df85f07c15.zip pfsense-bb5bf51375720906702ad149c10770df85f07c15.tar.gz |
Themeify image locations
-rwxr-xr-x | usr/local/www/services_captiveportal_ip.php | 14 | ||||
-rwxr-xr-x | usr/local/www/services_captiveportal_mac.php | 6 | ||||
-rwxr-xr-x | usr/local/www/services_captiveportal_users.php | 6 |
3 files changed, 13 insertions, 13 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> diff --git a/usr/local/www/services_captiveportal_mac.php b/usr/local/www/services_captiveportal_mac.php index f1241e9..0126cd1 100755 --- a/usr/local/www/services_captiveportal_mac.php +++ b/usr/local/www/services_captiveportal_mac.php @@ -109,13 +109,13 @@ include("head.inc"); <td class="listbg"> <?=htmlspecialchars($mac['descr']);?> </td> - <td valign="middle" nowrap class="list"> <a href="services_captiveportal_mac_edit.php?id=<?=$i;?>"><img src="e.gif" title="edit host" width="17" height="17" border="0"></a> - <a href="services_captiveportal_mac.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this host?')"><img src="x.gif" title="delete host" width="17" height="17" border="0"></a></td> + <td valign="middle" nowrap class="list"> <a href="services_captiveportal_mac_edit.php?id=<?=$i;?>"><img src="/themes/{$g['theme']}/icon_e.gif" title="edit host" width="17" height="17" border="0"></a> + <a href="services_captiveportal_mac.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this host?')"><img src="/themes/{$g['theme']}/icon_x.gif" title="delete host" 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_mac_edit.php"><img src="plus.gif" title="add host" width="17" height="17" border="0"></a></td> + <td class="list"> <a href="services_captiveportal_mac_edit.php"><img src="/themes/{$g['theme']}/icon_plus.gif" title="add host" width="17" height="17" border="0"></a></td> </tr> <tr> <td colspan="2" class="list"><span class="vexpl"><span class="red"><strong> diff --git a/usr/local/www/services_captiveportal_users.php b/usr/local/www/services_captiveportal_users.php index 4605e1a..f7b02f5 100755 --- a/usr/local/www/services_captiveportal_users.php +++ b/usr/local/www/services_captiveportal_users.php @@ -102,13 +102,13 @@ include("head.inc"); <td class="listbg"> <?=$userent['expirationdate']; ?> </td> - <td valign="middle" nowrap class="list"> <a href="services_captiveportal_users_edit.php?id=<?=$i; ?>"><img src="e.gif" title="edit user" width="17" height="17" border="0"></a> - <a href="services_captiveportal_users.php?act=del&id=<?=$i; ?>" onclick="return confirm('Do you really want to delete this user?')"><img src="x.gif" title="delete user" width="17" height="17" border="0"></a></td> + <td valign="middle" nowrap class="list"> <a href="services_captiveportal_users_edit.php?id=<?=$i; ?>"><img src="/themes/{$g['theme']}/icon_e.gif" title="edit user" width="17" height="17" border="0"></a> + <a href="services_captiveportal_users.php?act=del&id=<?=$i; ?>" onclick="return confirm('Do you really want to delete this user?')"><img src="/themes/{$g['theme']}/icon_x.gif" title="delete user" width="17" height="17" border="0"></a></td> </tr> <?php $i++; endforeach; ?> <tr> <td class="list" colspan="3"></td> - <td class="list"> <a href="services_captiveportal_users_edit.php"><img src="plus.gif" title="add user" width="17" height="17" border="0"></a></td> + <td class="list"> <a href="services_captiveportal_users_edit.php"><img src="/themes/{$g['theme']}/icon_plus.gif" title="add user" width="17" height="17" border="0"></a></td> </tr> </table> </td> |