Code

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

gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc

index a950495ef7511cfbd4fdefae7e7ad605109238c0..b5ef3d31801498a66566a5e77f7fe914b293d298 100644 (file)
@@ -493,7 +493,21 @@ class phoneGeneric extends plugin
           "plPriority"    => 0,
           "plSection"     => array("administration"),
           "plCategory"    => array("phone" => array("description"  => _("Phone hardware"),
-                                                    "objectClass"  => "goFonHardware")),
+                  "objectClass"  => "goFonHardware")),
+          "plProperties" =>
+          array(
+              array(
+                  "name"          => "phoneRDN",
+                  "type"          => "rdn",
+                  "default"       => "ou=phones,ou=systems,",
+                  "description"   => "The 'phoneRDN' statement defines the location where new phones will be created. The default is 'ou=phones,ou=systems,'.",
+                  "check"         => "gosaProperty::isRdn",
+                  "migrate"       => "",
+                  "group"         => "plugin",
+                  "mandatory"     => FALSE
+                  )
+              ),
+
           "plProvidedAcls"=> array(
             "cn"                  => _("Name"),
             "base"                => _("Base"),