Newer
Older
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'nginx_cgi_socket_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'nginx_cgi_socket_error_regex'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'htaccess_allow_override' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'htaccess_allow_override_error_empty'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'enable_spdy' => array (
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'value' => array (
0 => 'n',
1 => 'y'
)
),
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
'apps_vhost_port' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '8081',
'validators' => array(0 => array('type' => 'NOTEMPTY',
'errmsg' => 'apps_vhost_port_error_empty'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'apps_vhost_ip' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '_default_',
'validators' => array(0 => array('type' => 'NOTEMPTY',
'errmsg' => 'apps_vhost_ip_error_empty'),
),
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'apps_vhost_servername' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'awstats_conf_dir' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '',
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'awstats_data_dir' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'validators' => array( 0 => array('type' => 'NOTEMPTY',
'errmsg' => 'awstats_data_dir_empty'),
1 => array ( 'type' => 'REGEX',
'regex' => '/^\/[a-zA-Z0-9\.\-\_\/]{1,128}$/',
'errmsg'=> 'awstats_data_dir_error_regex'),
),
'default' => '',
'value' => '',
'width' => '40',
'maxlength' => '255'
),
'awstats_pl' => array(
'datatype' => 'VARCHAR',
'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
//#################################
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
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
$form["tabs"]['xmpp'] = array(
'title' => "XMPP",
'width' => 80,
'template' => "templates/server_config_xmpp_edit.htm",
'fields' => array(
//#################################
// Begin Datatable fields
//#################################
'xmpp_use_ipv6' => array(
'datatype' => 'VARCHAR',
'formtype' => 'CHECKBOX',
'default' => 'n',
'value' => array(0 => 'n', 1 => 'y')
),
'xmpp_bosh_max_inactivity' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '30',
'validators' => array(0 => array('type' => 'ISINT',
'errmsg' => 'ip_address_error_wrong'),
array('type'=>'RANGE', 'range'=>'15:360', 'errmsg' => 'xmpp_bosh_timeout_range_wrong')
),
'value' => '',
'width' => '15'
),
'xmpp_server_admins' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => 'admin@service.com, superuser@service.com',
'value' => '',
'width' => '15'
),
'xmpp_modules_enabled' => array(
'datatype' => 'TEXT',
'formtype' => 'TEXT',
'default' => "saslauth, tls, dialback, disco, discoitems, version, uptime, time, ping, admin_adhoc, admin_telnet, bosh, posix, announce, offline, webpresence, mam, stream_management, message_carbons",
'value' => '',
'separator' => ","
),
'xmpp_port_http' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '5290',
'validators' => array(0 => array('type' => 'ISINT')),
'value' => '5290',
'width' => '15'
),
'xmpp_port_https' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '5291',
'validators' => array(0 => array('type' => 'ISINT')),
'value' => '5291',
'width' => '15'
),
'xmpp_port_pastebin' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '5292',
'validators' => array(0 => array('type' => 'ISINT')),
'value' => '5292',
'width' => '15'
),
'xmpp_port_bosh' => array(
'datatype' => 'VARCHAR',
'formtype' => 'TEXT',
'default' => '5280',
'validators' => array(0 => array('type' => 'ISINT')),
'value' => '5280',
'width' => '15'
),
//#################################
// 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
//#################################
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
$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_mongodb' => 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
//#################################
)
);