Revision 7a22ab9b
Added by Chris Buechler over 10 years ago
usr/local/www/wizards/openvpn_wizard.inc | ||
---|---|---|
308 | 308 |
$input_errors[] = "Please do not use special characters in Certificate field names."; |
309 | 309 |
} elseif (in_array($_POST['descr'], $certnames) || in_array($_POST['descr'], $certcns)) { |
310 | 310 |
$stepid--; |
311 |
$savemsg = "Please enter a different name for the Certicicate. A Certificate with that name/common name already exists.";
|
|
311 |
$savemsg = "Please enter a different name for the Certificate. A Certificate with that name/common name already exists.";
|
|
312 | 312 |
} elseif (strlen($_POST['country']) != 2) { |
313 | 313 |
$stepid--; |
314 | 314 |
$savemsg = "Please enter only a two-letter ISO country code"; |
... | ... | |
391 | 391 |
|
392 | 392 |
$portused = openvpn_port_used($_POST['protocol'], $_POST['interface'], $_POST['localport']); |
393 | 393 |
if ($portused != 0) |
394 |
$input_errors[] = "The specified 'Local port' is in use. Please select another value";
|
|
394 |
$input_errors[] = "The specified 'Local port' is in use. Please enter a port not already in use.";
|
|
395 | 395 |
|
396 | 396 |
if (!isset($_POST['generatetlskey']) && isset($_POST['tlsauthentication'])) |
397 | 397 |
if (!strstr($_POST['tlssharedkey'], "-----BEGIN OpenVPN Static key V1-----") || |
... | ... | |
435 | 435 |
$pconfig = $config['ovpnserver']; |
436 | 436 |
|
437 | 437 |
if (!is_array($config['ovpnserver'])) { |
438 |
$message = "No configuration found please retry again.";
|
|
438 |
$message = "No configuration found, please try again.";
|
|
439 | 439 |
header("Location:wizard.php?xml=openvpn_wizard.xml&stepid=1&message={$message}"); |
440 | 440 |
exit; |
441 | 441 |
} |
Also available in: Unified diff
fix up text