ftimme
2012-05-10 4c28d9c34f5f3e5ccbbed6dbb0ba08bc5235b53b
interface/web/client/form/client.tform.php
@@ -29,6 +29,11 @@
   Hint:
   The ID field of the database table is not part of the datafield definition.
   The ID field must be always auto incement (int or bigint).
   Search:
   - searchable = 1 or searchable = 2 include the field in the search
   - searchable = 1: this field will be the title of the search result
   - searchable = 2: this field will be included in the description of the search result
*/
@@ -90,7 +95,8 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'contact_name' => array (
         'datatype'   => 'VARCHAR',
@@ -104,7 +110,20 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 1
      ),
      'customer_no' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => '',
         'searchable' => 2
      ),
      'username' => array (
         'datatype'   => 'VARCHAR',
@@ -125,7 +144,8 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'password' => array (
         'datatype'   => 'VARCHAR',
@@ -153,7 +173,7 @@
      'usertheme' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'SELECT',
         'default'   => 'default',
         'default'   => $conf["theme"],
         'value'      => $themes_list,
         'separator'   => '',
         'width'      => '30',
@@ -170,7 +190,8 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'zip' => array (
         'datatype'   => 'VARCHAR',
@@ -181,7 +202,8 @@
         'width'      => '10',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'city' => array (
         'datatype'   => 'VARCHAR',
@@ -192,7 +214,8 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'state' => array (
         'datatype'   => 'VARCHAR',
@@ -203,13 +226,14 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'country' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'SELECT',
         'default'   => 'DE',
         'default'   => (isset($conf['language']) ? strtoupper($conf['language']) : ''),
         'datasource'   => array (    'type'   => 'SQL',
                              'querystring' => 'SELECT iso,printable_name FROM country ORDER BY printable_name',
                              'keyfield'=> 'iso',
@@ -226,7 +250,8 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'mobile' => array (
         'datatype'   => 'VARCHAR',
@@ -237,7 +262,8 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'fax' => array (
         'datatype'   => 'VARCHAR',
@@ -248,7 +274,8 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'email' => array (
         'datatype'   => 'VARCHAR',
@@ -259,7 +286,8 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'internet' => array (
         'datatype'   => 'VARCHAR',
@@ -270,9 +298,87 @@
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
         'cols'      => '',
         'searchable' => 2
      ),
      'icq' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
      ),
      'vat_id' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
      ),
      'company_id' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '20',
         'rows'      => '',
         'cols'      => ''
      ),
      'bank_account_number' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
      ),
      'bank_code' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
      ),
      'bank_name' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
      ),
      'bank_account_iban' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
      ),
      'bank_account_swift' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
@@ -380,6 +486,20 @@
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'ISINT',
                                          'errmsg'=> 'limit_mailaliasdomain_error_notint'),
                           ),
         'default'   => '-1',
         'value'      => '',
         'separator'   => '',
         'width'      => '10',
         'maxlength'   => '10',
         'rows'      => '',
         'cols'      => ''
      ),
      'limit_mailmailinglist' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'ISINT',
                                          'errmsg'=> 'limit_mailmailinglist_error_notint'),
                           ),
         'default'   => '-1',
         'value'      => '',
@@ -557,10 +677,13 @@
      'web_php_options' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'CHECKBOXARRAY',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'web_php_options_notempty'),
                           ),
         'default'   => '',
         'separator' => ',',
         'valuelimit' => 'client:web_php_options',
         'value'      => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP')
         'value'      => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP', 'php-fpm' => 'PHP-FPM')
      ),
      'limit_web_aliasdomain' => array (
         'datatype'   => 'INTEGER',
@@ -621,6 +744,9 @@
      'ssh_chroot' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'CHECKBOXARRAY',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'ssh_chroot_notempty'),
                           ),
         'default'   => '',
         'separator' => ',',
         'valuelimit' => 'client:ssh_chroot',
@@ -665,6 +791,20 @@
         'rows'      => '',
         'cols'      => ''
      ),
                'limit_dns_slave_zone' => array (
                        'datatype'      => 'INTEGER',
                        'formtype'      => 'TEXT',
                        'validators'    => array (      0 => array (    'type'  => 'ISINT',
                                                                                                                'errmsg'=> 'limit_dns_slave_zone_error_notint'),
                                                                        ),
                        'default'       => '-1',
                        'value'         => '',
                        'separator'     => '',
                        'width'         => '10',
                        'maxlength'     => '10',
                        'rows'          => '',
                        'cols'          => ''
                ),
      'limit_dns_record' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
@@ -766,6 +906,31 @@
         'rows'      => '',
         'cols'      => ''
      ),
      'limit_openvz_vm' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'ISINT',
                                          'errmsg'=> 'limit_openvz_vm_error_notint'),
                           ),
         'default'   => '0',
         'value'      => '',
         'separator'   => '',
         'width'      => '10',
         'maxlength'   => '10',
         'rows'      => '',
         'cols'      => ''
      ),
      'limit_openvz_vm_template_id' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'SELECT',
         'default'   => '',
         'datasource'   => array (    'type'   => 'SQL',
                              'querystring' => 'SELECT template_id,template_name FROM openvz_template WHERE 1 ORDER BY template_name',
                              'keyfield'=> 'template_id',
                              'valuefield'=> 'template_name'
                            ),
         'value'      => array(0 => ' ')
      ),
   ##################################
   # END Datatable fields
   ##################################
@@ -796,4 +961,4 @@
*/
?>
?>