Code

Added storage RDN properties.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:06:58 +0000 (13:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:06:58 +0000 (13:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18258 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofax/gofax/blocklists/class_blocklistGeneric.inc

index e3bc9762833a4690ac64db73d0dd99dde16b07ce..05c41436d11097d15e6f6c4038acf838356ca9cc 100644 (file)
@@ -369,16 +369,30 @@ class blocklistGeneric extends plugin
   /* Return plugin informations for acl handling */
   static function plInfo()
   {
-    return (array(
-          "plShortName"       => _("Fax"),
-          "plDescription"     => _("Fax blocklists"),
-          "plSelfModify"      => FALSE,
-          "plDepends"         => array(),
-
-          "plPriority"    => 0,
-          "plSection"     => array("administration" => _("Fax blocklists")),
-          "plCategory"    => array("gofaxlist"      => array("description" => _("Fax blocklists"),
-              "objectClass" => array("goFaxRBlock","goFaxSBlock"))),
+      return (array(
+                  "plShortName"       => _("Fax"),
+                  "plDescription"     => _("Fax blocklists"),
+                  "plSelfModify"      => FALSE,
+                  "plDepends"         => array(),
+
+                  "plPriority"    => 0,
+                  "plSection"     => array("administration" => _("Fax blocklists")),
+                  "plCategory"    => array("gofaxlist"      => array("description" => _("Fax blocklists"),
+                          "objectClass" => array("goFaxRBlock","goFaxSBlock"))),
+                  "plProperties" =>
+                  array(
+                      array(
+                          "name"          => "faxBlocklistRDN",
+                          "type"          => "rdn",
+                          "default"       => "ou=gofax,ou=systems,",
+                          "description"   => "The 'faxBlocklistRDN' statement defines the location where new blocklists will be created. The default is 'ou=gofax,ou=systems,'.",
+                          "check"         => "gosaProperty::isRdn",
+                          "migrate"       => "",
+                          "group"         => "plugin",
+                          "mandatory"     => FALSE
+                          )
+                      ),
+
           "plProvidedAcls" => array(
             "cn"              => _("Name"),
             "description"     => _("Description"),