diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php index 9a347698de..ed2d52b561 100644 --- a/src/usr/local/www/services_captiveportal.php +++ b/src/usr/local/www/services_captiveportal.php @@ -640,7 +640,7 @@ $section->addInput(new Form_Input( 'Pre-authentication redirect URL', 'text', $pconfig['preauthurl'] -))->setHelp('Use this field to set $PORTAL_REDIRURL$ variable which can be accessed using your custom captive portal index.php page or error pages.'); +))->setHelp('Use this field to set $PORTAL_REDIRURL$ variable which can be accessed using the custom captive portal index.php page or error pages.'); $section->addInput(new Form_Input( 'redirurl', @@ -679,7 +679,7 @@ $section->addInput(new Form_Checkbox( 'Enable Pass-through MAC automatic additions', $pconfig['passthrumacadd'] ))->setHelp(sprintf('When enabled, a MAC passthrough entry is automatically added after the user has successfully authenticated. Users of that MAC address will ' . - 'never have to authenticate again. To remove the passthrough MAC entry you either have to log in and remove it manually from the ' . + 'never have to authenticate again. To remove the passthrough MAC entry either log in and remove it manually from the ' . '%s or send a POST from another system.' . 'If this is enabled, RADIUS MAC authentication cannot be used. Also, the logout window will not be shown.', 'MAC tab')); @@ -689,7 +689,7 @@ $section->addInput(new Form_Checkbox( 'Enable Pass-through MAC automatic addition with username', $pconfig['passthrumacaddusername'] ))->setHelp(sprintf('If enabled with the automatically MAC passthrough entry created, the username used during authentication will be saved. ' . - 'To remove the passthrough MAC entry you either have to log in and remove it manually from the %s or send a POST from another system.', + 'To remove the passthrough MAC entry either log in and remove it manually from the %s or send a POST from another system.', 'MAC tab')); $section->addInput(new Form_Checkbox( @@ -1022,7 +1022,7 @@ $section->addInput(new Form_Select( 'MAC address format', $pconfig['radmac_format'], ['default' => 'Default', 'singledash' => gettext('Single dash'), 'ietf' => 'IETF', 'cisco' => 'Cisco', 'unformatted' => gettext('Unformatted')] -))->setHelp('This option changes the MAC address format used in the whole RADIUS system. Change this if you also need to change the username format for ' . +))->setHelp('This option changes the MAC address format used in the whole RADIUS system. Change this if the username format also needs to be changed for ' . 'RADIUS MAC authentication.' . '
' . 'Default: 00:11:22:33:44:55' . '
' . 'Single dash: 001122-334455' . '
' . @@ -1048,7 +1048,7 @@ $section->addInput(new Form_Input( 'HTTPS server name', 'text', $pconfig['httpsname'] -))->setHelp('This name will be used in the form action for the HTTPS POST and should match the Common Name (CN) in your certificate ' . +))->setHelp('This name will be used in the form action for the HTTPS POST and should match the Common Name (CN) in the certificate ' . '(otherwise, the client browser will most likely display a security warning). ' . 'Make sure captive portal clients can resolve this name in DNS and verify on the client that the IP resolves to the correct interface IP on pfSense.'); @@ -1057,7 +1057,7 @@ $section->addInput(new Form_Select( 'SSL Certificate', $pconfig['certref'], build_cert_list() -))->setHelp('If no certificates are defined, you may define one here: ' . 'System > Cert. Manager'); +))->setHelp('If no certificates are defined, one may be defined here: ' . 'System > Cert. Manager'); $section->addInput(new Form_Checkbox( 'nohttpsforwards', @@ -1132,8 +1132,8 @@ $section->addInput(new Form_Input( 'Auth error page contents', 'file', $pconfig['errfile'] -))->setHelp('The contents of the HTML/PHP file that you upload here are displayed when an authentication error occurs. ' . - 'You may include "$PORTAL_MESSAGE$", which will be replaced by the error or reply messages from the RADIUS ' . +))->setHelp('The contents of the HTML/PHP file that is uploaded here are displayed when an authentication error occurs. ' . + 'It may include "$PORTAL_MESSAGE$", which will be replaced by the error or reply messages from the RADIUS ' . 'server, if any.')->addClass('btn btn-info btn-sm'); if ($pconfig['page']['errtext']) { @@ -1166,7 +1166,7 @@ $section->addInput(new Form_Input( 'Logout page contents', 'file', $pconfig['logoutfile'] -))->setHelp('The contents of the HTML/PHP file that you upload here are displayed on authentication success when the logout popup is enabled.')->addClass('btn btn-info btn-sm'); +))->setHelp('The contents of the HTML/PHP file that is uploaded here are displayed on authentication success when the logout popup is enabled.')->addClass('btn btn-info btn-sm'); if ($pconfig['page']['logouttext']) { $group = new Form_Group('Current Logout Page'); @@ -1202,7 +1202,7 @@ $section->addInput(new Form_Input( $form->add($section); print($form); -print_info_box(gettext('Don\'t forget to enable the DHCP server on your captive portal interface! ' . +print_info_box(gettext('Don\'t forget to enable the DHCP server on the captive portal interface! ' . 'Make sure that the default/maximum DHCP lease time is higher than the hard timeout entered on this page. ' . 'Also, the DNS Forwarder or Resolver must be enabled for DNS lookups by unauthenticated clients to work.')); diff --git a/src/usr/local/www/services_captiveportal_filemanager.php b/src/usr/local/www/services_captiveportal_filemanager.php index f7b16377d7..68834a7a34 100644 --- a/src/usr/local/www/services_captiveportal_filemanager.php +++ b/src/usr/local/www/services_captiveportal_filemanager.php @@ -276,14 +276,14 @@ endif;

-

+ "They may be referenced directly from the portal page HTML code using relative paths. " . + "Example: An image uploaded with the name 'captiveportal-test.jpg' using the " . + "file manager can then be included in the portal page like this:")?>

<img src="captiveportal-test.jpg" width=... height=...>

-

+

<a href="/captiveportal-aup.php?zone=$PORTAL_ZONE$&redirurl=$PORTAL_REDIRURL$"></a>

diff --git a/src/usr/local/www/services_captiveportal_hostname_edit.php b/src/usr/local/www/services_captiveportal_hostname_edit.php index b98add5e7d..9ab00e558c 100644 --- a/src/usr/local/www/services_captiveportal_hostname_edit.php +++ b/src/usr/local/www/services_captiveportal_hostname_edit.php @@ -223,7 +223,7 @@ $section->addInput(new Form_Input( 'Description', 'text', $pconfig['descr'] -))->setHelp('You may enter a description here for your reference (not parsed).'); +))->setHelp('A description may be entered here for administrative reference (not parsed).'); $section->addInput(new Form_Input( 'bw_up', diff --git a/src/usr/local/www/services_captiveportal_mac.php b/src/usr/local/www/services_captiveportal_mac.php index d07260ab2d..d80600b104 100644 --- a/src/usr/local/www/services_captiveportal_mac.php +++ b/src/usr/local/www/services_captiveportal_mac.php @@ -189,7 +189,7 @@ if ($savemsg) { } if (is_subsystem_dirty('passthrumac')) { - print_apply_box(gettext("The Captive Portal MAC address configuration has been changed.") . "
" . gettext("You must apply the changes in order for them to take effect.")); + print_apply_box(gettext("The Captive Portal MAC address configuration has been changed.") . "
" . gettext("The changes must be applied for them to take effect.")); } $tab_array = array(); diff --git a/src/usr/local/www/services_captiveportal_mac_edit.php b/src/usr/local/www/services_captiveportal_mac_edit.php index 5459e0067d..a838292a5a 100644 --- a/src/usr/local/www/services_captiveportal_mac_edit.php +++ b/src/usr/local/www/services_captiveportal_mac_edit.php @@ -139,7 +139,7 @@ if ($_POST) { $iflist = get_interface_list(); foreach ($iflist as $if) { if ($_POST['mac'] == strtolower($if['mac'])) { - $input_errors[] = sprintf(gettext("The MAC address %s belongs to a local interface, you cannot use it here."), $_POST['mac']); + $input_errors[] = sprintf(gettext("The MAC address %s belongs to a local interface. It cannot be used here."), $_POST['mac']); break; } } @@ -264,7 +264,7 @@ $section->addInput(new Form_Input( 'Description', 'text', $pconfig['descr'] -))->setHelp('You may enter a description here for your reference (not parsed)'); +))->setHelp('A description may be entered here for administrative reference (not parsed)'); $section->addInput(new Form_Input( 'bw_up', diff --git a/src/usr/local/www/services_captiveportal_vouchers.php b/src/usr/local/www/services_captiveportal_vouchers.php index 57eb862843..2fd9f83f2e 100644 --- a/src/usr/local/www/services_captiveportal_vouchers.php +++ b/src/usr/local/www/services_captiveportal_vouchers.php @@ -276,7 +276,7 @@ if ($_POST) { $input_errors[] = gettext("This doesn't look like an RSA Private key."); } if ($_POST['vouchersyncdbip'] && (is_ipaddr_configured($_POST['vouchersyncdbip']))) { - $input_errors[] = gettext("You cannot sync the voucher database to this host (itself)."); + $input_errors[] = gettext("The voucher database cannot be sync'd to this host (itself)."); } if ($_POST['vouchersyncpass'] != $_POST['vouchersyncpass_confirm']) { $input_errors[] = gettext("Password and confirmed password must match."); diff --git a/src/usr/local/www/services_captiveportal_zones.php b/src/usr/local/www/services_captiveportal_zones.php index e388869576..334ac181f0 100644 --- a/src/usr/local/www/services_captiveportal_zones.php +++ b/src/usr/local/www/services_captiveportal_zones.php @@ -99,7 +99,7 @@ if ($savemsg) { } if (is_subsystem_dirty('captiveportal')) { - print_apply_box(gettext("The Captive Portal entry list has been changed.") . "
" . gettext("You must apply the changes in order for them to take effect.")); + print_apply_box(gettext("The Captive Portal entry list has been changed.") . "
" . gettext("The changes must be applied for them to take effect.")); } ?>
diff --git a/src/usr/local/www/services_captiveportal_zones_edit.php b/src/usr/local/www/services_captiveportal_zones_edit.php index 0d3f8c6f62..12fbc0e702 100644 --- a/src/usr/local/www/services_captiveportal_zones_edit.php +++ b/src/usr/local/www/services_captiveportal_zones_edit.php @@ -126,7 +126,7 @@ $section->addInput(new Form_Input( $section->addInput(new Form_Input( 'descr', 'Zone description' -))->setHelp('You may enter a description here for your reference (not parsed).'); +))->setHelp('A description may be entered here for administrative reference (not parsed).'); $form->add($section);