diff --git a/gosa-core/plugins/admin/users/user-list.xml b/gosa-core/plugins/admin/users/user-list.xml
index b53c7501314d252f82f2ecf661fb77e4e0120039..e17e9ff62533bc08ae1e5b887bd4c3b5499fabd1 100644 (file)
<definition>
<departmentBrowser>true</departmentBrowser>
<departmentRootVisible>false</departmentRootVisible>
+ <baseMode>true</baseMode>
<multiSelect>true</multiSelect>
<template>user-list.tpl</template>
- <summary>List of users</summary>
- <summary xml:lang="de">Benutzerliste</summary>
+ <module>users</module>
+ <label>List of users</label>
+ <defaultSortColumn>1</defaultSortColumn>
<objectType>
- <objectClass>gosaAccount</objectClass>
- <image>plugins/users/images/select_user.png</image>
- <priority>2</priority>
- </objectType>
- <objectType>
+ <label>Template</label>
<objectClass>gosaUserTemplate</objectClass>
- <priority>1</priority>
+ <category>users</category>
+ <class>user</class>
<image>plugins/users/images/select_template.png</image>
</objectType>
+ <objectType>
+ <label>User</label>
+ <objectClass>gosaAccount</objectClass>
+ <category>users</category>
+ <class>user</class>
+ <image>plugins/users/images/select_user.png</image>
+ </objectType>
+
</definition>
<table>
- <!--<oddColor></oddColor>
- <evenColor></evenColor>-->
- <layout>|20px||120px|80px;r|</layout>
+ <layout>|20px||260px|200px;r|</layout>
+
+ <department>
+ <value>%{filter:objectType(dn,objectClass)}</value>
+ </department>
+
+ <department>
+ <value>%{filter:departmentLink(row,dn,description)}</value>
+ <span>3</span>
+ </department>
<column>
<value>%{filter:objectType(dn,objectClass)}</value>
</column>
<column>
- <header>Name / Department</header>
- <header xml:lang="de">Name / Organisationseinheit</header>
- <sortable>true</sortable>
- <value>%{filter:link(row,pid,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
+ <label>Given name</label>
+ <sortAttribute>givenName</sortAttribute>
+ <sortType>string</sortType>
+ <value>%{filter:link(row,dn,"%s",givenName)}</value>
+ <export>true</export>
</column>
<column>
- <header>Properties</header>
- <header xml:lang="de">Eigenschaften</header>
- <sortable>false</sortable>
- <value>%{filter:accountProperties(objectClass)}</value>
+ <label>Surname</label>
+ <sortAttribute>sn</sortAttribute>
+ <sortType>string</sortType>
+ <value>%{filter:link(row,dn,"%s",sn)}</value>
+ <export>true</export>
</column>
<column>
- <header>Actions</header>
- <header xml:lang="de">Aktionen</header>
- <sortable>false</sortable>
- <value>%{filter:actions}</value>
+ <label>Actions</label>
+ <value>%{filter:actions(dn,row,objectClass)}</value>
</column>
</table>
+ <actionmenu>
+
+ <action>
+ <name>new</name>
+ <type>entry</type>
+ <image>plugins/users/images/list_new_user.png</image>
+ <label>New person</label>
+ </action>
+
+ <action>
+ <name>new_template</name>
+ <type>entry</type>
+ <image>plugins/users/images/select_template.png</image>
+ <label>New template</label>
+ </action>
+
+ <action>
+ <type>separator</type>
+ </action>
+
+ <action>
+ <name>edit</name>
+ <type>entry</type>
+ <image>images/lists/edit.png</image>
+ <label>Edit</label>
+ </action>
+
+ <action>
+ <name>remove</name>
+ <type>entry</type>
+ <image>images/lists/trash.png</image>
+ <label>Remove</label>
+ </action>
+
+ <action>
+ <type>separator</type>
+ </action>
+
+ <action>
+ <type>separator</type>
+ </action>
+
+ <action>
+ <name>templatize</name>
+ <type>entry</type>
+ <image>plugins/users/images/wizard.png</image>
+ <label>Apply template</label>
+ </action>
+
+ <action>
+ <type>exporter</type>
+ </action>
+ </actionmenu>
+
+ <actiontriggers snapshot="true" copypaste="true">
+
+ <action>
+ <name>newfromtpl</name>
+ <type>entry</type>
+ <image>images/lists/new.png</image>
+ <objectclass>gosaUserTemplate</objectclass>
+ <label>New user from template</label>
+ </action>
+
+ <action>
+ <name>cp</name>
+ <objectclass>!gosaUserTemplate</objectclass>
+ <type>copypaste</type>
+ </action>
+
+ <action>
+ <name>edit</name>
+ <type>entry</type>
+ <objectclass>gosaAccount</objectclass>
+ <image>images/lists/edit.png</image>
+ <label>Edit user</label>
+ </action>
+
+ <action>
+ <name>lock</name>
+ <type>entry</type>
+ <objectclass>!gosaUserTemplate</objectclass>
+ <image>%{filter:lockImage(userPassword)}</image>
+ <acl>uniBonnAccount/password[w]</acl>
+ <label>%{filter:lockLabel(userPassword)}</label>
+ </action>
+
+ <action>
+ <name>password</name>
+ <type>entry</type>
+ <objectclass>!gosaUserTemplate</objectclass>
+ <image>plugins/users/images/list_password.png</image>
+ <label>Change password</label>
+ </action>
+
+ <action>
+ <name>snapshot</name>
+ <type>snapshot</type>
+ <objectclass>!gosaUserTemplate</objectclass>
+ </action>
+
+ <action>
+ <name>remove</name>
+ <type>entry</type>
+ <image>images/lists/trash.png</image>
+ <objectclass>gosaAccount</objectclass>
+ <acl>users/user[d]</acl>
+ <label>Remove user</label>
+ </action>
+
+ </actiontriggers>
+
</list>