Code

Udpated mime acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Jul 2006 10:11:46 +0000 (10:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Jul 2006 10:11:46 +0000 (10:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4157 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/mimetypes/class_mimetypeGeneric.inc

index cfdfde0da0410cbd0829a29a162bd9a5110511b1..95ddcd849853a72f90fc15ee967397850a68b3f6 100644 (file)
@@ -644,6 +644,25 @@ class mimetype extends plugin
       }
     }
   }
+
+  /* Return plugin informations for acl handling  */ 
+  function plInfo()
+  {
+    return (array(  
+          "plDescription"     => _("Mime types"),
+          "plSelfModify"      => FALSE,
+          "plDepends"         => array("objectClass" => "gotoMimeType","description"=>_("Mime type")),
+
+          "cn"                          => _("Name"),
+          "gotoMimeGroup"               => _("Mime group"),
+          "description"                 => _("Description"),
+          "base"                        => _("Base"),
+          "gotoMimeApplication"         => _("Application"),
+          "gotoMimeLeftClickAction"     => _("Left click action"),
+          "gotoMimeIcon"                => _("Icon"),
+          "gotoMimeFilePattern"         => _("File patterns"),
+          "gotoMimeEmbeddedApplication" => _("Embedded applications")));
+  }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>