Code

Removed quota message (It also pops up if quota wasn't defined yet)
[gosa.git] / plugins / admin / mimetypes / class_mimetypeGeneric.inc
index 95ddcd849853a72f90fc15ee967397850a68b3f6..f5d7f3ae10c4b04a774c890aa372488fea9d00d3 100644 (file)
@@ -648,20 +648,27 @@ 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")));
+    return (array(
+          "plShortName"   => _("Generic"),
+          "plDescription" => _("Mime type generic"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("mimetypes" => array("description"  => _("Mime types"),
+                                                        "objectClass"  => "gotoMimeType")),
+          "plProvidedAcls"=> array(
+            "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: