From 0c702ba44e114965f8afe09dfbac126691420479 Mon Sep 17 00:00:00 2001
From: vogelor <vogelor@ispconfig3>
Date: Tue, 16 Dec 2008 05:15:31 -0500
Subject: [PATCH] Clients can now have client-templates (template custom coming soon)

---
 interface/web/client/form/client.tform.php |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/interface/web/client/form/client.tform.php b/interface/web/client/form/client.tform.php
index b1caeaa..c0e4571 100644
--- a/interface/web/client/form/client.tform.php
+++ b/interface/web/client/form/client.tform.php
@@ -297,6 +297,17 @@
 	##################################
 	# Begin Datatable fields
 	##################################
+		'template_master' => array (
+			'datatype'	=> 'INTEGER',
+			'formtype'	=> 'SELECT',
+			'default'	=> '1',
+			'datasource'	=> array ( 	'type'	=> 'SQL',
+										'querystring' => "SELECT template_id,template_name FROM client_template WHERE template_type ='m'",
+										'keyfield'=> 'template_id',
+										'valuefield'=> 'template_name'
+									 ),
+			'value'		=> array('0' => 'custom')
+		),
 		'default_mailserver' => array (
 			'datatype'	=> 'INTEGER',
 			'formtype'	=> 'SELECT',

--
Gitblit v1.9.1