tbrehm
2012-03-20 833369e7a35190e31d25e2722a608d545590ae72
interface/web/client/form/client.tform.php
@@ -62,6 +62,17 @@
   }
}
//* Load themes
$themes_list = array();
$handle = @opendir(ISPC_THEMES_PATH);
while ($file = @readdir ($handle)) {
    if (substr($file, 0, 1) != '.') {
        if(@is_dir(ISPC_THEMES_PATH."/$file")) {
         $themes_list[$file] = $file;
        }
   }
}
$form["tabs"]['address'] = array (
   'title'    => "Address",
   'width'    => 100,
@@ -87,6 +98,17 @@
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'contact_error_empty'),
                              ),
         'default'   => '',
         'value'      => '',
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '255',
         'rows'      => '',
         'cols'      => ''
      ),
      'customer_no' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'separator'   => '',
@@ -142,8 +164,8 @@
      'usertheme' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'SELECT',
         'default'   => 'default',
         'value'      => array('default' => 'default'),
         'default'   => $conf["theme"],
         'value'      => $themes_list,
         'separator'   => '',
         'width'      => '30',
         'maxlength'   => '255',
@@ -198,7 +220,7 @@
         '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',
@@ -262,6 +284,83 @@
         'cols'      => ''
      ),
      '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'   => '',
@@ -369,6 +468,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'      => '',
@@ -529,9 +642,26 @@
         'rows'      => '',
         'cols'      => ''
      ),
      'limit_web_quota' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'ISINT',
                                          'errmsg'=> 'limit_web_quota_error_notint'),
                           ),
         'default'   => '-1',
         'value'      => '',
         'separator'   => '',
         'width'      => '10',
         'maxlength'   => '10',
         'rows'      => '',
         'cols'      => ''
      ),
      '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',
@@ -596,10 +726,27 @@
      'ssh_chroot' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'CHECKBOXARRAY',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'ssh_chroot_notempty'),
                           ),
         'default'   => '',
         'separator' => ',',
         'valuelimit' => 'client:ssh_chroot',
         'value'      => array('no' => 'None', 'jailkit' => 'Jailkit')
      ),
      'limit_webdav_user' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'ISINT',
                                          'errmsg'=> 'limit_webdav_user_error_notint'),
                           ),
         'default'   => '-1',
         'value'      => '',
         'separator'   => '',
         'width'      => '10',
         'maxlength'   => '10',
         'rows'      => '',
         'cols'      => ''
      ),
      'default_dnsserver' => array (
         'datatype'   => 'INTEGER',
@@ -626,6 +773,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',
@@ -713,6 +874,45 @@
            'rows'      => '',
            'cols'      => ''
        ),
      'limit_traffic_quota' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'ISINT',
                                          'errmsg'=> 'limit_traffic_quota_error_notint'),
                           ),
         'default'   => '-1',
         'value'      => '',
         'separator'   => '',
         'width'      => '10',
         'maxlength'   => '10',
         '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
   ##################################
@@ -743,4 +943,4 @@
*/
?>
?>