From 4e9781359225f503b83b3d1e4dd9bbacbb1a3b0a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 25 Jan 2011 12:07:43 -0500 Subject: Adding tab for allowed hostnames --- usr/local/www/services_captiveportal.php | 1 + usr/local/www/services_captiveportal_filemanager.php | 1 + usr/local/www/services_captiveportal_ip.php | 1 + usr/local/www/services_captiveportal_mac.php | 1 + usr/local/www/services_captiveportal_vouchers.php | 1 + 5 files changed, 5 insertions(+) (limited to 'usr') diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php index baa5610..bf51ac6 100755 --- a/usr/local/www/services_captiveportal.php +++ b/usr/local/www/services_captiveportal.php @@ -314,6 +314,7 @@ function enable_change(enable_change) { $tab_array[] = array(gettext("Captive portal"), true, "services_captiveportal.php"); $tab_array[] = array(gettext("Pass-through MAC"), false, "services_captiveportal_mac.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"); display_top_tabs($tab_array); diff --git a/usr/local/www/services_captiveportal_filemanager.php b/usr/local/www/services_captiveportal_filemanager.php index bba925f..bdc5505 100755 --- a/usr/local/www/services_captiveportal_filemanager.php +++ b/usr/local/www/services_captiveportal_filemanager.php @@ -139,6 +139,7 @@ include("head.inc"); $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"), 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"), true, "services_captiveportal_filemanager.php"); display_top_tabs($tab_array); diff --git a/usr/local/www/services_captiveportal_ip.php b/usr/local/www/services_captiveportal_ip.php index 25615e6..d9515d1 100755 --- a/usr/local/www/services_captiveportal_ip.php +++ b/usr/local/www/services_captiveportal_ip.php @@ -93,6 +93,7 @@ include("head.inc"); $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 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"); display_top_tabs($tab_array); diff --git a/usr/local/www/services_captiveportal_mac.php b/usr/local/www/services_captiveportal_mac.php index bbcd217..3bee2fb 100755 --- a/usr/local/www/services_captiveportal_mac.php +++ b/usr/local/www/services_captiveportal_mac.php @@ -134,6 +134,7 @@ include("head.inc"); $tab_array[] = array(gettext("Captive portal"), false, "services_captiveportal.php"); $tab_array[] = array(gettext("Pass-through MAC"), true, "services_captiveportal_mac.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"); display_top_tabs($tab_array); diff --git a/usr/local/www/services_captiveportal_vouchers.php b/usr/local/www/services_captiveportal_vouchers.php index 680a9e1..9df838d 100644 --- a/usr/local/www/services_captiveportal_vouchers.php +++ b/usr/local/www/services_captiveportal_vouchers.php @@ -377,6 +377,7 @@ function enable_change(enable_change) { $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"), false, "services_captiveportal_ip.php"); + $tab_array[] = array(gettext("Allowed Hostnames"), true, "services_captiveportal_hostname.php"); $tab_array[] = array(gettext("Vouchers"), true, "services_captiveportal_vouchers.php"); $tab_array[] = array(gettext("File Manager"), false, "services_captiveportal_filemanager.php"); display_top_tabs($tab_array); -- cgit v1.1