c7d5423a640aa8cc4e858d1455ba3bb717f39b30
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||260px|100px|120px|60px;c|140px;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>5</span>
42 </department>
44 <column>
45 <value>%{filter:objectType(dn,objectClass)}</value>
46 </column>
48 <column>
49 <label>Given name</label>
50 <sortAttribute>givenName</sortAttribute>
51 <sortType>string</sortType>
52 <value>%{filter:link(row,dn,"%s",givenName)}</value>
53 <export>true</export>
54 </column>
56 <column>
57 <label>Surname</label>
58 <sortAttribute>sn</sortAttribute>
59 <sortType>string</sortType>
60 <value>%{filter:link(row,dn,"%s",sn)}</value>
61 <export>true</export>
62 </column>
64 <column>
65 <label>Actions</label>
66 <value>%{filter:actions(dn,row,objectClass)}</value>
67 </column>
69 </table>
71 <actionmenu>
73 <action>
74 <name>new</name>
75 <type>entry</type>
76 <image>plugins/users/images/list_new_user.png</image>
77 <label>New person</label>
78 </action>
80 <action>
81 <name>new_template</name>
82 <type>entry</type>
83 <image>plugins/users/images/select_template.png</image>
84 <label>New template</label>
85 </action>
87 <action>
88 <type>separator</type>
89 </action>
91 <action>
92 <name>edit</name>
93 <type>entry</type>
94 <image>images/lists/edit.png</image>
95 <label>Edit</label>
96 </action>
98 <action>
99 <name>remove</name>
100 <type>entry</type>
101 <image>images/lists/trash.png</image>
102 <label>Remove</label>
103 </action>
105 <action>
106 <type>separator</type>
107 </action>
109 <action>
110 <name>cp</name>
111 <type>copypaste</type>
112 </action>
114 <action>
115 <type>separator</type>
116 </action>
118 <action>
119 <name>templatize</name>
120 <type>entry</type>
121 <image>plugins/users/images/wizard.png</image>
122 <label>Apply template</label>
123 </action>
125 <action>
126 <type>exporter</type>
127 </action>
128 </actionmenu>
130 <actiontriggers snapshot="true" copypaste="true">
132 <action>
133 <name>edit</name>
134 <type>entry</type>
135 <objectclass>gosaAccount</objectclass>
136 <image>images/lists/edit.png</image>
137 <label>Edit person</label>
138 </action>
140 <action>
141 <name>remove</name>
142 <type>entry</type>
143 <image>images/lists/trash.png</image>
144 <objectclass>gosaAccount</objectclass>
145 <acl>users/user[d]</acl>
146 <label>Remove person</label>
147 </action>
149 <action>
150 <name>cp</name>
151 <type>copypaste</type>
152 <acl>users/user[w]</acl>
153 </action>
155 </actiontriggers>
157 </list>