From 79765f9c2d598bee3203ebd753be216a1a96487a Mon Sep 17 00:00:00 2001 From: Augustin-FL Date: Sun, 18 Nov 2018 10:12:06 +0100 Subject: Fix few spelling issues Ticket #9134 (cherry picked from commit 85a8f9b0ce0d0fac6f361bc5dfd09c67607020f1) --- src/etc/inc/captiveportal.inc | 2 +- src/usr/local/www/services_captiveportal.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/etc/inc/captiveportal.inc b/src/etc/inc/captiveportal.inc index 8b9a950..9b4856f 100644 --- a/src/etc/inc/captiveportal.inc +++ b/src/etc/inc/captiveportal.inc @@ -2656,7 +2656,7 @@ function captiveportal_send_server_accounting($type = 'on', $ruleno = null, $use } elseif ($type === 'update') { $racct = new Auth_RADIUS_Acct_Update; if (!is_int($stop_time)) { - $stop_time = time(); // "top time" here will be used only for calcuating session time. + $stop_time = time(); // "top time" here will be used only for calculating session time. } } else { return null; diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php index 3b82e18..8d6abad 100644 --- a/src/usr/local/www/services_captiveportal.php +++ b/src/usr/local/www/services_captiveportal.php @@ -907,7 +907,7 @@ $group->add(new Form_Select( true ))->setHelp("You can add a remote authentication server in the User Manager.
". "Vouchers could also be used, please go to ". - "the Voutchers Page to enable them."); + "the Vouchers Page to enable them."); $section->add($group); $group = new Form_Group('Secondary authentication Server'); @@ -955,7 +955,7 @@ $section->addInput(new Form_Input( 'RADIUS MAC Secret', 'text', $pconfig['radmac_secret'] -))->setHelp('RADIUS MAC will automatically try to authenticate devices with their MAC address as username, and the password entered below as password. Devices will still need to make one HTTP request to get connected, throught.'); +))->setHelp('RADIUS MAC will automatically try to authenticate devices with their MAC address as username, and the password entered below as password. Devices will still need to make one HTTP request to get connected, through.'); $section->addInput(new Form_Checkbox( 'radmac_fallback', @@ -1128,7 +1128,7 @@ $section->addInput(new Form_Checkbox( $pconfig['nohttpsforwards'] ))->setHelp('If this option is set, attempts to connect to SSL/HTTPS (Port 443) sites will not be forwarded to the captive portal. ' . 'This prevents certificate errors from being presented to the user even if HTTPS logins are enabled. ' . - 'Users must attempt a connecton to an HTTP (Port 80) site to get forwarded to the captive portal. ' . + 'Users must attempt a connection to an HTTP (Port 80) site to get forwarded to the captive portal. ' . 'If HTTPS logins are enabled, the user will be redirected to the HTTPS login page.'); $form->add($section); @@ -1292,7 +1292,7 @@ events.push(function() { else if(value.indexOf("Local Auth") === 0) { shouldHideLocal = false; } - if($('#auth_method').val().indexOf("authserver") === 0) { // There is no second auth possiblity when none/radmac are selected + if($('#auth_method').val().indexOf("authserver") === 0) { // There is no second auth possibility when none/radmac are selected shouldHideSecondAuth = false; } }); -- cgit v1.1