Revision b7cf171b
Added by Phil Davis about 10 years ago
usr/local/www/wizards/openvpn_wizard.inc | ||
---|---|---|
209 | 209 |
$input_errors[] = "Please do not use special characters in Certificate field names."; |
210 | 210 |
} elseif (in_array($_POST['descr'], $canames) || in_array($_POST['descr'], $cacns)) { |
211 | 211 |
$stepid--; |
212 |
$savemsg = "Please enter a different name for the Certicicate Authority. A Certificate Authority with that name already exists.";
|
|
212 |
$savemsg = "Please enter a different name for the Certificate Authority. A Certificate Authority with that name already exists.";
|
|
213 | 213 |
} elseif (strlen($_POST['country']) != 2) { |
214 | 214 |
$stepid--; |
215 | 215 |
$savemsg = "Please enter only a two-letter ISO country code"; |
... | ... | |
481 | 481 |
header("Location:wizard.php?xml=openvpn_wizard.xml&stepid=1&message={$message}"); |
482 | 482 |
exit; |
483 | 483 |
} else if (!($auth = auth_get_authserver($pconfig['step2']['authserv']))) { |
484 |
$message = "Not a valid authentication server has been specified.";
|
|
484 |
$message = "An invalid authentication server has been specified.";
|
|
485 | 485 |
header("Location:wizard.php?xml=openvpn_wizard.xml&stepid=1&message={$message}"); |
486 | 486 |
exit; |
487 | 487 |
} |
... | ... | |
508 | 508 |
header("Location:wizard.php?xml=openvpn_wizard.xml&stepid=5&message={$message}"); |
509 | 509 |
exit; |
510 | 510 |
} else if (!($ca = lookup_ca($pconfig['step6']['authcertca']))) { |
511 |
$message = "Not a valid Certificate Authority specified.";
|
|
511 |
$message = "An invalid Certificate Authority has been specified.";
|
|
512 | 512 |
header("Location:wizard.php?xml=openvpn_wizard.xml&stepid=5&message={$message}"); |
513 | 513 |
exit; |
514 | 514 |
} |
... | ... | |
535 | 535 |
header("Location:wizard.php?xml=openvpn_wizard.xml&stepid=7&message={$message}"); |
536 | 536 |
exit; |
537 | 537 |
} else if (!($cert = lookup_cert($pconfig['step9']['authcertname']))) { |
538 |
$message = "Not a valid Certificate specified.";
|
|
538 |
$message = "An invalid Certificate has been specified.";
|
|
539 | 539 |
header("Location:wizard.php?xml=openvpn_wizard.xml&stepid=7&message={$message}"); |
540 | 540 |
exit; |
541 | 541 |
} |
usr/local/www/wizards/openvpn_wizard.xml | ||
---|---|---|
367 | 367 |
<field> |
368 | 368 |
<name>keylength</name> |
369 | 369 |
<displayname>Key length</displayname> |
370 |
<description><br/>Size of the key which will be generated. The larger the key, the more security is offers, but larger keys are generally slower to use.</description>
|
|
370 |
<description><br/>Size of the key which will be generated. The larger the key, the more security it offers, but larger keys are generally slower to use.</description>
|
|
371 | 371 |
<type>select</type> |
372 | 372 |
<value>2048</value> |
373 | 373 |
<bindstofield>ovpnserver->step6->keylength</bindstofield> |
... | ... | |
498 | 498 |
<field> |
499 | 499 |
<name>keylength</name> |
500 | 500 |
<displayname>Key length</displayname> |
501 |
<description><br/>Size of the key which will be generated. The larger the key, the more security is offers, but larger keys are generally slower to use.</description>
|
|
501 |
<description><br/>Size of the key which will be generated. The larger the key, the more security it offers, but larger keys are generally slower to use.</description>
|
|
502 | 502 |
<type>select</type> |
503 | 503 |
<value>2048</value> |
504 | 504 |
<bindstofield>ovpnserver->step9->keylength</bindstofield> |
usr/local/www/wizards/setup_wizard.xml | ||
---|---|---|
452 | 452 |
die; |
453 | 453 |
} |
454 | 454 |
if(!empty($_POST['pptpremoteipaddress']) && !is_ipaddr($_POST['pptpremoteipaddress'])) { |
455 |
print_info_box_np("Invalid PPTP Remopte IP Address. Please press back in your browser window and correct.");
|
|
455 |
print_info_box_np("Invalid PPTP Remote IP Address. Please press back in your browser window and correct."); |
|
456 | 456 |
die; |
457 | 457 |
} |
458 | 458 |
$type = $_POST['selectedtype']; |
usr/local/www/wizards/traffic_shaper_wizard_dedicated.xml | ||
---|---|---|
170 | 170 |
<field> |
171 | 171 |
<name>Address</name> |
172 | 172 |
<type>inputalias</type> |
173 |
<description>This allows you to just provide the IP address of the computer(s) or Penalize. NOTE: You can also use a Firewall Alias in this location.</description>
|
|
173 |
<description>This allows you to just provide the IP address of the computer(s) to penalize. NOTE: You can also use a Firewall Alias in this location.</description>
|
|
174 | 174 |
<bindstofield>ezshaper->step4->address</bindstofield> |
175 | 175 |
<message>IP Address field is non-blank and doesn't look like an IP address.</message> |
176 | 176 |
</field> |
... | ... | |
956 | 956 |
<value>L</value> |
957 | 957 |
</option> |
958 | 958 |
</options> |
959 |
<typehint>Jabber instant messanger</typehint>
|
|
959 |
<typehint>Jabber instant messenger</typehint>
|
|
960 | 960 |
</field> |
961 | 961 |
<field> |
962 | 962 |
<name>GoogleHangouts</name> |
usr/local/www/wizards/traffic_shaper_wizard_multi_all.xml | ||
---|---|---|
178 | 178 |
<field> |
179 | 179 |
<name>Address</name> |
180 | 180 |
<type>inputalias</type> |
181 |
<description>This allows you to just provide the IP address of the computer(s) or Penalize. NOTE: You can also use a Firewall Alias in this location.</description>
|
|
181 |
<description>This allows you to just provide the IP address of the computer(s) to penalize. NOTE: You can also use a Firewall Alias in this location.</description>
|
|
182 | 182 |
<bindstofield>ezshaper->step4->address</bindstofield> |
183 | 183 |
<message>IP Address field is non-blank and doesn't look like an IP address.</message> |
184 | 184 |
</field> |
... | ... | |
964 | 964 |
<value>L</value> |
965 | 965 |
</option> |
966 | 966 |
</options> |
967 |
<typehint>Jabber instant messanger</typehint>
|
|
967 |
<typehint>Jabber instant messenger</typehint>
|
|
968 | 968 |
</field> |
969 | 969 |
<field> |
970 | 970 |
<name>GoogleHangouts</name> |
Also available in: Unified diff
Minor wizard text fixups