Code

Updated template
[gosa.git] / gosa-core / plugins / admin / users / user-list.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4   <definition>
5     <departmentBrowser>true</departmentBrowser>
6     <departmentRootVisible>false</departmentRootVisible>
7     <multiSelect>true</multiSelect>
8     <template>user-list.tpl</template>
9     <module>users</module>
10     <label>List of users</label>
12     <objectType>
13       <objectClass>gosaAccount</objectClass>
14       <image>plugins/users/images/select_user.png</image>
15       <priority>2</priority>
16     </objectType>
18     <objectType>
19       <objectClass>gosaUserTemplate</objectClass>
20       <priority>1</priority>
21       <image>plugins/users/images/select_template.png</image>
22     </objectType>
24   </definition>
26   <table>
27     <layout>|20px||145px|80px;r|</layout>
29     <column>
30       <value>%{filter:objectType(dn,objectClass)}</value>
31     </column>
33     <column>
34       <label>Name / Department</label>
35       <sortable>true</sortable>
36       <value>%{filter:link(row,pid,dn,"%s, %s [%s]",sn,givenName,uid)}</value>
37     </column>
39     <column>
40       <label>Properties</label>
41       <sortable>false</sortable>
42       <value>%{filter:accountProperties(dn,row,objectClass)}</value>
43     </column>
45     <column>
46       <label>Actions</label>
47       <sortable>false</sortable>
48       <value>%{filter:actions(dn,row,objectClass)}</value>
49     </column>
51   </table>
53   <actionmenu>
54     <action>
55       <type>sub</type>
56       <image>images/lists/new.png</image>
57       <label>Create</label>
59       <action>
60         <name>create_user</name>
61         <type>entry</type>
62         <image>plugins/users/images/list_new_user.png</image>
63         <acl>users/user[c]</acl>
64         <label>User</label>
65       </action>
67       <action>
68         <name>create_template</name>
69         <type>entry</type>
70         <image>images/lists/new.png</image>
71         <acl>users/user[c]</acl>
72         <label>Template</label>
73       </action>
75     </action>
77     <action>
78       <type>separator</type>
79     </action>
81     <action>
82       <name>edit</name>
83       <type>entry</type>
84       <image>images/lists/edit.png</image>
85       <label>Edit</label>
86     </action>
88     <action>
89       <name>password</name>
90       <type>entry</type>
91       <image>plugins/users/images/list_password.png</image>
92       <label>Change password</label>
93     </action>
95     <action>
96       <name>remove</name>
97       <type>entry</type>
98       <image>images/lists/trash.png</image>
99       <label>Remove</label>
100     </action>
102     <action>
103       <name>templatize</name>
104       <type>entry</type>
105       <image>plugins/users/images/wizard.png</image>
106       <label>Apply template</label>
107     </action>
109     <action>
110       <type>separator</type>
111     </action>
113     <action>
114       <type>daemon</type>
115     </action>
117     <action>
118       <type>separator</type>
119     </action>
121     <action>
122       <type>copypaste</type>
123     </action>
125     <action>
126       <type>snapshot</type>
127     </action>
129   </actionmenu>
131   <actiontriggers snapshot="true" copypaste="true">
132     <action>
133       <type>copypaste</type>
134     </action>
136     <action>
137       <name>edit</name>
138       <type>entry</type>
139       <objectclass>gosaUserTemplate</objectclass>
140       <image>images/lists/edit.png</image>
141       <label>Edit user</label>
142     </action>
144     <action>
145       <name>edit</name>
146       <type>entry</type>
147       <objectclass>gosaAccount</objectclass>
148       <image>images/lists/edit.png</image>
149       <label>Edit user</label>
150     </action>
152     <action>
153       <name>lock</name>
154       <type>entry</type>
155       <objectclass>gosaAccount</objectclass>
156       <image>%{filter:lockImage(userPassword)}</image>
157       <acl>users/password[w]</acl>
158       <label>%{filter:lockLabel(userPassword)}</label>
159     </action>
161     <action>
162       <name>password</name>
163       <type>entry</type>
164       <objectclass>gosaAccount</objectclass>
165       <image>plugins/users/images/list_password.png</image>
166       <acl>users/password[w]</acl>
167       <label>Change password</label>
168     </action>
170     <action>
171       <type>snapshot</type>
172     </action>
174     <action>
175       <name>remove</name>
176       <type>entry</type>
177       <objectclass>gosaAccount</objectclass>
178       <image>images/lists/trash.png</image>
179       <acl>users/user[d]</acl>
180       <label>Remove user</label>
181     </action>
183   </actiontriggers>
185 </list>