| | |
| | | 'default' => 'y', |
| | | 'value' => array(0 => 'n', 1 => 'y') |
| | | ), |
| | | 'bootorder' => array ( |
| | | 'datatype' => 'INTEGER', |
| | | 'formtype' => 'TEXT', |
| | | 'default' => '0', |
| | | 'value' => '', |
| | | 'width' => '3', |
| | | 'maxlength' => '3', |
| | | 'validators' => array ( 0 => array ( 'type' => 'ISPOSITIVE', |
| | | 'errmsg'=> 'bootorder_error_notpositive'), |
| | | ), |
| | | ), |
| | | 'active' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'iptables' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'custom' => array ( |
| | | 'datatype' => 'TEXT', |
| | | 'formtype' => 'TEXTAREA', |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'separator' => '', |
| | | 'width' => '', |
| | | 'maxlength' => '', |
| | | 'rows' => '10', |
| | | 'cols' => '30', |
| | | 'searchable' => 2, |
| | | 'validators' => array ( 0 => array ('type' => 'CUSTOM', |
| | | 'class' => 'validate_openvz', |
| | | 'function' => 'check_custom', |
| | | 'errmsg'=> 'custom_error'), |
| | | ), |
| | | ), |
| | | //################################# |
| | | // ENDE Datatable fields |
| | | //################################# |
| | | ) |
| | | ); |
| | | |
| | | $form["tabs"]['additional_ip'] = array ( |
| | | 'title' => "Additional IP", |
| | | 'width' => 100, |
| | | 'template' => "templates/openvz_vm_additional_ip_edit.htm", |
| | | ); |
| | | } |
| | | |
| | | |