Skip to content
Snippets Groups Projects
Commit 4562888b authored by Till Brehm's avatar Till Brehm
Browse files

Fixed Issue #4016 cannot set DNS servers in Client Template.

parent b67678c2
No related branches found
No related tags found
No related merge requests found
...@@ -635,6 +635,23 @@ $form["tabs"]['limits'] = array ( ...@@ -635,6 +635,23 @@ $form["tabs"]['limits'] = array (
'value' => array(''), 'value' => array(''),
'name' => 'default_dnsserver' '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 ( 'limit_dns_zone' => array (
'datatype' => 'INTEGER', 'datatype' => 'INTEGER',
'formtype' => 'TEXT', 'formtype' => 'TEXT',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment