| | |
| | | 'redirect_path' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'validators' => array ( 0 => array ( 'type' => 'REGEX', |
| | | 'regex' => '@^(([.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.\,\-\+\?]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@', |
| | | 'regex' => '@^(([.]{0})|(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.\,\-\+\?\~]*(\?\S+)?)?)?)|(/[\w/_\.\-]{1,255}/))$@', |
| | | 'errmsg'=> 'redirect_error_regex'), |
| | | ), |
| | | 'formtype' => 'TEXT', |
| | |
| | | ################################## |
| | | ) |
| | | ); |
| | | |
| | | |
| | | //* Logs |
| | | $form["tabs"]['logs'] = array ( |
| | | 'title' => "logs", |
| | | 'width' => 100, |
| | | 'template' => "templates/web_domain_logs.htm", |
| | | 'readonly' => true, |
| | | 'fields' => array ( |
| | | ################################## |
| | | # Begin Datatable fields |
| | | ################################## |
| | | 'logs' => array ( |
| | | 'datatype' => 'TEXT', |
| | | 'formtype' => 'TEXTAREA', |
| | | 'default' => 'DEFAULT', |
| | | 'value' => 'VALUE', |
| | | 'cols' => '30', |
| | | 'rows' => '10' |
| | | ) |
| | | ################################## |
| | | # ENDE Datatable fields |
| | | ################################## |
| | | ) |
| | | ); |
| | | |
| | | |
| | | |
| | | if($_SESSION["s"]["user"]["typ"] == 'admin') { |
| | | |