From a1db6855a18e6b35c5236d85c06bbe1cba8fa90a Mon Sep 17 00:00:00 2001 From: Sergio Cambra <sergio@programatica.es> Date: Tue, 08 Jul 2014 08:00:01 -0400 Subject: [PATCH] default servers on client templates --- interface/web/client/form/client_template.tform.php | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 55 insertions(+), 0 deletions(-) diff --git a/interface/web/client/form/client_template.tform.php b/interface/web/client/form/client_template.tform.php index dff2dcf..b1fd7d3 100644 --- a/interface/web/client/form/client_template.tform.php +++ b/interface/web/client/form/client_template.tform.php @@ -115,6 +115,17 @@ 'rows' => '', 'cols' => '' ), + 'default_mailserver' => array ( + 'datatype' => 'INTEGER', + 'formtype' => 'SELECT', + 'default' => '0', + 'datasource' => array ( 'type' => 'CUSTOM', + 'class'=> 'custom_datasource', + 'function'=> 'client_servers' + ), + 'value' => array(''), + 'name' => 'default_mailserver' + ), 'limit_maildomain' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', @@ -311,6 +322,17 @@ 'rows' => '', 'cols' => '' ), + 'default_webserver' => array ( + 'datatype' => 'INTEGER', + 'formtype' => 'SELECT', + 'default' => '0', + 'datasource' => array ( 'type' => 'CUSTOM', + 'class'=> 'custom_datasource', + 'function'=> 'client_servers' + ), + 'value' => array(''), + 'name' => 'default_webserver' + ), 'limit_web_domain' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', @@ -491,6 +513,17 @@ 'default' => 'y', 'value' => array(0 => 'n', 1 => 'y') ), + 'default_dnsserver' => array ( + 'datatype' => 'INTEGER', + 'formtype' => 'SELECT', + 'default' => '0', + 'datasource' => array ( 'type' => 'CUSTOM', + 'class'=> 'custom_datasource', + 'function'=> 'client_servers' + ), + 'value' => array(''), + 'name' => 'default_dnsserver' + ), 'limit_dns_zone' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', @@ -504,6 +537,17 @@ 'maxlength' => '10', 'rows' => '', 'cols' => '' + ), + 'default_slave_dnsserver' => array ( + 'datatype' => 'INTEGER', + 'formtype' => 'SELECT', + 'default' => '0', + 'datasource' => array ( 'type' => 'CUSTOM', + 'class'=> 'custom_datasource', + 'function'=> 'client_servers' + ), + 'value' => array(''), + 'name' => 'default_slave_dnsserver' ), 'limit_dns_slave_zone' => array ( 'datatype' => 'INTEGER', @@ -549,6 +593,17 @@ 'cols' => '' ), */ + 'default_dbserver' => array ( + 'datatype' => 'INTEGER', + 'formtype' => 'SELECT', + 'default' => '0', + 'datasource' => array ( 'type' => 'CUSTOM', + 'class'=> 'custom_datasource', + 'function'=> 'client_servers' + ), + 'value' => array(''), + 'name' => 'default_dbserver' + ), 'limit_database' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', -- Gitblit v1.9.1