Commit e3133e84 authored by Till Brehm's avatar Till Brehm
Browse files

FS#3558: Add firstname field for clients and resellers.

parent 8164cdd8
...@@ -7,3 +7,4 @@ ALTER TABLE `client_template` ADD `default_webserver` INT(11) NOT NULL DEFAULT 1 ...@@ -7,3 +7,4 @@ ALTER TABLE `client_template` ADD `default_webserver` INT(11) NOT NULL DEFAULT 1
ALTER TABLE `client_template` ADD `default_dnsserver` INT(11) NOT NULL DEFAULT 1; ALTER TABLE `client_template` ADD `default_dnsserver` INT(11) NOT NULL DEFAULT 1;
ALTER TABLE `client_template` ADD `default_slave_dnsserver` INT(11) NOT NULL DEFAULT 1; ALTER TABLE `client_template` ADD `default_slave_dnsserver` INT(11) NOT NULL DEFAULT 1;
ALTER TABLE `client_template` ADD `default_dbserver` INT(11) NOT NULL DEFAULT 1; ALTER TABLE `client_template` ADD `default_dbserver` INT(11) NOT NULL DEFAULT 1;
ALTER TABLE `client` ADD `contact_firstname` VARCHAR( 64 ) NOT NULL DEFAULT '' AFTER `gender`;
...@@ -146,6 +146,7 @@ CREATE TABLE `client` ( ...@@ -146,6 +146,7 @@ CREATE TABLE `client` (
`company_name` varchar(64) DEFAULT NULL, `company_name` varchar(64) DEFAULT NULL,
`company_id` varchar(255) DEFAULT NULL, `company_id` varchar(255) DEFAULT NULL,
`gender` enum('','m','f') NOT NULL DEFAULT '', `gender` enum('','m','f') NOT NULL DEFAULT '',
`contact_firstname` varchar( 64 ) NOT NULL DEFAULT '',
`contact_name` varchar(64) DEFAULT NULL, `contact_name` varchar(64) DEFAULT NULL,
`customer_no` varchar(64) DEFAULT NULL, `customer_no` varchar(64) DEFAULT NULL,
`vat_id` varchar(64) DEFAULT NULL, `vat_id` varchar(64) DEFAULT NULL,
......
...@@ -106,6 +106,18 @@ $form["tabs"]['address'] = array ( ...@@ -106,6 +106,18 @@ $form["tabs"]['address'] = array (
'default' => '', 'default' => '',
'value' => array('' => '', 'm' => 'gender_m_txt', 'f' => 'gender_f_txt') 'value' => array('' => '', 'm' => 'gender_m_txt', 'f' => 'gender_f_txt')
), ),
'contact_firstname' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'separator' => '',
'width' => '30',
'maxlength' => '255',
'rows' => '',
'cols' => '',
'searchable' => 1
),
'contact_name' => array ( 'contact_name' => array (
'datatype' => 'VARCHAR', 'datatype' => 'VARCHAR',
'formtype' => 'TEXT', 'formtype' => 'TEXT',
......
...@@ -106,6 +106,18 @@ $form["tabs"]['address'] = array ( ...@@ -106,6 +106,18 @@ $form["tabs"]['address'] = array (
'default' => '', 'default' => '',
'value' => array('' => '', 'm' => 'gender_m_txt', 'f' => 'gender_f_txt') 'value' => array('' => '', 'm' => 'gender_m_txt', 'f' => 'gender_f_txt')
), ),
'contact_firstname' => array (
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'separator' => '',
'width' => '30',
'maxlength' => '255',
'rows' => '',
'cols' => '',
'searchable' => 1
),
'contact_name' => array ( 'contact_name' => array (
'datatype' => 'VARCHAR', 'datatype' => 'VARCHAR',
'formtype' => 'TEXT', 'formtype' => 'TEXT',
......
...@@ -14,6 +14,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. number of spamfilter users'; ...@@ -14,6 +14,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. number of spamfilter users';
$wb['limit_spamfilter_policy_txt'] = 'Max. number of spamfilter policies'; $wb['limit_spamfilter_policy_txt'] = 'Max. number of spamfilter policies';
$wb['default_mailserver_txt'] = 'Default Mailserver'; $wb['default_mailserver_txt'] = 'Default Mailserver';
$wb['company_name_txt'] = 'Company name'; $wb['company_name_txt'] = 'Company name';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Contact name'; $wb['contact_name_txt'] = 'Contact name';
$wb['username_txt'] = 'Username'; $wb['username_txt'] = 'Username';
$wb['password_txt'] = 'Password'; $wb['password_txt'] = 'Password';
......
...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. number of spamfilter users'; ...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. number of spamfilter users';
$wb['limit_spamfilter_policy_txt'] = 'Max. number of spamfilter policies'; $wb['limit_spamfilter_policy_txt'] = 'Max. number of spamfilter policies';
$wb['default_mailserver_txt'] = 'Default Mailserver'; $wb['default_mailserver_txt'] = 'Default Mailserver';
$wb['company_name_txt'] = 'Company name'; $wb['company_name_txt'] = 'Company name';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Contact name'; $wb['contact_name_txt'] = 'Contact name';
$wb['username_txt'] = 'Username'; $wb['username_txt'] = 'Username';
$wb['password_txt'] = 'Password'; $wb['password_txt'] = 'Password';
......
...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Макс. брой spamfilter users'; ...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Макс. брой spamfilter users';
$wb['limit_spamfilter_policy_txt'] = 'Макс. брой spamfilter policys'; $wb['limit_spamfilter_policy_txt'] = 'Макс. брой spamfilter policys';
$wb['default_mailserver_txt'] = 'Пощенски сървър по подразбиране'; $wb['default_mailserver_txt'] = 'Пощенски сървър по подразбиране';
$wb['company_name_txt'] = 'Компания'; $wb['company_name_txt'] = 'Компания';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Лице за контакт'; $wb['contact_name_txt'] = 'Лице за контакт';
$wb['username_txt'] = 'Потребителско име'; $wb['username_txt'] = 'Потребителско име';
$wb['password_txt'] = 'Парола'; $wb['password_txt'] = 'Парола';
......
...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. number of spamfilter users'; ...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. number of spamfilter users';
$wb['limit_spamfilter_policy_txt'] = 'Max. number of spamfilter policys'; $wb['limit_spamfilter_policy_txt'] = 'Max. number of spamfilter policys';
$wb['default_mailserver_txt'] = 'Мейл сървър по подразбиране'; $wb['default_mailserver_txt'] = 'Мейл сървър по подразбиране';
$wb['company_name_txt'] = 'Име на компанията'; $wb['company_name_txt'] = 'Име на компанията';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Име за контакти'; $wb['contact_name_txt'] = 'Име за контакти';
$wb['username_txt'] = 'Потребителско име'; $wb['username_txt'] = 'Потребителско име';
$wb['password_txt'] = 'Парола'; $wb['password_txt'] = 'Парола';
......
...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Número máximo de usuários de filtros spam ...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Número máximo de usuários de filtros spam
$wb['limit_spamfilter_policy_txt'] = 'Número máximo de políticas de filtros spam'; $wb['limit_spamfilter_policy_txt'] = 'Número máximo de políticas de filtros spam';
$wb['default_mailserver_txt'] = 'Servidor de Correio Padrão'; $wb['default_mailserver_txt'] = 'Servidor de Correio Padrão';
$wb['company_name_txt'] = 'Empresa'; $wb['company_name_txt'] = 'Empresa';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Contato'; $wb['contact_name_txt'] = 'Contato';
$wb['username_txt'] = 'Nome de Usuário'; $wb['username_txt'] = 'Nome de Usuário';
$wb['password_txt'] = 'Senha'; $wb['password_txt'] = 'Senha';
......
...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Número máximo de usuários de spamfilter'; ...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Número máximo de usuários de spamfilter';
$wb['limit_spamfilter_policy_txt'] = 'Número máximo de políticas de spamfilter'; $wb['limit_spamfilter_policy_txt'] = 'Número máximo de políticas de spamfilter';
$wb['default_mailserver_txt'] = 'Servidor de Correio Padrão'; $wb['default_mailserver_txt'] = 'Servidor de Correio Padrão';
$wb['company_name_txt'] = 'Empresa'; $wb['company_name_txt'] = 'Empresa';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Contato'; $wb['contact_name_txt'] = 'Contato';
$wb['username_txt'] = 'Usuário'; $wb['username_txt'] = 'Usuário';
$wb['password_txt'] = 'Senha'; $wb['password_txt'] = 'Senha';
......
...@@ -14,6 +14,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. počet spamflitrových uživatelů'; ...@@ -14,6 +14,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. počet spamflitrových uživatelů';
$wb['limit_spamfilter_policy_txt'] = 'Max. počet spamfiltrových politik'; $wb['limit_spamfilter_policy_txt'] = 'Max. počet spamfiltrových politik';
$wb['default_mailserver_txt'] = 'Výchozí e-mailový server'; $wb['default_mailserver_txt'] = 'Výchozí e-mailový server';
$wb['company_name_txt'] = 'Název společnosti'; $wb['company_name_txt'] = 'Název společnosti';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Název kontaktu'; $wb['contact_name_txt'] = 'Název kontaktu';
$wb['username_txt'] = 'Uživatelské jméno'; $wb['username_txt'] = 'Uživatelské jméno';
$wb['password_txt'] = 'Heslo'; $wb['password_txt'] = 'Heslo';
......
...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. počet spamflitrových uživatelů'; ...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. počet spamflitrových uživatelů';
$wb['limit_spamfilter_policy_txt'] = 'Max. počet spamfiltrových politik'; $wb['limit_spamfilter_policy_txt'] = 'Max. počet spamfiltrových politik';
$wb['default_mailserver_txt'] = 'Výchozí e-mailový server'; $wb['default_mailserver_txt'] = 'Výchozí e-mailový server';
$wb['company_name_txt'] = 'Název společnosti'; $wb['company_name_txt'] = 'Název společnosti';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Název kontaktu'; $wb['contact_name_txt'] = 'Název kontaktu';
$wb['username_txt'] = 'Uživatelské jméno'; $wb['username_txt'] = 'Uživatelské jméno';
$wb['password_txt'] = 'Heslo'; $wb['password_txt'] = 'Heslo';
......
...@@ -13,7 +13,8 @@ $wb['limit_spamfilter_user_txt'] = 'Max. Anzahl an Spamfilter Benutzern'; ...@@ -13,7 +13,8 @@ $wb['limit_spamfilter_user_txt'] = 'Max. Anzahl an Spamfilter Benutzern';
$wb['limit_spamfilter_policy_txt'] = 'Max. Anzahl an Spamfilter Richtlinien'; $wb['limit_spamfilter_policy_txt'] = 'Max. Anzahl an Spamfilter Richtlinien';
$wb['default_mailserver_txt'] = 'Standardmailserver'; $wb['default_mailserver_txt'] = 'Standardmailserver';
$wb['company_name_txt'] = 'Firmenname'; $wb['company_name_txt'] = 'Firmenname';
$wb['contact_name_txt'] = 'Kontakt'; $wb['contact_firstname_txt'] = 'Vorname';
$wb['contact_name_txt'] = 'Nachname';
$wb['username_txt'] = 'Benutzername'; $wb['username_txt'] = 'Benutzername';
$wb['password_txt'] = 'Passwort'; $wb['password_txt'] = 'Passwort';
$wb['language_txt'] = 'Sprache'; $wb['language_txt'] = 'Sprache';
......
...@@ -13,7 +13,8 @@ $wb['limit_spamfilter_user_txt'] = 'Max. Anzahl an Spamfilter Benutzern'; ...@@ -13,7 +13,8 @@ $wb['limit_spamfilter_user_txt'] = 'Max. Anzahl an Spamfilter Benutzern';
$wb['limit_spamfilter_policy_txt'] = 'Max. Anzahl an Spamfilter Richtlinien'; $wb['limit_spamfilter_policy_txt'] = 'Max. Anzahl an Spamfilter Richtlinien';
$wb['default_mailserver_txt'] = 'Standardmailserver'; $wb['default_mailserver_txt'] = 'Standardmailserver';
$wb['company_name_txt'] = 'Firmenname'; $wb['company_name_txt'] = 'Firmenname';
$wb['contact_name_txt'] = 'Kontakt'; $wb['contact_firstname_txt'] = 'Vorname';
$wb['contact_name_txt'] = 'Nachname';
$wb['username_txt'] = 'Benutzername'; $wb['username_txt'] = 'Benutzername';
$wb['password_txt'] = 'Passwort'; $wb['password_txt'] = 'Passwort';
$wb['password_strength_txt'] = 'Passwortkomplexität'; $wb['password_strength_txt'] = 'Passwortkomplexität';
......
...@@ -14,6 +14,7 @@ $wb['limit_spamfilter_user_txt'] = 'Όριο χρηστών spamfilter'; ...@@ -14,6 +14,7 @@ $wb['limit_spamfilter_user_txt'] = 'Όριο χρηστών spamfilter';
$wb['limit_spamfilter_policy_txt'] = 'Όριο πολιτικών spamfilter'; $wb['limit_spamfilter_policy_txt'] = 'Όριο πολιτικών spamfilter';
$wb['default_mailserver_txt'] = 'Προκαθορισμένος Mailserver'; $wb['default_mailserver_txt'] = 'Προκαθορισμένος Mailserver';
$wb['company_name_txt'] = 'Όνομα εταιρίας'; $wb['company_name_txt'] = 'Όνομα εταιρίας';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Πρόσωπο Επικοινωνίας'; $wb['contact_name_txt'] = 'Πρόσωπο Επικοινωνίας';
$wb['username_txt'] = 'Όνομα Χρήστη'; $wb['username_txt'] = 'Όνομα Χρήστη';
$wb['password_txt'] = 'Συνθηματικό'; $wb['password_txt'] = 'Συνθηματικό';
......
...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Όριο χρηστών spamfilter'; ...@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Όριο χρηστών spamfilter';
$wb['limit_spamfilter_policy_txt'] = 'Όριο πολιτικών spamfilter'; $wb['limit_spamfilter_policy_txt'] = 'Όριο πολιτικών spamfilter';
$wb['default_mailserver_txt'] = 'Προκαθορισμένος Mailserver'; $wb['default_mailserver_txt'] = 'Προκαθορισμένος Mailserver';
$wb['company_name_txt'] = 'Όνομα Εταιρίας'; $wb['company_name_txt'] = 'Όνομα Εταιρίας';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Πρόσωπο Επικοινωνίας'; $wb['contact_name_txt'] = 'Πρόσωπο Επικοινωνίας';
$wb['username_txt'] = 'Όνομα Χρήστη'; $wb['username_txt'] = 'Όνομα Χρήστη';
$wb['password_txt'] = 'Συνθηματικό'; $wb['password_txt'] = 'Συνθηματικό';
......
...@@ -15,6 +15,7 @@ $wb["limit_spamfilter_user_txt"] = 'Max. number of spamfilter users'; ...@@ -15,6 +15,7 @@ $wb["limit_spamfilter_user_txt"] = 'Max. number of spamfilter users';
$wb["limit_spamfilter_policy_txt"] = 'Max. number of spamfilter policies'; $wb["limit_spamfilter_policy_txt"] = 'Max. number of spamfilter policies';
$wb["default_mailserver_txt"] = 'Default Mailserver'; $wb["default_mailserver_txt"] = 'Default Mailserver';
$wb["company_name_txt"] = 'Company name'; $wb["company_name_txt"] = 'Company name';
$wb["contact_firstname_txt"] = 'Contact firstname';
$wb["contact_name_txt"] = 'Contact name'; $wb["contact_name_txt"] = 'Contact name';
$wb["username_txt"] = 'Username'; $wb["username_txt"] = 'Username';
$wb["password_txt"] = 'Password'; $wb["password_txt"] = 'Password';
......
...@@ -15,6 +15,7 @@ $wb["limit_spamfilter_user_txt"] = 'Max. number of spamfilter users'; ...@@ -15,6 +15,7 @@ $wb["limit_spamfilter_user_txt"] = 'Max. number of spamfilter users';
$wb["limit_spamfilter_policy_txt"] = 'Max. number of spamfilter policies'; $wb["limit_spamfilter_policy_txt"] = 'Max. number of spamfilter policies';
$wb["default_mailserver_txt"] = 'Default Mailserver'; $wb["default_mailserver_txt"] = 'Default Mailserver';
$wb["company_name_txt"] = 'Company name'; $wb["company_name_txt"] = 'Company name';
$wb["contact_firstname_txt"] = 'Contact firstname';
$wb["contact_name_txt"] = 'Contact name'; $wb["contact_name_txt"] = 'Contact name';
$wb["username_txt"] = 'Username'; $wb["username_txt"] = 'Username';
$wb["password_txt"] = 'Password'; $wb["password_txt"] = 'Password';
......
...@@ -15,6 +15,7 @@ $wb['limit_spamfilter_user_txt'] = 'Número máximo de usuarios de filtros de sp ...@@ -15,6 +15,7 @@ $wb['limit_spamfilter_user_txt'] = 'Número máximo de usuarios de filtros de sp
$wb['limit_spamfilter_policy_txt'] = 'Número máximo de políticas de filtro de spam'; $wb['limit_spamfilter_policy_txt'] = 'Número máximo de políticas de filtro de spam';
$wb['default_mailserver_txt'] = 'Servidor de correo por defecto'; $wb['default_mailserver_txt'] = 'Servidor de correo por defecto';
$wb['company_name_txt'] = 'Nombre de la empresa'; $wb['company_name_txt'] = 'Nombre de la empresa';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Nombre de contacto'; $wb['contact_name_txt'] = 'Nombre de contacto';
$wb['username_txt'] = 'Usuario'; $wb['username_txt'] = 'Usuario';
$wb['password_txt'] = 'Contraseña'; $wb['password_txt'] = 'Contraseña';
......
...@@ -15,6 +15,7 @@ $wb['limit_spamfilter_user_txt'] = 'Número máximo de usuarios de filtros de sp ...@@ -15,6 +15,7 @@ $wb['limit_spamfilter_user_txt'] = 'Número máximo de usuarios de filtros de sp
$wb['limit_spamfilter_policy_txt'] = 'Número máximo de políticas de filtro de spam'; $wb['limit_spamfilter_policy_txt'] = 'Número máximo de políticas de filtro de spam';
$wb['default_mailserver_txt'] = 'Servidor de correo por defecto'; $wb['default_mailserver_txt'] = 'Servidor de correo por defecto';
$wb['company_name_txt'] = 'Nombre de la empresa'; $wb['company_name_txt'] = 'Nombre de la empresa';
$wb['contact_firstname_txt'] = 'Contact firstname';
$wb['contact_name_txt'] = 'Nombre de contacto'; $wb['contact_name_txt'] = 'Nombre de contacto';
$wb['username_txt'] = 'Usuario'; $wb['username_txt'] = 'Usuario';
$wb['password_txt'] = 'Contraseña'; $wb['password_txt'] = 'Contraseña';
......
Supports Markdown
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