| | |
| | | // Set a few fixed values |
| | | $this->dataRecord["server_id"] = $parent_domain["server_id"]; |
| | | |
| | | if(isset($this->dataRecord['username']) && trim($this->dataRecord['username']) == '') $app->tform->errorMessage .= $app->tform->lng('username_error_empty').'<br />'; |
| | | if(isset($this->dataRecord['username']) && empty($this->dataRecord['parent_domain_id'])) $app->tform->errorMessage .= $app->tform->lng('parent_domain_id_error_empty').'<br />'; |
| | | |
| | | parent::onSubmit(); |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | unset($blacklist); |
| | | |
| | | |
| | | /* |
| | | * If the names should be restricted -> do it! |
| | | */ |