5111f87bb63636c58180d35c945596d8d7672a35
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>Users</label>
16 <objectClass>person</objectClass>
17 <category>users</category>
18 <class>user</class>
19 <image>plugins/users/images/select_user.png</image>
20 </objectType>
22 </definition>
24 <table>
25 <layout>|20px||260px|100px|120px|60px;c|140px;r|</layout>
27 <department>
28 <value>%{filter:objectType(dn,objectClass)}</value>
29 </department>
31 <department>
32 <value>%{filter:departmentLink(row,dn,description)}</value>
33 <span>5</span>
34 </department>
36 <column>
37 <value>%{filter:objectType(dn,objectClass)}</value>
38 </column>
40 <column>
41 <label>Given name</label>
42 <sortAttribute>givenName</sortAttribute>
43 <sortType>string</sortType>
44 <value>%{filter:link(row,dn,"%s",givenName)}</value>
45 <export>true</export>
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>Actions</label>
58 <value>%{filter:actions(dn,row,objectClass)}</value>
59 </column>
61 </table>
63 <actionmenu>
65 <action>
66 <name>new</name>
67 <type>entry</type>
68 <image>plugins/users/images/list_new_user.png</image>
69 <label>New person</label>
70 </action>
72 <action>
73 <type>separator</type>
74 </action>
76 <action>
77 <name>edit</name>
78 <type>entry</type>
79 <image>images/lists/edit.png</image>
80 <label>Edit</label>
81 </action>
83 <action>
84 <name>remove</name>
85 <type>entry</type>
86 <image>images/lists/trash.png</image>
87 <label>Remove</label>
88 </action>
90 <action>
91 <type>separator</type>
92 </action>
94 <action>
95 <name>cp</name>
96 <type>copypaste</type>
97 </action>
99 <action>
100 <type>exporter</type>
101 </action>
102 </actionmenu>
104 <actiontriggers snapshot="true" copypaste="true">
106 <action>
107 <name>edit</name>
108 <type>entry</type>
109 <objectclass>gosaAccount</objectclass>
110 <image>images/lists/edit.png</image>
111 <label>Edit person</label>
112 </action>
114 <action>
115 <name>remove</name>
116 <type>entry</type>
117 <image>images/lists/trash.png</image>
118 <objectclass>gosaAccount</objectclass>
119 <acl>users/user[d]</acl>
120 <label>Remove person</label>
121 </action>
123 <action>
124 <name>cp</name>
125 <type>copypaste</type>
126 <acl>users/user[w]</acl>
127 </action>
129 </actiontriggers>
131 </list>