steffen: server/kolab-webadmin/kolab-webadmin/php/admin/templates domainmaintainerlistall.tpl, NONE, 1.1 service.tpl, 1.5, 1.6

cvs at intevation.de cvs at intevation.de
Tue Jul 5 12:31:53 CEST 2005


Author: steffen

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

Modified Files:
	service.tpl 
Added Files:
	domainmaintainerlistall.tpl 
Log Message:
multi-domain config (working) + per-domain maintainer config (not working yet)

--- NEW FILE: domainmaintainerlistall.tpl ---
{* Smarty Template *}
{*
  Local variables:
  buffer-file-coding-system: utf-8
  End:
*}
<div class="contenttext">

</div>

<table class="contenttable" cellpadding="0" cellspacing="1px">
	<tr class="contentrow">
	<th>{tr msg="Name"}</th><th>{tr msg="UID"}</th><th>Domains</th><th colspan="2">{tr msg="Action"}</th>
	</tr>
{section name=id loop=$entries}
	<tr class="contentrow{cycle values="even,odd"}">
	   <td class="contentcell">{$entries[id].sn|escape:"html"}, {$entries[id].fn|escape:"html"}</td>
	   <td class="contentcell">{$entries[id].uid|escape:"html"}</td>
	   <td class="contentcell">{$entries[id].domains|escape:"html"}</td>
	{if $entries[id].deleted neq "FALSE"}
	   <td class="actioncell" colspan="2">{tr msg="Object Deleted, awaiting cleanup..."}</td>
	{else}
	   <td class="actioncell"><a href="maintainer.php?action=modify&dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
	   <td class="actioncell"><a href="maintainer.php?action=delete&dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
	{/if}
	</tr>
{/section}
</table>

Index: service.tpl
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/templates/service.tpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- service.tpl	15 Jun 2005 11:11:43 -0000	1.5
+++ service.tpl	5 Jul 2005 10:31:51 -0000	1.6
@@ -103,6 +103,31 @@
 </form>
 </div>
 <br />
+<h2>{tr msg="Domains"}</h2>
+<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}
+	<tr class="contentrow{cycle values="even,odd"}">
+	   <td class="contentcell">{$postfixmydestination[id]|escape:"html"}</td>
+	   <td class="actioncell">{strip}
+		<form method="post">
+		<input type="hidden" name="adestination" value="{$postfixmydestination[id]}" />
+		<input type="submit" name="deletedestination" value="{tr msg="Delete"}" />
+		</form>
+           {/strip}</td>
+	</tr>
+{/section}
+	<tr class="contentrow{cycle values="even,odd"}">
+	   <form method="post">
+	   <td class="contentcell"> 
+		<input type="text" size="60" name="adestination" />
+           </td><td class="actioncell"><input type="submit" name="adddestination" value="{tr msg="Add"}" /></td>
+	   </form>
+	</tr>
+</table>
+<br/>
 <h2>{tr msg="Mail Filter Settings"}</h2>
 <div class="contentform">
 <form name="kolabfilterform" method="post">





More information about the commits mailing list