Code

Updated ogroup entry selection
[gosa.git] / gosa-core / plugins / admin / ogroups / objectSelect / selectObject-list.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4   <definition>
5     <departmentBrowser>false</departmentBrowser>
6     <departmentRootVisible>false</departmentRootVisible>
7     <baseMode>true</baseMode>
8     <multiSelect>true</multiSelect>
9     <template>../plugins/admin/ogroups/objectSelect/selectObject-list.tpl</template>
10     <module>users</module>
11     <label>Please select the desired entries</label>
12     <defaultSortColumn>1</defaultSortColumn>
14     <objectType>
15       <label>Department</label>
16       <objectClass>gosaDepartment</objectClass>
17       <category>department</category>
18       <class>department</class>
19       <image>images/lists/folder.png</image>
20     </objectType>
22     <objectType>
23       <label>Server</label>
24       <objectClass>goServer</objectClass>
25       <category>server</category>
26       <class>servgeneric</class>
27       <image>plugins/systems/images/select_server.png</image>
28     </objectType>
30     <objectType>
31       <label>Workstation</label>
32       <objectClass>gotoWorkstation</objectClass>
33       <category>workstation</category>
34       <class>workgeneric</class>
35       <image>plugins/systems/images/select_workstation.png</image>
36     </objectType>
38     <objectType>
39       <label>Terminal</label>
40       <objectClass>gotoTerminal</objectClass>
41       <category>terminal</category>
42       <class>termgeneric</class>
43       <image>plugins/systems/images/select_terminal.png</image>
44     </objectType>
46     <objectType>
47       <label>Printer</label>
48       <objectClass>gotoPrinter</objectClass>
49       <category>printer</category>
50       <class>printGeneric</class>
51       <image>plugins/systems/images/select_printer.png</image>
52     </objectType>
54     <objectType>
55       <label>Phone</label>
56       <objectClass>goFonHardware</objectClass>
57       <category>phone</category>
58       <class>phoneGeneric</class>
59       <image>plugins/systems/images/select_phone.png</image>
60     </objectType>
62     <objectType>
63       <label>User</label>
64       <objectClass>gosaAccount</objectClass>
65       <category>users</category>
66       <class>user</class>
67       <image>plugins/users/images/select_user.png</image>
68     </objectType>
70     <objectType>
71       <label>Group</label>
72       <objectClass>posixGroup</objectClass>
73       <category>groups</category>
74       <class>group</class>
75       <image>plugins/groups/images/groups.png</image>
76     </objectType>
78   </definition>
80   <table>
81     <layout>|20px;c|220px||</layout>
83     <department>
84       <value>%{filter:objectType(dn,objectClass)}</value>
85     </department>
87     <department>
88       <value>%{filter:departmentLink(row,dn,description)}</value>
89       <span>1</span>
90     </department>
92     <column>
93       <value>%{filter:objectType(dn,objectClass)}</value>
94     </column>
96     <column>
97       <label>Name</label>
98       <sortAttribute>cn</sortAttribute>
99       <sortType>string</sortType>
100       <value>%{filter:depLabel(row,dn,pid,base,objectClass,cn)}</value>
101       <export>true</export>
102     </column>
104     <column>
105       <label>Description</label>
106       <sortAttribute>description</sortAttribute>
107       <sortType>string</sortType>
108       <value>%{description}</value>
109       <export>true</export>
110     </column>
112   </table>
114   <actionmenu>
115   </actionmenu>
117   <actiontriggers snapshot="false" copypaste="false">
118     <action>
119       <name>edit</name>
120       <type>entry</type>
121       <objectclass>gosaAccount</objectclass>
122       <image>images/lists/edit.png</image>
123       <label>Add</label>
124     </action>
125   </actiontriggers>
126 </list>