Code

Order fix
[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     <baseMode>true</baseMode>
8     <multiSelect>true</multiSelect>
9     <template>user-list.tpl</template>
10     <module>users</module>
11     <label>List of users</label>
12     <defaultSortColumn>1</defaultSortColumn>
14     <objectType>
15       <label>Template</label>
16       <objectClass>gosaUserTemplate</objectClass>
17       <category>users</category>
18       <class>user</class>
19       <image>plugins/users/images/select_template.png</image>
20     </objectType>
22     <objectType>
23       <label>User</label>
24       <objectClass>gosaAccount</objectClass>
25       <category>users</category>
26       <class>user</class>
27       <image>plugins/users/images/select_user.png</image>
28     </objectType>
30   </definition>
32   <table>
33     <layout>|20px||200px|100px|200px;r|</layout>
35     <department>
36       <value>%{filter:objectType(dn,objectClass)}</value>
37     </department>
39     <department>
40       <value>%{filter:departmentLink(row,dn,description)}</value>
41       <span>3</span>
42     </department>
44     <column>
45       <value>%{filter:objectType(dn,objectClass)}</value>
46     </column>
48     <column>
49       <label>Surname</label>
50       <sortAttribute>sn</sortAttribute>
51       <sortType>string</sortType>
52       <value>%{filter:link(row,dn,"%s",sn)}</value>
53       <export>true</export>
54     </column>
56     <column>
57       <label>Given name</label>
58       <sortAttribute>givenName</sortAttribute>
59       <sortType>string</sortType>
60       <value>%{filter:link(row,dn,"%s",givenName)}</value>
61       <export>true</export>
62     </column>
64     <column>
65       <label>ID</label>
66       <sortAttribute>uid</sortAttribute>
67       <sortType>string</sortType>
68       <value>%{filter:link(row,dn,"%s",uid)}</value>
69       <export>true</export>
70     </column>
72     <column>
73       <label>Actions</label>
74       <value>%{filter:actions(dn,row,objectClass)}</value>
75     </column>
77   </table>
79   <actionmenu>
81     <action>
82      <type>sub</type>
83      <image>images/lists/new.png</image>
84      <label>Create</label>
86      <action>
87       <name>new</name>
88       <type>entry</type>
89       <image>plugins/users/images/list_new_user.png</image>
90       <label>User</label>
91      </action>
93      <action>
94       <name>new_template</name>
95       <type>entry</type>
96       <image>plugins/users/images/select_template.png</image>
97       <label>Template</label>
98      </action>
99     </action>
101     <action>
102       <type>separator</type>
103     </action>
105     <action>
106       <name>edit</name>
107       <type>entry</type>
108       <image>images/lists/edit.png</image>
109       <label>Edit</label>
110     </action>
112     <action>
113       <name>remove</name>
114       <type>entry</type>
115       <image>images/lists/trash.png</image>
116       <label>Remove</label>
117     </action>
119     <action>
120       <type>separator</type>
121     </action>
123     <action>
124       <name>lockUsers</name>
125       <type>entry</type>
126       <image>images/lists/locked.png</image>
127       <acl>uniBonnAccount/password[w]</acl>
128       <label>Lock users</label>
129     </action>
131     <action>
132       <name>unlockUsers</name>
133       <type>entry</type>
134       <image>images/lists/unlocked.png</image>
135       <acl>uniBonnAccount/password[w]</acl>
136       <label>Unlock users</label>
137     </action>
139     <action>
140       <name>sendMessage</name>
141       <type>entry</type>
142       <image>plugins/goto/images/notify.png</image>
143       <label>Send message</label>
144     </action>
146     <action>
147       <type>separator</type>
148     </action>
150     <action>
151       <name>templatize</name>
152       <type>entry</type>
153       <image>plugins/users/images/wizard.png</image>
154       <label>Apply template</label>
155     </action>
157     <action>
158       <type>separator</type>
159     </action>
161     <action>
162       <type>exporter</type>
163     </action>
165     <action>
166       <type>separator</type>
167     </action>
169     <action>
170       <type>copypaste</type>
171     </action>
173     <action>
174       <type>snapshot</type>
175     </action>
177   </actionmenu>
179   <actiontriggers snapshot="true" copypaste="true">
181     <action>
182       <name>newfromtpl</name>
183       <type>entry</type>
184       <image>images/lists/new.png</image>
185       <objectclass>gosaUserTemplate</objectclass>
186       <label>New user from template</label>
187     </action>
189     <action>
190       <name>cp</name>
191       <objectclass>!gosaUserTemplate</objectclass>
192       <type>copypaste</type>
193     </action>
195     <action>
196       <name>edit</name>
197       <type>entry</type>
198       <objectclass>gosaAccount</objectclass>
199       <image>images/lists/edit.png</image>
200       <label>Edit user</label>
201     </action>
203     <action>
204       <name>lock</name>
205       <type>entry</type>
206       <objectclass>!gosaUserTemplate</objectclass>
207       <image>%{filter:lockImage(userPassword)}</image>
208       <acl>uniBonnAccount/password[w]</acl>
209       <label>%{filter:lockLabel(userPassword)}</label>
210     </action>
212     <action>
213       <name>password</name>
214       <type>entry</type>
215       <objectclass>!gosaUserTemplate</objectclass>
216       <image>plugins/users/images/list_password.png</image>
217       <label>Change password</label>
218     </action>
220     <action>
221       <name>snapshot</name>
222       <type>snapshot</type>
223       <objectclass>!gosaUserTemplate</objectclass>
224     </action>
226     <action>
227       <name>remove</name>
228       <type>entry</type>
229       <image>images/lists/trash.png</image>
230       <objectclass>gosaAccount</objectclass>
231       <acl>users/user[d]</acl>
232       <label>Remove user</label>
233     </action>
235   </actiontriggers>
237 </list>