gunnar: server/kolab-webadmin/admin/templates list.tpl,1.1,1.2
cvs at kolab.org
cvs at kolab.org
Mon Sep 17 20:02:02 CEST 2007
- Previous message: gunnar: server/kolab-webadmin/admin list.php,1.3,1.4
- Next message: gunnar: server/php-kolab/Kolab_Webadmin/Webadmin address.class.php, 1.4, 1.5 administrator.class.php, 1.4, 1.5 db.php, 1.3, 1.4 domainmaintainer.class.php, 1.5, 1.6 ldap.class.php, 1.12, 1.13 locale.php, 1.6, 1.7 maintainer.class.php, 1.4, 1.5 object.php, 1.4, 1.5 sharedfolder.class.php, 1.5, 1.6 user.class.php, 1.8, 1.9 webadmin.class.php, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: gunnar
Update of /kolabrepository/server/kolab-webadmin/admin/templates
In directory doto:/tmp/cvs-serv27289/templates
Modified Files:
list.tpl
Log Message:
Fixes for repearing the new webadmin list view.
Index: list.tpl
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/admin/templates/list.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- list.tpl 22 Aug 2007 17:33:38 -0000 1.1
+++ list.tpl 17 Sep 2007 18:02:00 -0000 1.2
@@ -4,7 +4,10 @@
buffer-file-coding-system: utf-8
End:
*}
-<h3>{tr msg="Email Users"}</h3>
+<h3>
+ {$title}
+</h3>
+
<div align="center">
<a {if $alphagroup==""}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup="> {tr msg="[ ALL ]"} </a>
<a {if $alphagroup=="a"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=a"> [ A-F ] </a>
@@ -14,6 +17,7 @@
<a {if $alphagroup=="other"}class="alphagroupitemselected"{/if} href="{$self_url}?alphagroup=other"> {tr msg="[ OTHER ]"} </a>
</div>
<div class="contentform">
+
<form name="filterform" method="post">
{tr msg="Filter:"} <select name="filterattr">
{foreach key=value item=name from=$filterattrs}
@@ -36,34 +40,18 @@
<input type="text" name="filtervalue" value="{$filtervalue|escape:"html"}" />
<input type="submit" name="filtersubmit" value="{tr msg="Filter"}" /></form>
</div>
+
<div>
-<table class="contenttable" cellpadding="0" cellspacing="1px">
- <tr class="contentrow">
- <th>{tr msg="Type"}</th><th>{tr msg="Name"}</th><th>{tr msg="E-mail"}</th><th>{tr msg="uid"}</th><th colspan="2">{tr msg="Action"}</th>
- </tr>
-{section name=id loop=$entries}
- <tr class="contentrow{cycle values="even,odd"}">
- {if $entries[id].type == 'U' }
- <td class="contentcell" title="User Account" align="center">U</td>
- {elseif $entries[id].type == 'I' }
- <td class="contentcell" title="Internal User Account" align="center">I</td>
- {elseif $entries[id].type == 'G' }
- <td class="contentcell" title="Group Account" align="center">G</td>
- {elseif $entries[id].type == 'R' }
- <td class="contentcell" title="Resource Account" align="center">R</td>
- {else}
- <td class="contentcell" title="Unknown Account Type" align="center">?</td>
- {/if}
- <td class="contentcell">{$entries[id].sn|escape:"html"}, {$entries[id].fn|escape:"html"}</td>
- <td class="contentcell"><a href="mailto:{$entries[id].mail|escape:"html"}">{$entries[id].mail|escape:"html"}</a></td>
- <td class="contentcell">{$entries[id].uid|escape:"html"}</td>
- {if $entries[id].deleted neq "FALSE"}
- <td class="actioncell" colspan="2">{tr msg="User Deleted, awaiting cleanup..."}</td>
- {else}
- <td class="actioncell" align="center"><a href="user.php?action=modify&dn={$entries[id].dn|escape:"url"}">{tr msg="Modify"}</a></td>
- <td class="actioncell" align="center"><a href="user.php?action=delete&dn={$entries[id].dn|escape:"url"}">{tr msg="Delete"}</a></td>
- {/if}
- </tr>
-{/section}
-</table>
+ <table class="contenttable" cellpadding="0" cellspacing="1px">
+ <tr class="contentrow">
+ <th>
+ {$header}
+ </th>
+ </tr>
+ {section name=id loop=$entries}
+ <tr class="contentrow{cycle values="even,odd"}">
+ {$entries[id]->getRow()}
+ </tr>
+ {/section}
+ </table>
</div>
- Previous message: gunnar: server/kolab-webadmin/admin list.php,1.3,1.4
- Next message: gunnar: server/php-kolab/Kolab_Webadmin/Webadmin address.class.php, 1.4, 1.5 administrator.class.php, 1.4, 1.5 db.php, 1.3, 1.4 domainmaintainer.class.php, 1.5, 1.6 ldap.class.php, 1.12, 1.13 locale.php, 1.6, 1.7 maintainer.class.php, 1.4, 1.5 object.php, 1.4, 1.5 sharedfolder.class.php, 1.5, 1.6 user.class.php, 1.8, 1.9 webadmin.class.php, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the commits
mailing list