tbrehm
2011-12-29 4d2cb4427cf615e1e6cf2d8e80f9361c0a143fdf
interface/web/admin/form/server_config.tform.php
@@ -138,6 +138,12 @@
         'width' => '40',
         'maxlength' => '255'
      ),
      'backup_dir_ftpread' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'CHECKBOX',
         'default' => 'y',
         'value' => array(0 => 'n', 1 => 'y')
      ),
   ##################################
   # ENDE Datatable fields
   ##################################
@@ -315,6 +321,12 @@
      ##################################
      # Begin Datatable fields
      ##################################
      'server_type' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'SELECT',
         'default' => 'apache',
         'value' => array('apache' => 'Apache', 'nginx' => 'Nginx')
      ),
      'website_basedir' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
@@ -348,6 +360,12 @@
         'width' => '40',
         'maxlength' => '255'
      ),
      'website_symlinks_rel' => array (
         'datatype' => 'VARCHAR',
         'formtype' => 'CHECKBOX',
         'default' => 'n',
         'value' => array(0 => 'n',1 => 'y')
      ),
      'vhost_conf_dir' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
@@ -365,6 +383,28 @@
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'vhost_conf_enabled_dir_error_empty'),
         ),
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
      'nginx_vhost_conf_dir' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'nginx_vhost_conf_dir_error_empty'),
         ),
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
      'nginx_vhost_conf_enabled_dir' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'nginx_vhost_conf_enabled_dir_error_empty'),
         ),
         'value' => '',
         'width' => '40',
@@ -398,6 +438,12 @@
         'default' => 'y',
         'value' => array(0 => 'n', 1 => 'y')
      ),
      'enable_sni' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'CHECKBOX',
         'default' => 'y',
         'value' => array(0 => 'n', 1 => 'y')
      ),
      'user' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
@@ -415,6 +461,28 @@
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'apache_group_error_empty'),
         ),
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
      'nginx_user' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'nginx_user_error_empty'),
         ),
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
      'nginx_group' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'nginx_group_error_empty'),
         ),
         'value' => '',
         'width' => '40',
@@ -442,12 +510,78 @@
         'width' => '40',
         'maxlength' => '255'
      ),
      'php_fpm_init_script' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'php_fpm_init_script_error_empty'),
         ),
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
      'php_fpm_ini_path' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'php_fpm_ini_path_error_empty'),
         ),
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
      'php_fpm_pool_dir' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'php_fpm_pool_dir_error_empty'),
         ),
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
      'php_fpm_start_port' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'php_fpm_start_port_error_empty'),
         ),
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
      'php_fpm_socket_dir' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'php_fpm_socket_dir_error_empty'),
         ),
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
      'php_open_basedir' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'php_open_basedir_error_empty'),
         ),
         'value' => '',
         'width' => '40',
         'maxlength' => '4000'
      ),
      'nginx_cgi_socket' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'validators' => array(0 => array('type' => 'NOTEMPTY',
               'errmsg' => 'nginx_cgi_socket_empty'),
         ),
         'value' => '',
         'width' => '40',
@@ -690,7 +824,7 @@
         'datatype' => 'INTEGER',
         'formtype' => 'SELECT',
         'default' => '2',
         'value' => array('1' => 'Old', '2' => 'New'),
         'value' => array('1' => 'Old (apache 2.0)', '2' => 'New (apache 2.2)'),
         'width' => '40',
         'maxlength' => '255'
      ),
@@ -759,6 +893,7 @@
   )
);
/*
$form["tabs"]['ufw_firewall'] = array (
   'title'    => "UFW Firewall",
   'width'    => 80,
@@ -820,7 +955,7 @@
   ##################################
   )
);
*/
$form["tabs"]['vlogger'] = array(
   'title' => "vlogger",
@@ -910,7 +1045,7 @@
         'default' => 'n',
         'value' => array(0 => 'n', 1 => 'y')
      ),
      'do_not_try_rescue_apache' => array(
      'do_not_try_rescue_httpd' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'CHECKBOX',
         'default' => 'n',