ftimme
2012-05-30 2cb1563f63386b35a69e460051aa9b4a2851d104
interface/web/admin/form/server_config.tform.php
@@ -138,11 +138,13 @@
         'width' => '40',
         'maxlength' => '255'
      ),
      'backup_dir_ftpread' => array(
      'backup_mode' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'CHECKBOX',
         'default' => 'y',
         'value' => array(0 => 'n', 1 => 'y')
         'formtype' => 'SELECT',
         'default' => 'userzip',
         'value' => array('userzip' => 'backup_mode_userzip', 'rootgz' => 'backup_mode_rootgz'),
         'width' => '40',
         'maxlength' => '255'
      ),
   ##################################
   # ENDE Datatable fields
@@ -282,6 +284,14 @@
         'width' => '10',
         'maxlength' => '15'
      ),
      'realtime_blackhole_list' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '',
         'value' => '',
         'width' => '40',
         'maxlength' => '255'
      ),
   ##################################
   # ENDE Datatable fields
   ##################################
@@ -321,6 +331,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',
@@ -354,6 +370,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',
@@ -371,6 +393,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,7 +442,25 @@
         'default' => '20',
         'value' => array('10' => 'Medium', '20' => 'High')
      ),
      'set_folder_permissions_on_update' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'CHECKBOX',
         'default' => 'y',
         'value' => array(0 => 'n', 1 => 'y')
      ),
      'add_web_users_to_sshusers_group' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'CHECKBOX',
         'default' => 'y',
         'value' => array(0 => 'n', 1 => 'y')
      ),
      'check_apache_config' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'CHECKBOX',
         'default' => 'y',
         'value' => array(0 => 'n', 1 => 'y')
      ),
      'enable_sni' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'CHECKBOX',
         'default' => 'y',
@@ -426,6 +488,45 @@
         'width' => '40',
         'maxlength' => '255'
      ),
      'connect_userid_to_webid' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'CHECKBOX',
         'default' => 'n',
         'value' => array(0 => 'n', 1 => 'y')
      ),
      'connect_userid_to_webid_start' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
         'default' => '10000',
         'validators' => array(0 => array('type' => 'ISINT',
               'errmsg' => 'connect_userid_to_webid_startid_isint'),
         ),
         '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',
         'maxlength' => '255'
      ),
      'php_ini_path_apache' => array(
         'datatype' => 'VARCHAR',
         'formtype' => 'TEXT',
@@ -448,12 +549,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',
@@ -765,6 +932,7 @@
   )
);
/*
$form["tabs"]['ufw_firewall'] = array (
   'title'    => "UFW Firewall",
   'width'    => 80,
@@ -826,7 +994,7 @@
   ##################################
   )
);
*/
$form["tabs"]['vlogger'] = array(
   'title' => "vlogger",
@@ -916,7 +1084,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',