summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal_hostname.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-11-08 21:25:14 +0545
committerPhil Davis <phil.davis@inf.org>2015-11-08 21:25:14 +0545
commit0d97632543e3e98ac165025db75d10c1e678f178 (patch)
treea371595d7dd1d8f3257e5b034fea1cff54a48f7b /src/usr/local/www/services_captiveportal_hostname.php
parenta6e44b82f4584cdb656dc9c42eab1a88f19cc3c1 (diff)
downloadpfsense-0d97632543e3e98ac165025db75d10c1e678f178.zip
pfsense-0d97632543e3e98ac165025db75d10c1e678f178.tar.gz
Captive Portal code review
Make the capitalisation of the various heading pages consistent. Fix various field var name errors observed.
Diffstat (limited to 'src/usr/local/www/services_captiveportal_hostname.php')
-rw-r--r--src/usr/local/www/services_captiveportal_hostname.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/usr/local/www/services_captiveportal_hostname.php b/src/usr/local/www/services_captiveportal_hostname.php
index c5937c6..3d695fa 100644
--- a/src/usr/local/www/services_captiveportal_hostname.php
+++ b/src/usr/local/www/services_captiveportal_hostname.php
@@ -1,4 +1,7 @@
<?php
+/*
+ services_captiveportal_hostname.php
+*/
/* ====================================================================
* Copyright (c) 2004-2015 Electric Sheep Fencing, LLC. All rights reserved.
*
@@ -93,7 +96,7 @@ if (isset($cpzone) && !empty($cpzone) && isset($a_cp[$cpzone]['zoneid'])) {
$cpzoneid = $a_cp[$cpzone]['zoneid'];
}
-$pgtitle = array(gettext("Services"), gettext("Captive portal"), $a_cp[$cpzone]['zone']);
+$pgtitle = array(gettext("Services"), gettext("Captive Portal"), $a_cp[$cpzone]['zone']);
$shortcut_section = "captiveportal";
if ($_GET['act'] == "del" && !empty($cpzone) && isset($cpzoneid)) {
@@ -135,7 +138,7 @@ if ($savemsg)
print_info_box($savemsg);
$tab_array = array();
-$tab_array[] = array(gettext("Captive portal(s)"), false, "services_captiveportal.php?zone={$cpzone}");
+$tab_array[] = array(gettext("Captive Portal(s)"), false, "services_captiveportal.php?zone={$cpzone}");
$tab_array[] = array(gettext("MAC"), false, "services_captiveportal_mac.php?zone={$cpzone}");
$tab_array[] = array(gettext("Allowed IP Addresses"), false, "services_captiveportal_ip.php?zone={$cpzone}");
$tab_array[] = array(gettext("Allowed Hostnames"), true, "services_captiveportal_hostname.php?zone={$cpzone}");
OpenPOWER on IntegriCloud