thomas: server/kolab-webadmin/kolab-webadmin/php/admin/templates settings.tpl, 1.2, 1.3

cvs at kolab.org cvs at kolab.org
Thu Jun 5 19:33:53 CEST 2008


Author: thomas

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates
In directory doto:/tmp/cvs-serv6195/kolab-webadmin/kolab-webadmin/php/admin/templates

Modified Files:
	settings.tpl 
Log Message:
Fix deleting of domains and kolab hosts.

The problem was introduced right before 2.2-rc3 by "Fixes for XHTML strict".


Index: settings.tpl
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates/settings.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- settings.tpl	20 May 2008 17:32:32 -0000	1.2
+++ settings.tpl	5 Jun 2008 17:33:51 -0000	1.3
@@ -114,12 +114,12 @@
 </div>
 <br />
 <h2>{tr msg="Domains"}</h2>
-<form method="post" action="">
 <table class="contenttable" cellpadding="0" cellspacing="1px">
 	<tr class="contentrow">
 	<th>{tr msg="Domain"}</th><th>{tr msg="Action"}</th>
 	</tr>
 {section name=id loop=$postfixmydestination}
+	<form method="post" action="">
 	<tr class="contentrow{cycle values="even,odd"}">
 	   <td class="contentcell">{$postfixmydestination[id]|escape:"html"}</td>
 	   <td class="actioncell">{strip}
@@ -127,14 +127,16 @@
 		<input type="submit" name="deletedestination" value="{tr msg="Delete"}" />
            {/strip}</td>
 	</tr>
+	</form>
 {/section}
+	<form method="post" action="">
 	<tr class="contentrow{cycle values="even,odd"}">
 	   <td class="contentcell"> 
 		<input type="text" size="60" name="adestination" />
            </td><td class="actioncell"><input type="submit" name="adddestination" value="{tr msg="Add"}" /></td>
 	</tr>
+	</form>
 </table>
-</form>
 <br/>
 <h2>{tr msg="Mail Filter Settings"}</h2>
 <div class="contentform">
@@ -160,12 +162,12 @@
 <br />
 
 <h2>{tr msg="Kolab Hostnames (for Master and Slaves)"}</h2>
-<form method="post" action="">
 <table class="contenttable" cellpadding="0" cellspacing="1px">
 	<tr class="contentrow">
 	<th>{tr msg="Host"}</th><th>{tr msg="Action"}</th>
 	</tr>
 {section name=id loop=$kolabhost}
+	<form method="post" action="">
 	<tr class="contentrow{cycle values="even,odd"}">
 	   <td class="contentcell">{$kolabhost[id]|escape:"html"}</td>
 	   <td class="actioncell">{strip}
@@ -173,11 +175,13 @@
 		<input type="submit" name="deletekolabhost" value="{tr msg="Delete"}" />
            {/strip}</td>
 	</tr>
+	</form>
 {/section}
+	<form method="post" action="">
 	<tr class="contentrow{cycle values="even,odd"}">
 	   <td class="contentcell"> 
 		<input type="text" size="60" name="akolabhost" />
            </td><td class="actioncell"><input type="submit" name="addkolabhost" value="{tr msg="Add"}" /></td>
 	</tr>
+	</form>
 </table>
-</form>





More information about the commits mailing list