summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-12-16 11:39:28 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-12-16 11:39:28 -0500
commit4321baa6eb7416c7435b06451f40bce4291bdc46 (patch)
treeafbe7531cfbd99caa3a1464a6139fb72df7b3471 /src/usr/local/www/services_captiveportal.php
parente84865c8c5d72b44000aee8c1c3cf97c22686f9d (diff)
parent8e048cc13a6eae2ab72f08f4c5d6fdc94ddf7a8a (diff)
downloadpfsense-4321baa6eb7416c7435b06451f40bce4291bdc46.zip
pfsense-4321baa6eb7416c7435b06451f40bce4291bdc46.tar.gz
Merge pull request #2250 from phil-davis/r012
Diffstat (limited to 'src/usr/local/www/services_captiveportal.php')
-rw-r--r--src/usr/local/www/services_captiveportal.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php
index 640e6bd..8b75285 100644
--- a/src/usr/local/www/services_captiveportal.php
+++ b/src/usr/local/www/services_captiveportal.php
@@ -526,8 +526,9 @@ function build_radiusnas_list() {
$snip = long2ip32($start+$i);
$list[$snip] = $sn['descr'] . ' - ' . $snip;
}
- } else
+ } else {
$list[$sn['subnet']] = $sn['descr'] . ' - ' . $sn['subnet'];
+ }
}
}
@@ -539,8 +540,9 @@ function build_cert_list() {
$list = array();
- foreach($a_cert as $cert)
+ foreach ($a_cert as $cert) {
$list[$cert['refid']] = $cert['descr'];
+ }
return($list);
}
@@ -548,11 +550,13 @@ function build_cert_list() {
$closehead = false;
include("head.inc");
-if ($input_errors)
+if ($input_errors) {
print_input_errors($input_errors);
+}
-if ($savemsg)
+if ($savemsg) {
print_info_box($savemsg, 'success');
+}
$tab_array = array();
$tab_array[] = array(gettext("Configuration"), true, "services_captiveportal.php?zone={$cpzone}");
@@ -1167,7 +1171,7 @@ print_info_box(gettext('Warning:' . '<br />' . 'Don\'t forget to enable the DHCP
<script type="text/javascript">
//<![CDATA[
-events.push(function(){
+events.push(function() {
// ------- Show/hide sections based on checkbox settings --------------------------------------
function hideSections(hide) {
OpenPOWER on IntegriCloud