summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal_vouchers.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_vouchers.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_vouchers.php')
-rw-r--r--src/usr/local/www/services_captiveportal_vouchers.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/services_captiveportal_vouchers.php b/src/usr/local/www/services_captiveportal_vouchers.php
index e2a36c9..84e0e72 100644
--- a/src/usr/local/www/services_captiveportal_vouchers.php
+++ b/src/usr/local/www/services_captiveportal_vouchers.php
@@ -111,7 +111,7 @@ if (empty($a_cp[$cpzone])) {
exit;
}
-$pgtitle = array(gettext("Services"), gettext("Captive portal"), gettext("Vouchers"), $a_cp[$cpzone]['zone']);
+$pgtitle = array(gettext("Services"), gettext("Captive Portal"), gettext("Vouchers"), $a_cp[$cpzone]['zone']);
$shortcut_section = "captiveportal-vouchers";
if (!is_array($config['voucher'][$cpzone]['roll'])) {
@@ -430,9 +430,9 @@ if ($savemsg)
print_info_box($savemsg. 'success');
$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 IP Addresses"), false, "services_captiveportal_ip.php?zone={$cpzone}");
$tab_array[] = array(gettext("Allowed Hostnames"), false, "services_captiveportal_hostname.php?zone={$cpzone}");
$tab_array[] = array(gettext("Vouchers"), true, "services_captiveportal_vouchers.php?zone={$cpzone}");
$tab_array[] = array(gettext("File Manager"), false, "services_captiveportal_filemanager.php?zone={$cpzone}");
@@ -613,7 +613,7 @@ $section->addInput(new Form_Input(
'vouchersyncpass',
'Voucher sync password',
'password',
- $pconfig['vouchersyncuserpass']
+ $pconfig['vouchersyncpass']
))->setHelp('This is the password of the master voucher nodes webConfigurator.');
$section->addInput(new Form_Input(
OpenPOWER on IntegriCloud