- Added a test if the ssl certificate field is empty when ssl action save is selected.
| | |
| | | $wb["error_ssl_organisation_empty"] = 'SSL Organisation is empty.';
|
| | | $wb["error_ssl_organisation_unit_empty"] = 'SSL Organisation Unit is empty.';
|
| | | $wb["error_ssl_country_empty"] = 'SSL Country is empty.';
|
| | | $wb["error_ssl_cert_empty"] = 'SSL Certificate field is empty';
|
| | | $wb["client_group_id_txt"] = 'Client';
|
| | | $wb["stats_password_txt"] = 'Webstatistics password';
|
| | | $wb["allow_override_txt"] = 'Apache AllowOverride';
|
| | |
| | | if($this->dataRecord['ssl_organisation_unit'] == '') $app->tform->errorMessage .= $app->tform->lng('error_ssl_organisation_unit_empty').'<br />'; |
| | | if($this->dataRecord['ssl_country'] == '') $app->tform->errorMessage .= $app->tform->lng('error_ssl_country_empty').'<br />'; |
| | | } |
| | | |
| | | if(isset($this->dataRecord['ssl_action']) && $this->dataRecord['ssl_action'] == 'save') { |
| | | if(trim($this->dataRecord['ssl_cert']) == '') $app->tform->errorMessage .= $app->tform->lng('error_ssl_cert_empty').'<br />'; |
| | | } |
| | | |
| | | } |
| | | |