Code

390b106abc0a3d1c65197fb0c48aa0fc7db9be4c
[gosa.git] / gosa-plugins / gofon / gofon / macro / macro-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>macro-list.tpl</template>
10     <module>gofonmacro</module>
11     <label>List of macros</label>
12     <defaultSortColumn>1</defaultSortColumn>
14     <objectType>
15       <label>Macro</label>
16       <objectClass>goFonMacro</objectClass>
17       <category>gofonmacro</category>
18       <class>macro</class>
19       <image>plugins/gofon/images/select_macro.png</image>
20     </objectType>
22   </definition>
24   <table>
25     <layout>|16px||250px|170px;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>2</span>
34     </department>
36     <column>
37       <value>%{filter:objectType(dn,objectClass)}</value>
38     </column>
40     <column>
41       <label>Name</label>
42       <sortAttribute>cn</sortAttribute>
43       <sortType>string</sortType>
44       <value>%{filter:link(row,dn,"%s",cn)}</value>
45       <export>true</export>
46     </column>
48     <column>
49       <label>Description</label>
50       <sortAttribute>description</sortAttribute>
51       <sortType>string</sortType>
52       <value>%{filter:link(row,dn,"%s",description)}</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      <type>sub</type>
67      <image>plugins/gofon/images/select_macro.png[new]</image>
68      <label>Create</label>
70      <action>
71       <name>new</name>
72       <type>entry</type>
73       <image>plugins/gofon/images/select_macro.png</image>
74       <label>Macro</label>
75      </action>
76     </action>
78     <action>
79       <type>separator</type>
80     </action>
82     <action>
83       <name>edit</name>
84       <type>entry</type>
85       <image>images/lists/edit.png</image>
86       <label>Edit</label>
87     </action>
89     <action>
90       <name>remove</name>
91       <type>entry</type>
92       <image>images/lists/trash.png</image>
93       <label>Remove</label>
94     </action>
96     <action>
97       <type>exporter</type>
98     </action>
100     <action>
101       <type>separator</type>
102     </action>
104     <action>
105       <type>copypaste</type>
106     </action>
108     <action>
109       <type>snapshot</type>
110     </action>
112   </actionmenu>
114   <actiontriggers snapshot="true" copypaste="true">
116     <action>
117       <name>cp</name>
118       <type>copypaste</type>
119     </action>
121     <action>
122       <name>edit</name>
123       <type>entry</type>
124       <image>images/lists/edit.png</image>
125       <label>Edit</label>
126     </action>
128     <action>
129       <name>snapshot</name>
130       <type>snapshot</type>
131     </action>
133     <action>
134       <name>remove</name>
135       <type>entry</type>
136       <image>images/lists/trash.png</image>
137       <acl>gofonmacro/macro[d]</acl>
138       <label>Remove</label>
139     </action>
141   </actiontriggers>
143 </list>