fix up text
This commit is contained in:
parent
cbc6a13fa3
commit
7a22ab9bb1
|
@ -308,7 +308,7 @@ function step9_submitphpaction() {
|
|||
$input_errors[] = "Please do not use special characters in Certificate field names.";
|
||||
} elseif (in_array($_POST['descr'], $certnames) || in_array($_POST['descr'], $certcns)) {
|
||||
$stepid--;
|
||||
$savemsg = "Please enter a different name for the Certicicate. A Certificate with that name/common name already exists.";
|
||||
$savemsg = "Please enter a different name for the Certificate. A Certificate with that name/common name already exists.";
|
||||
} elseif (strlen($_POST['country']) != 2) {
|
||||
$stepid--;
|
||||
$savemsg = "Please enter only a two-letter ISO country code";
|
||||
|
@ -391,7 +391,7 @@ function step10_submitphpaction() {
|
|||
|
||||
$portused = openvpn_port_used($_POST['protocol'], $_POST['interface'], $_POST['localport']);
|
||||
if ($portused != 0)
|
||||
$input_errors[] = "The specified 'Local port' is in use. Please select another value";
|
||||
$input_errors[] = "The specified 'Local port' is in use. Please enter a port not already in use.";
|
||||
|
||||
if (!isset($_POST['generatetlskey']) && isset($_POST['tlsauthentication']))
|
||||
if (!strstr($_POST['tlssharedkey'], "-----BEGIN OpenVPN Static key V1-----") ||
|
||||
|
@ -435,7 +435,7 @@ function step12_submitphpaction() {
|
|||
$pconfig = $config['ovpnserver'];
|
||||
|
||||
if (!is_array($config['ovpnserver'])) {
|
||||
$message = "No configuration found please retry again.";
|
||||
$message = "No configuration found, please try again.";
|
||||
header("Location:wizard.php?xml=openvpn_wizard.xml&stepid=1&message={$message}");
|
||||
exit;
|
||||
}
|
||||
|
|
Reference in New Issue