| | |
| | | $form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete |
| | | |
| | | $form["tabs"]['dns'] = array ( |
| | | 'title' => "DNS hinfo", |
| | | 'title' => "DNS HINFO", |
| | | 'width' => 100, |
| | | 'template' => "templates/dns_hinfo_edit.htm", |
| | | 'fields' => array ( |
| | |
| | | 'type' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'default' => 'A', |
| | | 'default' => 'HINFO', |
| | | 'value' => '', |
| | | 'width' => '5', |
| | | 'maxlength' => '5' |
| | |
| | | 'formtype' => 'TEXT', |
| | | 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', |
| | | 'errmsg'=> 'data_error_empty'), |
| | | 1 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[0-9\.]{10,15}$/', |
| | | 'errmsg'=> 'data_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | | 'value' => '', |