| | |
| | | 'valuelimit' => 'client:web_php_options', |
| | | 'value' => array('no' => 'disabled_txt', 'fast-cgi' => 'Fast-CGI', 'cgi' => 'CGI', 'mod' => 'Mod-PHP', 'suphp' => 'SuPHP') |
| | | ), |
| | | 'fastcgi_php_version' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'SELECT', |
| | | 'default' => '', |
| | | /*'datasource' => array ( 'type' => 'SQL', |
| | | 'querystring' => "SELECT ip_address,ip_address FROM server_ip WHERE ip_type = 'IPv4' AND {AUTHSQL} ORDER BY ip_address", |
| | | 'keyfield'=> 'ip_address', |
| | | 'valuefield'=> 'ip_address' |
| | | ),*/ |
| | | 'value' => '' |
| | | ), |
| | | 'ruby' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'SELECT', |
| | | 'default' => '', |
| | | 'value' => array('' => 'no_redirect_txt', 'no' => 'no_flag_txt', 'R' => 'R', 'L' => 'L', 'R,L' => 'R,L', 'last' => 'last', 'break' => 'break', 'redirect' => 'redirect', 'permanent' => 'permanent') |
| | | 'value' => array('' => 'no_redirect_txt', 'no' => 'no_flag_txt', 'R' => 'R', 'L' => 'L', 'R,L' => 'R,L', 'R=301,L' => 'R=301,L', 'last' => 'last', 'break' => 'break', 'redirect' => 'redirect', 'permanent' => 'permanent') |
| | | ), |
| | | 'redirect_path' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '@^(([.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.\,\-\+\?\~]*(\?\S+)?)?)?)|(\[scheme\]://([-\w\.]+)+(:\d+)?(/([\w/_\.\-\,\+\?\~]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@', |
| | | 'regex' => '@^(([\.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.\,\-\+\?\~]*(\?\S+)?)?)?)|(\[scheme\]://([-\w\.]+)+(:\d+)?(/([\w/_\.\-\,\+\?\~]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@', |
| | | 'errmsg'=> 'redirect_error_regex'), |
| | | ), |
| | | 'formtype' => 'TEXT', |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^(([.]{0})|([a-zA-Z0-9\ \.\-\_\,]{1,255}))$/', |
| | | 'regex' => '/^(([\.]{0})|([a-zA-Z0-9\ \.\-\_\,]{1,255}))$/', |
| | | 'errmsg'=> 'ssl_state_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^(([.]{0})|([a-zA-Z0-9\ \.\-\_\,]{1,255}))$/', |
| | | 'regex' => '/^(([\.]{0})|([a-zA-Z0-9\ \.\-\_\,]{1,255}))$/', |
| | | 'errmsg'=> 'ssl_locality_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^(([.]{0})|([a-zA-Z0-9\ \.\-\_\,]{1,255}))$/', |
| | | 'regex' => '/^(([\.]{0})|([a-zA-Z0-9\ \.\-\_\,]{1,255}))$/', |
| | | 'errmsg'=> 'ssl_organisation_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^(([.]{0})|([a-zA-Z0-9\ \.\-\_\,]{1,255}))$/', |
| | | 'regex' => '/^(([\.]{0})|([a-zA-Z0-9\ \.\-\_\,]{1,255}))$/', |
| | | 'errmsg'=> 'ssl_organistaion_unit_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^(([.]{0})|([A-Z]{2,2}))$/', |
| | | 'regex' => '/^(([\.]{0})|([A-Z]{2,2}))$/', |
| | | 'errmsg'=> 'ssl_country_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | ) |
| | | ); |
| | | |
| | | if($_SESSION["s"]["user"]["typ"] == 'admin') { |
| | | // if($_SESSION["s"]["user"]["typ"] == 'admin') { |
| | | |
| | | //* Backup |
| | | $form["tabs"]['backup'] = array ( |
| | |
| | | ################################## |
| | | # ENDE Datatable fields |
| | | ################################## |
| | | ), |
| | | 'plugins' => array ( |
| | | 'backup_records' => array ( |
| | | 'class' => 'plugin_backuplist', |
| | | 'options' => array( |
| | | ) |
| | | ) |
| | | ) |
| | | ); |
| | | |
| | | } |
| | | // } |
| | | |
| | | if($_SESSION["s"]["user"]["typ"] == 'admin') { |
| | | |
| | |
| | | 'regex' => '/^([1-9][0-9]{0,10})$/', |
| | | 'errmsg'=> 'pm_max_children_error_regex'), |
| | | ), |
| | | 'default' => '50', |
| | | 'default' => '10', |
| | | 'value' => '', |
| | | 'width' => '3', |
| | | 'maxlength' => '3' |
| | |
| | | 'regex' => '/^([1-9][0-9]{0,10})$/', |
| | | 'errmsg'=> 'pm_start_servers_error_regex'), |
| | | ), |
| | | 'default' => '20', |
| | | 'default' => '2', |
| | | 'value' => '', |
| | | 'width' => '3', |
| | | 'maxlength' => '3' |
| | |
| | | 'regex' => '/^([1-9][0-9]{0,10})$/', |
| | | 'errmsg'=> 'pm_min_spare_servers_error_regex'), |
| | | ), |
| | | 'default' => '5', |
| | | 'default' => '1', |
| | | 'value' => '', |
| | | 'width' => '3', |
| | | 'maxlength' => '3' |
| | |
| | | 'regex' => '/^([1-9][0-9]{0,10})$/', |
| | | 'errmsg'=> 'pm_max_spare_servers_error_regex'), |
| | | ), |
| | | 'default' => '35', |
| | | 'default' => '5', |
| | | 'value' => '', |
| | | 'width' => '3', |
| | | 'maxlength' => '3' |