From 620ac186ea01e168fbae8d69ce00fffc833ba9ae Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 25 Jan 2011 12:31:47 -0500 Subject: Misc fixups --- usr/local/www/services_captiveportal_hostname.php | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'usr/local/www/services_captiveportal_hostname.php') diff --git a/usr/local/www/services_captiveportal_hostname.php b/usr/local/www/services_captiveportal_hostname.php index dcf5dc3..c7503ca 100755 --- a/usr/local/www/services_captiveportal_hostname.php +++ b/usr/local/www/services_captiveportal_hostname.php @@ -97,7 +97,7 @@ include("head.inc"); $tab_array = array(); $tab_array[] = array(gettext("Captive portal"), false, "services_captiveportal.php"); $tab_array[] = array(gettext("Pass-through MAC"), false, "services_captiveportal_mac.php"); - $tab_array[] = array(gettext("Allowed IP Addresses"), true, "services_captiveportal_ip.php"); + $tab_array[] = array(gettext("Allowed IP Addresses"), false, "services_captiveportal_ip.php"); $tab_array[] = array(gettext("Allowed Hostnames"), true, "services_captiveportal_hostname.php"); $tab_array[] = array(gettext("Vouchers"), false, "services_captiveportal_vouchers.php"); $tab_array[] = array(gettext("File Manager"), false, "services_captiveportal_filemanager.php"); @@ -114,13 +114,13 @@ include("head.inc"); - +
" width="17" height="17" border="0">" width="17" height="17" border="0">
- + "; } - echo strtolower($ip['ip']); - if($ip['sn'] != "32" && is_numeric($ip['sn'])) { - $sn = $ip['sn']; - echo "/$sn"; - } + echo strtolower($ip['hostname']); if($ip['dir'] == "from") { echo " any"; } @@ -143,7 +139,7 @@ include("head.inc");   - " width="17" height="17" border="0"> + " width="17" height="17" border="0">  ')">" width="17" height="17" border="0"> @@ -153,7 +149,7 @@ include("head.inc"); - +
" width="17" height="17" border="0">" width="17" height="17" border="0">
@@ -162,7 +158,7 @@ include("head.inc");


- from addresses, it may be used to always allow pass-through access from a client behind the captive portal."); ?>

+ from addresses, it may be used to always allow pass-through access from a client behind the captive portal."); ?>

-- cgit v1.1
x.x.x.x