tbrehm
2011-07-25 ed30c60150ffda0301eb1f8d30c93cac94de41df
interface/web/sites/form/web_domain.tform.php
@@ -97,7 +97,7 @@
                              1 => array (   'type'   => 'UNIQUE',
                                          'errmsg'=> 'domain_error_unique'),
                              2 => array (   'type'   => 'REGEX',
                                          'regex' => '/^[\w\.\-]{2,255}\.[a-zA-Z\-]{2,10}$/',
                                          'regex' => '/^[\w\.\-]{2,255}\.[a-zA-Z0-9\-]{2,30}$/',
                                          'errmsg'=> 'domain_error_regex'),
                           ),
         'default'   => '',
@@ -133,6 +133,9 @@
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'hd_quota_error_empty'),
                              1 => array (   'type'   => 'REGEX',
                                          'regex' => '/^(\-1|[0-9]{1,10})$/',
                                          'errmsg'=> 'hd_quota_error_regex'),
                           ),
         'default'   => '-1',
         'value'      => '',
@@ -144,6 +147,9 @@
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'traffic_quota_error_empty'),
                              1 => array (   'type'   => 'REGEX',
                                          'regex' => '/^(\-1|[0-9]{1,10})$/',
                                          'errmsg'=> 'traffic_quota_error_regex'),
                           ),
         'default'   => '-1',
         'value'      => '',
@@ -177,8 +183,8 @@
      'subdomain' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'SELECT',
         'default'   => 'y',
         'value'      => array('none' => 'none', 'www' => 'www.', '*' => '*.')
         'default'   => 'www',
         'value'      => array('none' => 'none_txt', 'www' => 'www.', '*' => '*.')
      ),
      'ssl' => array (
         'datatype'   => 'VARCHAR',
@@ -191,7 +197,7 @@
         'formtype'   => 'SELECT',
         'default'   => 'fast-cgi',
         'valuelimit' => 'client:web_php_options',
         'value'      => array('no' => 'Disabled', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP')
         'value'      => array('no' => 'disabled_txt', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP')
      ),
      'ruby' => array (
         'datatype'   => 'VARCHAR',
@@ -225,7 +231,7 @@
         'datatype'   => 'VARCHAR',
         'formtype'   => 'SELECT',
         'default'   => '',
         'value'      => array('' => 'No redirect', 'no' => 'No flag', 'R' => 'R', 'L' => 'L', 'R,L' => 'R,L')
         'value'      => array('' => 'no_redirect_txt', 'no' => 'no_flag_txt', 'R' => 'R', 'L' => 'L', 'R,L' => 'R,L')
      ),
      'redirect_path' => array (
         'datatype'   => 'VARCHAR',
@@ -350,7 +356,7 @@
         'datatype'   => 'VARCHAR',
         'formtype'   => 'SELECT',
         'default'   => '',
         'value'      => array('' => 'None', 'save' => 'Save Certificate', 'create' => 'Create Certificate','del' => 'Delete Certificate')
         'value'      => array('' => 'none_txt', 'save' => 'save_certificate_txt', 'create' => 'create_certificate_txt','del' => 'delete_certificate_txt')
      ),
   ##################################
   # ENDE Datatable fields
@@ -479,9 +485,9 @@
      'php_open_basedir' => array (
         'datatype'   => 'VARCHAR',
         'formtype'   => 'TEXT',
         'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
         /*'validators'   => array (    0 => array (   'type'   => 'NOTEMPTY',
                                          'errmsg'=> 'php_open_basedir_error_empty'),
                           ),
                           ),   */
         'default'   => 'All',
         'value'      => '',
         'width'      => '30',
@@ -503,6 +509,14 @@
         'width'      => '30',
         'maxlength'   => '255'
      ),
        'nginx_directives' => array (
         'datatype'   => 'TEXT',
         'formtype'   => 'TEXT',
         'default'   => '',
         'value'      => '',
         'width'      => '30',
         'maxlength'   => '255'
      )
   ##################################
   # ENDE Datatable fields
   ##################################
@@ -512,4 +526,4 @@
}
?>
?>