latham
2011-11-04 f01cedec03c5cdc84b9d3b41550edeeec2e169d4
interface/web/admin/form/server_config.tform.php
@@ -282,6 +282,14 @@
         'width' => '10',
         'maxlength' => '15'
      ),
      'realtime_blackhole_list' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
   ##################################
   # ENDE Datatable fields
   ##################################
@@ -321,6 +329,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',
@@ -382,6 +396,28 @@
         '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',
         'maxlength' => '255'
      ),
      'CA_path' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
@@ -410,6 +446,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',
@@ -427,6 +469,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',
@@ -454,12 +518,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',
@@ -771,6 +901,7 @@
   )
);
/*
$form["tabs"]['ufw_firewall'] = array (
   'title'    => "UFW Firewall",
   'width'    => 80,
@@ -832,7 +963,7 @@
   ##################################
   )
);
*/
$form["tabs"]['vlogger'] = array(
   'title' => "vlogger",
@@ -922,7 +1053,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',