Code

Added first extra template
[gosa.git] / gosa-plugins / goto / admin / mimetypes / mimetype-list-release.xml
index 374c843e3ca6eafe55212d4e7d1bf775b417d8b7..04bc87a924fb6832df8449b5347ea8dc2ab20973 100644 (file)
@@ -7,16 +7,16 @@
     <baseMode>false</baseMode>
     <multiSelect>true</multiSelect>
     <template>mimetype-list-release.tpl</template>
-    <module>application</module>
-    <label>List of applications</label>
+    <module>mimetypes</module>
+    <label>List of mime-types</label>
     <defaultSortColumn>1</defaultSortColumn>
 
     <objectType>
-      <label>Application</label>
-      <objectClass>gosaApplication</objectClass>
-      <category>application</category>
-      <class>application</class>
-      <image>plugins/goto/images/select_application.png</image>
+      <label>Mime type</label>
+      <objectClass>gotoMimeType</objectClass>
+      <category>mimetypes</category>
+      <class>mimetype</class>
+      <image>plugins/goto/images/select_mimetype.png</image>
     </objectType>
 
   </definition>
 
     <action>
      <type>sub</type>
-     <image>images/lists/new.png</image>
+     <image>images/lists/element.png[new]</image>
      <label>Create</label>
 
      <action>
       <name>new</name>
       <type>entry</type>
-      <image>images/lists/new.png</image>
-      <label>Application</label>
+      <image>plugins/goto/images/select_mimetype.png[new]</image>
+      <label>Mime-type</label>
      </action>
     </action>
 
       <type>separator</type>
     </action>
 
-    <action>
-      <name>edit</name>
-      <type>entry</type>
-      <image>images/lists/edit.png</image>
-      <label>Edit</label>
-    </action>
-
     <action>
       <name>remove</name>
       <type>entry</type>
 
     <action>
       <type>copypaste</type>
+      <cut>false</cut>
     </action>
 
     <action>
     <action>
       <name>cp</name>
       <type>copypaste</type>
+      <cut>false</cut>
     </action>
 
     <action>
       <name>edit</name>
       <type>entry</type>
       <image>images/lists/edit.png</image>
-      <label>Edit application</label>
+      <label>Edit mime-type</label>
     </action>
 
     <action>
       <name>remove</name>
       <type>entry</type>
       <image>images/lists/trash.png</image>
-      <acl>application/application[d]</acl>
-      <label>Remove application</label>
+      <acl>mimetypes/mimetype[d]</acl>
+      <label>Remove mime-type</label>
+      <objectclass>FAKE_OC_branch</objectclass>
     </action>
 
   </actiontriggers>