Code

Avoid initial reset of ocMapping. It is array() anyway.
[gosa.git] / plugins / admin / fai / class_faiTemplate.inc
index b0fb680a86ded18912afc5046af2faf1b727d56e..7ebcc1b373be3e089de60b938fab70e3e1bebf10 100644 (file)
@@ -406,19 +406,26 @@ class faiTemplate extends plugin
     }
   }
   
+
   /* Return plugin informations for acl handling */ 
   function plInfo()
   {
-    return (array(  
-          "plDescription"     => _("FAI template"),
-          "plSelfModify"      => FALSE,
-          "plDepends"         => array("objectClass" => "FAIclass"),
-          "cn"                => _("Name"),
-          "description"       => _("Description"),
-          "FAItemplateFile"   => _("Template file"),
-          "FAItemplatePath"   => _("Template path"),
-          "FAIowner"          => _("File owner"),
-          "FAImode"           => _("File permissions")));
+    return (array( 
+          "plShortName" => _("Template"),
+          "plDescription" => _("FAI template"),
+          "plSelfModify"  => FALSE,
+          "plDepends"     => array(),
+          "plPriority"    => 0,
+          "plSection"     => array("administration"),
+          "plCategory"    => array("fai"),
+          "plProvidedAcls" => array(
+            "cn"                => _("Name"),
+            "description"       => _("Description"),
+            "FAItemplateFile"   => _("Template file"),
+            "FAItemplatePath"   => _("Template path"),
+            "FAIowner"          => _("File owner"),
+            "FAImode"           => _("File permissions"))
+          ));
   }
 }