Newer
Older
'formtype' => 'TEXT',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'awstats_pl_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'awstats_pl_error_regex'),
),
'default' => '',
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'awstats_buildstaticpages_pl' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'awstats_buildstaticpages_pl_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'awstats_buildstaticpages_pl_error_regex'),
),
'default' => '',
'value' => '',
'width' => '40',
'maxlength' => '255'
//#################################
// ENDE Datatable fields
//#################################
$form["tabs"]['dns'] = array(
'title' => "DNS",
'width' => 60,
'template' => "templates/server_config_dns_edit.htm",
'fields' => array(
//#################################
// Begin Datatable fields
//#################################
'bind_user' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'bind_user_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^(?!ispconfig)([a-zA-Z0-9]{1,20})$/',
'errmsg'=> 'invalid_bind_user_txt'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'bind_group' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'bind_group_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^(?!ispconfig)([a-zA-Z0-9]{1,20})$/',
'errmsg'=> 'invalid_bind_group_txt'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'bind_zonefiles_dir' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'bind_zonefiles_dir_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'bind_zonefiles_dir_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'named_conf_path' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'named_conf_path_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'named_conf_path_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'named_conf_local_path' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'named_conf_local_path_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'named_conf_local_path_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
//#################################
// ENDE Datatable fields
//#################################
$form["tabs"]['fastcgi'] = array(
'title' => "FastCGI",
'width' => 80,
'template' => "templates/server_config_fastcgi_edit.htm",
'fields' => array(
//#################################
// Begin Datatable fields
//#################################
'fastcgi_starter_path' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'fastcgi_starter_path_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/\[\]]{1,128}$/',
'errmsg'=> 'fastcgi_starter_path_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'fastcgi_starter_script' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'fastcgi_starter_script_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'fastcgi_starter_script_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'fastcgi_alias' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'fastcgi_alias_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'fastcgi_alias_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'fastcgi_phpini_path' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'fastcgi_phpini_path_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/\[\]]{1,128}$/',
'errmsg'=> 'fastcgi_phpini_path_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'fastcgi_children' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array(0 => array('type' => 'ISPOSITIVE',
'errmsg' => 'fastcgi_children_error_empty'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'fastcgi_max_requests' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array( 'type' => 'ISINT',
'errmsg' => 'fastcgi_max_requests_error_empty'),
1 => array( 'type' => 'RANGE',
'range' => '0:',
'errmsg' => 'fastcgi_max_requests_error_empty'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'fastcgi_bin' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'fastcgi_bin_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/\[\]]{1,128}$/',
'errmsg'=> 'fastcgi_bin_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
'fastcgi_config_syntax' => array(
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'default' => '2',
'value' => array('1' => 'Old (apache 2.0)', '2' => 'New (apache 2.2)'),
'width' => '40',
'maxlength' => '255'
),
//#################################
// ENDE Datatable fields
//#################################
$form["tabs"]['jailkit'] = array(
'title' => "Jailkit",
'width' => 80,
'template' => "templates/server_config_jailkit_edit.htm",
'fields' => array(
//#################################
// Begin Datatable fields
//#################################
'jailkit_chroot_home' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'jailkit_chroot_home_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/\[\]]{1,128}$/',
'errmsg'=> 'jailkit_chroot_home_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'jailkit_chroot_app_sections' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'jailkit_chroot_app_sections_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\-\_\ ]{1,128}$/',
'errmsg'=> 'jailkit_chroot_app_sections_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '1000'
),
'jailkit_chroot_app_programs' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'jailkit_chroot_app_programs_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_\/\ ]{1,}$/',
'errmsg'=> 'jailkit_chroot_app_programs_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '1000'
),
'jailkit_chroot_cron_programs' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'jailkit_chroot_cron_programs_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\.\-\_\/\ ]{1,}$/',
'errmsg'=> 'jailkit_chroot_cron_programs_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '1000'
),
//#################################
// ENDE Datatable fields
//#################################
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
$form["tabs"]['ufw_firewall'] = array (
'title' => "UFW Firewall",
'width' => 80,
'template' => "templates/server_config_ufw_edit.htm",
'fields' => array (
##################################
# Begin Datatable fields
##################################
'ufw_enable' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'no',
'value' => array(0 => 'no',1 => 'yes')
),
'ufw_manage_builtins' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'no',
'value' => array(0 => 'no',1 => 'yes')
),
'ufw_ipv6' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'no',
'value' => array(0 => 'no',1 => 'yes')
),
'ufw_default_input_policy' => array (
'datatype' => 'VARCHAR',
'formtype' => 'SELECT',
'default' => 'ACCEPT',
'value' => array('ACCEPT' => 'accept', 'DROP' => 'drop', 'REJECT' => 'reject')
),
'ufw_default_output_policy' => array (
'datatype' => 'VARCHAR',
'formtype' => 'SELECT',
'default' => 'ACCEPT',
'value' => array('ACCEPT' => 'accept', 'DROP' => 'drop', 'REJECT' => 'reject')
),
'ufw_default_forward_policy' => array (
'datatype' => 'VARCHAR',
'formtype' => 'SELECT',
'default' => 'ACCEPT',
'value' => array('ACCEPT' => 'accept', 'DROP' => 'drop', 'REJECT' => 'reject')
),
'ufw_default_application_policy' => array (
'datatype' => 'VARCHAR',
'formtype' => 'SELECT',
'default' => 'DROP',
'value' => array('ACCEPT' => 'accept', 'DROP' => 'drop', 'REJECT' => 'reject')
),
'ufw_log_level' => array (
'datatype' => 'VARCHAR',
'formtype' => 'SELECT',
'default' => 'low',
'value' => array('low' => 'low', 'medium' => 'medium', 'high' => 'high')
)
##################################
# ENDE Datatable fields
##################################
)
);
$form["tabs"]['vlogger'] = array(
'title' => "vlogger",
'width' => 80,
'template' => "templates/server_config_vlogger_edit.htm",
'fields' => array(
//#################################
// Begin Datatable fields
//#################################
'config_dir' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'vlogger_config_dir_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'vlogger_config_dir_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
//#################################
// ENDE Datatable fields
//#################################
)
$form["tabs"]['cron'] = array(
'title' => "Cron",
'width' => 80,
'template' => "templates/server_config_cron_edit.htm",
'fields' => array(
//#################################
// Begin Datatable fields
//#################################
'init_script' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'cron_init_script_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^[a-zA-Z0-9\-\_]{1,30}$/',
'errmsg'=> 'cron_init_script_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'crontab_dir' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'crontab_dir_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'crontab_dir_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'wget' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'cron_wget_error_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'cron_wget_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
//#################################
// ENDE Datatable fields
//#################################
)
$form["tabs"]['rescue'] = array(
'title' => "Rescue",
'width' => 80,
'template' => "templates/server_config_rescue_edit.htm",
'fields' => array(
//#################################
// Begin Datatable fields
//#################################
'try_rescue' => array(
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'n',
'value' => array(0 => 'n', 1 => 'y')
),
'do_not_try_rescue_httpd' => array(
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'n',
'value' => array(0 => 'n', 1 => 'y')
),
'do_not_try_rescue_mysql' => array(
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'n',
'value' => array(0 => 'n', 1 => 'y')
),
'do_not_try_rescue_mail' => array(
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'n',
'value' => array(0 => 'n', 1 => 'y')
),
//#################################
// ENDE Datatable fields
//#################################
)
);