From 01adf00112ac67607c4c909d9f04aa446b892ec3 Mon Sep 17 00:00:00 2001 From: NOYB Date: Fri, 22 Apr 2016 00:32:05 -0700 Subject: VPN Menu - Punctuation Clean up some VPN menu punctuation. (cherry picked from commit be4cebbf13b28cbcce289e96fb22f0355c945be8) --- src/usr/local/www/vpn_ipsec_keys_edit.php | 2 +- src/usr/local/www/vpn_ipsec_phase1.php | 2 +- src/usr/local/www/vpn_ipsec_settings.php | 2 +- src/usr/local/www/vpn_openvpn_client.php | 10 +++++----- src/usr/local/www/vpn_openvpn_server.php | 12 ++++++------ 5 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/usr/local') diff --git a/src/usr/local/www/vpn_ipsec_keys_edit.php b/src/usr/local/www/vpn_ipsec_keys_edit.php index 92994c7..05fb97d 100644 --- a/src/usr/local/www/vpn_ipsec_keys_edit.php +++ b/src/usr/local/www/vpn_ipsec_keys_edit.php @@ -169,7 +169,7 @@ $section->addInput(new Form_Input( 'Identifier', 'text', $pconfig['ident'] -))->setHelp('This can be either an IP address, fully qualified domain name or an e-mail address'); +))->setHelp('This can be either an IP address, fully qualified domain name or an e-mail address.'); $section->addInput(new Form_Select( 'type', diff --git a/src/usr/local/www/vpn_ipsec_phase1.php b/src/usr/local/www/vpn_ipsec_phase1.php index 29d521f..fdcef2b 100644 --- a/src/usr/local/www/vpn_ipsec_phase1.php +++ b/src/usr/local/www/vpn_ipsec_phase1.php @@ -721,7 +721,7 @@ if (!$pconfig['mobile']) { 'Remote Gateway', 'text', $pconfig['remotegw'] - ))->setHelp('Enter the public IP address or host name of the remote gateway'); + ))->setHelp('Enter the public IP address or host name of the remote gateway.'); } $section->addInput(new Form_Input( diff --git a/src/usr/local/www/vpn_ipsec_settings.php b/src/usr/local/www/vpn_ipsec_settings.php index 3c75716..70ca261 100644 --- a/src/usr/local/www/vpn_ipsec_settings.php +++ b/src/usr/local/www/vpn_ipsec_settings.php @@ -378,7 +378,7 @@ $section->addInput(new Form_Checkbox( $pconfig['makebeforebreak'] ))->setHelp('instead of a break-before-make scheme. Make-before-break uses overlapping IKE and CHILD_SA during reauthentication ' . 'by first recreating all new SAs before deleting the old ones. This behavior can be beneficial to avoid connectivity gaps ' . - 'during reauthentication, but requires support for overlapping SAs by the peer'); + 'during reauthentication, but requires support for overlapping SAs by the peer.'); $section->addInput(new Form_Checkbox( 'autoexcludelanaddress', diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php index 5a25af0..94643b4 100644 --- a/src/usr/local/www/vpn_openvpn_client.php +++ b/src/usr/local/www/vpn_openvpn_client.php @@ -462,7 +462,7 @@ if ($act=="new" || $act=="edit"): 'Disabled', 'Disable this client', $pconfig['disable'] - ))->setHelp('Set this option to disable this client without removing it from the list'); + ))->setHelp('Set this option to disable this client without removing it from the list.'); $section->addInput(new Form_Select( 'mode', @@ -765,7 +765,7 @@ if ($act=="new" || $act=="edit"): 'Don\'t add/remove routes', 'Don\'t add or remove routes automatically', $pconfig['route_no_exec'] - ))->setHelp('Pass routes to --route-upscript using environmental variables'); + ))->setHelp('Pass routes to --route-upscript using environmental variables.'); $form->add($section); @@ -776,17 +776,17 @@ if ($act=="new" || $act=="edit"): 'custom_options', 'Custom options', $pconfig['custom_options'] - ))->setHelp('Enter any additional options to add to the OpenVPN client configuration here, separated by semicolon'); + ))->setHelp('Enter any additional options to add to the OpenVPN client configuration here, separated by semicolon.'); $section->addInput(new Form_Select( 'verbosity_level', 'Verbosity level', $pconfig['verbosity_level'], $openvpn_verbosity_level - ))->setHelp('Each level shows all info from the previous levels. Level 3 is recommended for a good summary of what\'s happening without being swamped by output' . '

' . + ))->setHelp('Each level shows all info from the previous levels. Level 3 is recommended for a good summary of what\'s happening without being swamped by output.' . '

' . 'None: Only fatal errors' . '
' . 'Default through 4: Normal usage range' . '
' . - '5: Output R and W characters to the console for each packet read and write, uppercase is used for TCP/UDP packets and lowercase is used for TUN/TAP packets' .'
' . + '5: Output R and W characters to the console for each packet read and write. Uppercase is used for TCP/UDP packets and lowercase is used for TUN/TAP packets.' .'
' . '6-11: Debug info range'); $section->addInput(new Form_Input( diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php index 3af8448..a0db4f9 100644 --- a/src/usr/local/www/vpn_openvpn_server.php +++ b/src/usr/local/www/vpn_openvpn_server.php @@ -630,7 +630,7 @@ if ($act=="new" || $act=="edit"): 'Disabled', 'Disable this server', $pconfig['disable'] - ))->setHelp('Set this option to disable this server without removing it from the list'); + ))->setHelp('Set this option to disable this server without removing it from the list.'); $section->addInput(new Form_Select( 'mode', @@ -992,14 +992,14 @@ if ($act=="new" || $act=="edit"): $section->addInput(new Form_Checkbox( 'dynamic_ip', 'Dynamic IP', - 'Allow connected clients to retain their connections if their IP address changes', + 'Allow connected clients to retain their connections if their IP address changes.', $pconfig['dynamic_ip'] )); $section->addInput(new Form_Checkbox( 'pool_enable', 'Address Pool', - 'Provide a virtual adapter IP address to clients (see Tunnel Network)', + 'Provide a virtual adapter IP address to clients (see Tunnel Network).', $pconfig['pool_enable'] )); @@ -1162,7 +1162,7 @@ if ($act=="new" || $act=="edit"): 'custom_options', 'Custom options', $pconfig['custom_options'] - ))->setHelp('Enter any additional options to add to the OpenVPN server configuration here, separated by semicolon' . '
' . + ))->setHelp('Enter any additional options to add to the OpenVPN server configuration here, separated by semicolon.' . '
' . 'EXAMPLE: push "route 10.0.0.0 255.255.255.0"'); $section->addInput(new Form_Select( @@ -1170,10 +1170,10 @@ if ($act=="new" || $act=="edit"): 'Verbosity level', $pconfig['verbosity_level'], $openvpn_verbosity_level - ))->setHelp('Each level shows all info from the previous levels. Level 3 is recommended for a good summary of what\'s happening without being swamped by output' . '

' . + ))->setHelp('Each level shows all info from the previous levels. Level 3 is recommended for a good summary of what\'s happening without being swamped by output.' . '

' . 'None: Only fatal errors' . '
' . 'Default through 4: Normal usage range' . '
' . - '5: Output R and W characters to the console for each packet read and write, uppercase is used for TCP/UDP packets and lowercase is used for TUN/TAP packets' .'
' . + '5: Output R and W characters to the console for each packet read and write. Uppercase is used for TCP/UDP packets and lowercase is used for TUN/TAP packets.' .'
' . '6-11: Debug info range'); $section->addInput(new Form_Input( -- cgit v1.1