ftimme
2012-04-25 c56ca0d827134a1062d5a7df13fb848fd2f39335
interface/web/client/form/client_template.tform.php
@@ -143,6 +143,34 @@
         'rows'      => '',
         'cols'      => ''
      ),
      'limit_mailaliasdomain' => array (
         'datatype'   => 'INTEGER',
         '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'      => '',
         'separator'   => '',
         'width'      => '10',
         'maxlength'   => '10',
         'rows'      => '',
         'cols'      => ''
      ),
      'limit_mailforward' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
@@ -283,6 +311,28 @@
         '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',
         'default'   => '',
         'separator' => ',',
         'valuelimit' => 'client:web_php_options',
         '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',
         'formtype'   => 'TEXT',
@@ -339,6 +389,34 @@
         'rows'      => '',
         'cols'      => ''
      ),
      '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'   => '0',
         'value'      => '',
         'separator'   => '',
         'width'      => '10',
         'maxlength'   => '10',
         'rows'      => '',
         'cols'      => ''
      ),
      'limit_dns_zone' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
@@ -353,6 +431,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'       => '0',
                        'value'         => '',
                        'separator'     => '',
                        'width'         => '10',
                        'maxlength'     => '10',
                        'rows'          => '',
                        'cols'          => ''
                ),
      'limit_dns_record' => array (
         'datatype'   => 'INTEGER',
         'formtype'   => 'TEXT',
@@ -431,6 +523,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
   ##################################