From 12ae7f4b1e0544a02a299ec5ef7ac998c8c800d0 Mon Sep 17 00:00:00 2001
From: vogelor <vogelor@ispconfig3>
Date: Tue, 16 Dec 2008 10:47:28 -0500
Subject: [PATCH] It is now possible to add additional templates to the client (and delete them)

---
 interface/web/client/templates/client_edit_limits.htm |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/interface/web/client/templates/client_edit_limits.htm b/interface/web/client/templates/client_edit_limits.htm
index 8792e00..5e4232b 100644
--- a/interface/web/client/templates/client_edit_limits.htm
+++ b/interface/web/client/templates/client_edit_limits.htm
@@ -9,6 +9,17 @@
         <select id="template_master" name="template_master">{tmpl_var name='template_master'}</select>
       </span>
     </fieldset>
+    <fieldset id="wf_area_client"><legend>Additional-Templates</legend>
+      <span class="wf_oneField">
+        <select id="tpl_add_select" name="tpl_add_select">{tmpl_var name='tpl_add_select'}</select>
+      </span>
+	  <span id="template_additional_list">{tmpl_var name='template_additional_list'}</span>
+      <input type="hidden" id="template_additional" name="template_additional" value="{tmpl_var name='template_additional'}">
+	    <div class="wf_actions buttons">
+          <button class="positive iconstxt icoAdd" type="button" value="Add additional template" onClick="addAdditionalTemplate();"><span>Add additional template</span></button>
+          <button class="negative iconstxt icoDelete" type="button" value="Delete additional template" onClick="delAdditionalTemplate();"><span>Delete additional template</span></button>
+		</div>
+    </fieldset>
     <fieldset id="wf_area_client"><legend>Limits</legend>
       <span class="wf_oneField">
         <label for="default_mailserver" class="wf_preField">{tmpl_var name='default_mailserver_txt'}</label>

--
Gitblit v1.9.1