Commit d73e9920 authored by tbrehm's avatar tbrehm
Browse files

Fixed subdomain form.

parent 9b68e899
...@@ -968,7 +968,7 @@ CREATE TABLE `web_domain` ( ...@@ -968,7 +968,7 @@ CREATE TABLE `web_domain` (
`suexec` enum('n','y') NOT NULL default 'y', `suexec` enum('n','y') NOT NULL default 'y',
`errordocs` tinyint(1) NOT NULL default '1', `errordocs` tinyint(1) NOT NULL default '1',
`is_subdomainwww` tinyint(1) NOT NULL default '1', `is_subdomainwww` tinyint(1) NOT NULL default '1',
`subdomain` enum('none','www','*') NOT NULL default 'www', `subdomain` enum('none','www','*') NOT NULL default 'none',
`php` varchar(32) NOT NULL default 'y', `php` varchar(32) NOT NULL default 'y',
`redirect_type` varchar(255) default NULL, `redirect_type` varchar(255) default NULL,
`redirect_path` varchar(255) default NULL, `redirect_path` varchar(255) default NULL,
......
<?php <?php
$wb["ssl_state_txt"] = 'State'; $wb["ssl_state_txt"] = 'State';
$wb["ssl_locality_txt"] = 'Locality'; $wb["ssl_locality_txt"] = 'Locality';
$wb["ssl_organisation_txt"] = 'Organisation'; $wb["ssl_organisation_txt"] = 'Organisation';
$wb["ssl_organisation_unit_txt"] = 'Organisation Unit'; $wb["ssl_organisation_unit_txt"] = 'Organisation Unit';
$wb["ssl_country_txt"] = 'Country'; $wb["ssl_country_txt"] = 'Country';
$wb["ssl_request_txt"] = 'SSL Request'; $wb["ssl_request_txt"] = 'SSL Request';
$wb["ssl_cert_txt"] = 'SSL Certificate'; $wb["ssl_cert_txt"] = 'SSL Certificate';
$wb["ssl_bundle_txt"] = 'SSL Bundle'; $wb["ssl_bundle_txt"] = 'SSL Bundle';
$wb["ssl_action_txt"] = 'SSL Action'; $wb["ssl_action_txt"] = 'SSL Action';
$wb["server_id_txt"] = 'Server'; $wb["server_id_txt"] = 'Server';
$wb["domain_txt"] = 'Domain'; $wb["domain_txt"] = 'Domain';
$wb["type_txt"] = 'Type'; $wb["type_txt"] = 'Type';
$wb["parent_domain_id_txt"] = 'Parent Website'; $wb["parent_domain_id_txt"] = 'Parent Website';
$wb["redirect_type_txt"] = 'Redirect Type'; $wb["redirect_type_txt"] = 'Redirect Type';
$wb["redirect_path_txt"] = 'Redirect Path'; $wb["redirect_path_txt"] = 'Redirect Path';
$wb["active_txt"] = 'Active'; $wb["active_txt"] = 'Active';
$wb["document_root_txt"] = 'Documentroot'; $wb["document_root_txt"] = 'Documentroot';
$wb["system_user_txt"] = 'Linux User'; $wb["system_user_txt"] = 'Linux User';
$wb["system_group_txt"] = 'Linux Group'; $wb["system_group_txt"] = 'Linux Group';
$wb["ip_address_txt"] = 'IP-Address'; $wb["ip_address_txt"] = 'IP-Address';
$wb["vhost_type_txt"] = 'VHost Type'; $wb["vhost_type_txt"] = 'VHost Type';
$wb["hd_quota_txt"] = 'Harddisk Quota'; $wb["hd_quota_txt"] = 'Harddisk Quota';
$wb["traffic_quota_txt"] = 'Traffic Quota'; $wb["traffic_quota_txt"] = 'Traffic Quota';
$wb["cgi_txt"] = 'CGI'; $wb["cgi_txt"] = 'CGI';
$wb["ssi_txt"] = 'SSI'; $wb["ssi_txt"] = 'SSI';
$wb["errordocs_txt"] = 'Own Error-Documents'; $wb["errordocs_txt"] = 'Own Error-Documents';
$wb["subdomain_txt"] = 'Auto-Subdomain'; $wb["subdomain_txt"] = 'Auto-Subdomain';
$wb["ssl_txt"] = 'SSL'; $wb["ssl_txt"] = 'SSL';
$wb["suexec_txt"] = 'SuEXEC'; $wb["suexec_txt"] = 'SuEXEC';
$wb["php_txt"] = 'PHP'; $wb["php_txt"] = 'PHP';
$wb["client_txt"] = 'Client'; $wb["client_txt"] = 'Client';
$wb["limit_web_domain_txt"] = 'The max. number of web domains for your account is reached.'; $wb["limit_web_domain_txt"] = 'The max. number of web domains for your account is reached.';
$wb["limit_web_aliasdomain_txt"] = 'The max. number of aliasdomains for your account is reached.'; $wb["limit_web_aliasdomain_txt"] = 'The max. number of aliasdomains for your account is reached.';
$wb["limit_web_subdomain_txt"] = 'The max. number of web subdomains for your account is reached.'; $wb["limit_web_subdomain_txt"] = 'The max. number of web subdomains for your account is reached.';
$wb["apache_directives_txt"] = 'Apache directives'; $wb["apache_directives_txt"] = 'Apache directives';
$wb["domain_error_empty"] = 'Domain is empty.'; $wb["domain_error_empty"] = 'Domain is empty.';
$wb["domain_error_unique"] = 'There is already a website or sub / aliasdomain with this domain name.'; $wb["domain_error_unique"] = 'There is already a website or sub / aliasdomain with this domain name.';
$wb["domain_error_regex"] = 'Domain name invalid.'; $wb["domain_error_regex"] = 'Domain name invalid.';
$wb["hd_quota_error_empty"] = 'Harddisk quota is empty.'; $wb["hd_quota_error_empty"] = 'Harddisk quota is empty.';
$wb["traffic_quota_error_empty"] = 'Traffic quota is empty.'; $wb["traffic_quota_error_empty"] = 'Traffic quota is empty.';
$wb['error_ssl_state_empty'] = 'SSL State is empty.'; $wb['error_ssl_state_empty'] = 'SSL State is empty.';
$wb['error_ssl_locality_empty'] = 'SSL Locality is empty.'; $wb['error_ssl_locality_empty'] = 'SSL Locality is empty.';
$wb['error_ssl_organisation_empty'] = 'SSL Organisation is empty.'; $wb['error_ssl_organisation_empty'] = 'SSL Organisation is empty.';
$wb['error_ssl_organisation_unit_empty'] = 'SSL Organisation Unit 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_country_empty'] = 'SSL Country is empty.';
$wb["client_group_id_txt"] = 'Client'; $wb["client_group_id_txt"] = 'Client';
$wb["stats_password_txt"] = 'Webstatistics password'; $wb["stats_password_txt"] = 'Webstatistics password';
?>
?>
<?php <?php
$wb["ssl_state_txt"] = 'State'; $wb["ssl_state_txt"] = 'State';
$wb["ssl_locality_txt"] = 'Locality'; $wb["ssl_locality_txt"] = 'Locality';
$wb["ssl_organisation_txt"] = 'Organisation'; $wb["ssl_organisation_txt"] = 'Organisation';
$wb["ssl_organisation_unit_txt"] = 'Organisation Unit'; $wb["ssl_organisation_unit_txt"] = 'Organisation Unit';
$wb["ssl_country_txt"] = 'Country'; $wb["ssl_country_txt"] = 'Country';
$wb["ssl_request_txt"] = 'SSL Request'; $wb["ssl_request_txt"] = 'SSL Request';
$wb["ssl_cert_txt"] = 'SSL Certificate'; $wb["ssl_cert_txt"] = 'SSL Certificate';
$wb["ssl_bundle_txt"] = 'SSL Bundle'; $wb["ssl_bundle_txt"] = 'SSL Bundle';
$wb["ssl_action_txt"] = 'SSL Action'; $wb["ssl_action_txt"] = 'SSL Action';
$wb["server_id_txt"] = 'Server'; $wb["server_id_txt"] = 'Server';
$wb["domain_txt"] = 'Domain'; $wb["domain_txt"] = 'Domain';
$wb["type_txt"] = 'Type'; $wb["type_txt"] = 'Type';
$wb["parent_domain_id_txt"] = 'Parent Website'; $wb["parent_domain_id_txt"] = 'Parent Website';
$wb["redirect_type_txt"] = 'Redirect Type'; $wb["redirect_type_txt"] = 'Redirect Type';
$wb["redirect_path_txt"] = 'Redirect Path'; $wb["redirect_path_txt"] = 'Redirect Path';
$wb["active_txt"] = 'Active'; $wb["active_txt"] = 'Active';
$wb["document_root_txt"] = 'Documentroot'; $wb["document_root_txt"] = 'Documentroot';
$wb["system_user_txt"] = 'Linux User'; $wb["system_user_txt"] = 'Linux User';
$wb["system_group_txt"] = 'Linux Group'; $wb["system_group_txt"] = 'Linux Group';
$wb["ip_address_txt"] = 'IP-Address'; $wb["ip_address_txt"] = 'IP-Address';
$wb["vhost_type_txt"] = 'VHost Type'; $wb["vhost_type_txt"] = 'VHost Type';
$wb["hd_quota_txt"] = 'Harddisk Quota'; $wb["hd_quota_txt"] = 'Harddisk Quota';
$wb["traffic_quota_txt"] = 'Traffic Quaota'; $wb["traffic_quota_txt"] = 'Traffic Quaota';
$wb["cgi_txt"] = 'CGI'; $wb["cgi_txt"] = 'CGI';
$wb["ssi_txt"] = 'SSI'; $wb["ssi_txt"] = 'SSI';
$wb["ssl_txt"] = 'SSL'; $wb["ssl_txt"] = 'SSL';
$wb["suexec_txt"] = 'SuEXEC'; $wb["suexec_txt"] = 'SuEXEC';
$wb["php_txt"] = 'PHP'; $wb["php_txt"] = 'PHP';
$wb["client_txt"] = 'Client'; $wb["client_txt"] = 'Client';
$wb["limit_web_domain_txt"] = 'The max. number of web domains for your account is reached.'; $wb["limit_web_domain_txt"] = 'The max. number of web domains for your account is reached.';
$wb["limit_web_aliasdomain_txt"] = 'The max. number of aliasdomains for your account is reached.'; $wb["limit_web_aliasdomain_txt"] = 'The max. number of aliasdomains for your account is reached.';
$wb["limit_web_subdomain_txt"] = 'The max. number of web subdomains for your account is reached.'; $wb["limit_web_subdomain_txt"] = 'The max. number of web subdomains for your account is reached.';
$wb["apache_directives_txt"] = 'Apache directives'; $wb["apache_directives_txt"] = 'Apache directives';
$wb["domain_error_empty"] = 'Domain is empty.'; $wb["domain_error_empty"] = 'Domain is empty.';
$wb["domain_error_unique"] = 'There is already a website or sub / aliasdomain with this domain name.'; $wb["domain_error_unique"] = 'There is already a website or sub / aliasdomain with this domain name.';
$wb["domain_error_regex"] = 'Domain name invalid.'; $wb["domain_error_regex"] = 'Domain name invalid.';
$wb["host_txt"] = 'Host';
?> ?>
\ No newline at end of file
...@@ -5,10 +5,14 @@ ...@@ -5,10 +5,14 @@
<div class="pnl_formsarea"> <div class="pnl_formsarea">
<fieldset class="inlineLabels"> <fieldset class="inlineLabels">
<div class="ctrlHolder"> <div class="ctrlHolder">
<label for="domain">{tmpl_var name='domain_txt'}</label> <label for="domain">{tmpl_var name='host_txt'}</label>
<input name="domain" id="domain" value="{tmpl_var name='domain'}" size="30" maxlength="255" type="text" class="textInput" /> <input name="domain" id="domain" value="{tmpl_var name='domain'}" size="30" maxlength="255" type="text" class="textInput formLengthHalf" />
</div> </div>
<div class="ctrlHolder">
<label for="parent_domain_id">{tmpl_var name='domain_txt'}</label>
<select id="parent_domain_id" name="parent_domain_id" class="selectInput formLengthHalf">{tmpl_var name='parent_domain_id'}</select>
</div>
<div class="ctrlHolder"> <div class="ctrlHolder">
<label for="redirect_type">{tmpl_var name='redirect_type_txt'}</label> <label for="redirect_type">{tmpl_var name='redirect_type_txt'}</label>
<select name="redirect_type" id="redirect_type" class="selectInput formLengthHalf"> <select name="redirect_type" id="redirect_type" class="selectInput formLengthHalf">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment