Fixed Issue #4016 cannot set DNS servers in Client Template.
| | |
| | | 'value' => array(''), |
| | | 'name' => 'default_dnsserver' |
| | | ),*/ |
| | | 'dns_servers' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'MULTIPLE', |
| | | 'separator' => ',', |
| | | 'default' => '1', |
| | | 'datasource' => array ( 'type' => 'CUSTOM', |
| | | 'class'=> 'custom_datasource', |
| | | 'function'=> 'client_servers' |
| | | ), |
| | | 'validators' => array ( 0 => array ( 'type' => 'CUSTOM', |
| | | 'class' => 'validate_client', |
| | | 'function' => 'check_used_servers', |
| | | 'errmsg'=> 'dns_servers_used'), |
| | | ), |
| | | 'value' => '', |
| | | 'name' => 'dns_servers' |
| | | ), |
| | | 'limit_dns_zone' => array ( |
| | | 'datatype' => 'INTEGER', |
| | | 'formtype' => 'TEXT', |