Skip to content

Commit e3133e8

Browse files
author
Till Brehm
committed
FS#3558: Add firstname field for clients and resellers.
1 parent 8164cdd commit e3133e8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+82
-2
lines changed

install/sql/incremental/upd_dev_collection.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ ALTER TABLE `client_template` ADD `default_webserver` INT(11) NOT NULL DEFAULT 1
77
ALTER TABLE `client_template` ADD `default_dnsserver` INT(11) NOT NULL DEFAULT 1;
88
ALTER TABLE `client_template` ADD `default_slave_dnsserver` INT(11) NOT NULL DEFAULT 1;
99
ALTER TABLE `client_template` ADD `default_dbserver` INT(11) NOT NULL DEFAULT 1;
10+
ALTER TABLE `client` ADD `contact_firstname` VARCHAR( 64 ) NOT NULL DEFAULT '' AFTER `gender`;

install/sql/ispconfig3.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ CREATE TABLE `client` (
146146
`company_name` varchar(64) DEFAULT NULL,
147147
`company_id` varchar(255) DEFAULT NULL,
148148
`gender` enum('','m','f') NOT NULL DEFAULT '',
149+
`contact_firstname` varchar( 64 ) NOT NULL DEFAULT '',
149150
`contact_name` varchar(64) DEFAULT NULL,
150151
`customer_no` varchar(64) DEFAULT NULL,
151152
`vat_id` varchar(64) DEFAULT NULL,

interface/web/client/form/client.tform.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,18 @@
106106
'default' => '',
107107
'value' => array('' => '', 'm' => 'gender_m_txt', 'f' => 'gender_f_txt')
108108
),
109+
'contact_firstname' => array (
110+
'datatype' => 'VARCHAR',
111+
'formtype' => 'TEXT',
112+
'default' => '',
113+
'value' => '',
114+
'separator' => '',
115+
'width' => '30',
116+
'maxlength' => '255',
117+
'rows' => '',
118+
'cols' => '',
119+
'searchable' => 1
120+
),
109121
'contact_name' => array (
110122
'datatype' => 'VARCHAR',
111123
'formtype' => 'TEXT',

interface/web/client/form/reseller.tform.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,18 @@
106106
'default' => '',
107107
'value' => array('' => '', 'm' => 'gender_m_txt', 'f' => 'gender_f_txt')
108108
),
109+
'contact_firstname' => array (
110+
'datatype' => 'VARCHAR',
111+
'formtype' => 'TEXT',
112+
'default' => '',
113+
'value' => '',
114+
'separator' => '',
115+
'width' => '30',
116+
'maxlength' => '255',
117+
'rows' => '',
118+
'cols' => '',
119+
'searchable' => 1
120+
),
109121
'contact_name' => array (
110122
'datatype' => 'VARCHAR',
111123
'formtype' => 'TEXT',

interface/web/client/lib/lang/ar_client.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. number of spamfilter users';
1414
$wb['limit_spamfilter_policy_txt'] = 'Max. number of spamfilter policies';
1515
$wb['default_mailserver_txt'] = 'Default Mailserver';
1616
$wb['company_name_txt'] = 'Company name';
17+
$wb['contact_firstname_txt'] = 'Contact firstname';
1718
$wb['contact_name_txt'] = 'Contact name';
1819
$wb['username_txt'] = 'Username';
1920
$wb['password_txt'] = 'Password';

interface/web/client/lib/lang/ar_reseller.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. number of spamfilter users';
1313
$wb['limit_spamfilter_policy_txt'] = 'Max. number of spamfilter policies';
1414
$wb['default_mailserver_txt'] = 'Default Mailserver';
1515
$wb['company_name_txt'] = 'Company name';
16+
$wb['contact_firstname_txt'] = 'Contact firstname';
1617
$wb['contact_name_txt'] = 'Contact name';
1718
$wb['username_txt'] = 'Username';
1819
$wb['password_txt'] = 'Password';

interface/web/client/lib/lang/bg_client.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Макс. брой spamfilter users';
1313
$wb['limit_spamfilter_policy_txt'] = 'Макс. брой spamfilter policys';
1414
$wb['default_mailserver_txt'] = 'Пощенски сървър по подразбиране';
1515
$wb['company_name_txt'] = 'Компания';
16+
$wb['contact_firstname_txt'] = 'Contact firstname';
1617
$wb['contact_name_txt'] = 'Лице за контакт';
1718
$wb['username_txt'] = 'Потребителско име';
1819
$wb['password_txt'] = 'Парола';

interface/web/client/lib/lang/bg_reseller.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Max. number of spamfilter users';
1313
$wb['limit_spamfilter_policy_txt'] = 'Max. number of spamfilter policys';
1414
$wb['default_mailserver_txt'] = 'Мейл сървър по подразбиране';
1515
$wb['company_name_txt'] = 'Име на компанията';
16+
$wb['contact_firstname_txt'] = 'Contact firstname';
1617
$wb['contact_name_txt'] = 'Име за контакти';
1718
$wb['username_txt'] = 'Потребителско име';
1819
$wb['password_txt'] = 'Парола';

interface/web/client/lib/lang/br_client.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Número máximo de usuários de filtros spam
1313
$wb['limit_spamfilter_policy_txt'] = 'Número máximo de políticas de filtros spam';
1414
$wb['default_mailserver_txt'] = 'Servidor de Correio Padrão';
1515
$wb['company_name_txt'] = 'Empresa';
16+
$wb['contact_firstname_txt'] = 'Contact firstname';
1617
$wb['contact_name_txt'] = 'Contato';
1718
$wb['username_txt'] = 'Nome de Usuário';
1819
$wb['password_txt'] = 'Senha';

interface/web/client/lib/lang/br_reseller.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ $wb['limit_spamfilter_user_txt'] = 'Número máximo de usuários de spamfilter';
1313
$wb['limit_spamfilter_policy_txt'] = 'Número máximo de políticas de spamfilter';
1414
$wb['default_mailserver_txt'] = 'Servidor de Correio Padrão';
1515
$wb['company_name_txt'] = 'Empresa';
16+
$wb['contact_firstname_txt'] = 'Contact firstname';
1617
$wb['contact_name_txt'] = 'Contato';
1718
$wb['username_txt'] = 'Usuário';
1819
$wb['password_txt'] = 'Senha';

0 commit comments

Comments
 (0)