Code

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

gosa-plugins/goto/admin/applications/class_applicationGeneric.inc

index d9b21b3885ce566c1de0ac500d2a6162549d662d..bf11b1f7aba247fc43dd11fe70a9124912a42532 100644 (file)
@@ -577,30 +577,42 @@ class application extends plugin
       #FIXME FAIscript seams to ununsed within this class... */
   static function plInfo()
   {
-    return (array(
-          "plShortName"   => _("Generic"),
-          "plDescription" => _("Application generic"),
-          "plSelfModify"  => FALSE,
-          "plDepends"     => array(),
-          "plPriority"    => 0,
-          "plSection"     => array("administration"),
-          "plCategory"    => array("application" => array("description"  => _("Application"),
-                                                          "objectClass"  => "gosaApplication")),
+      return (array(
+                  "plShortName"   => _("Generic"),
+                  "plDescription" => _("Application generic"),
+                  "plSelfModify"  => FALSE,
+                  "plDepends"     => array(),
+                  "plPriority"    => 0,
+                  "plSection"     => array("administration"),
+                  "plCategory"    => array("application" => array("description"  => _("Application"),
+                          "objectClass"  => "gosaApplication")),
+                  "plProperties" =>
+                  array(
+                      array(
+                          "name"          => "applicationRDN",
+                          "type"          => "rdn",
+                          "default"       => "ou=apps,",
+                          "description"   => "The 'applicationRDN' statement defines the location where new applications will be created. The default is 'ou=apps,'.",
+                          "check"         => "gosaProperty::isRdn",
+                          "migrate"       => "",
+                          "group"         => "plugin",
+                          "mandatory"     => FALSE)),
+
           "plProvidedAcls"=> array(
-            "cn"                => _("Name"),
-            "base"              => _("Base"),
-            "description"       => _("Description"),
-            "gosaApplicationExecute"  => _("Execute"),
-            "gosaApplicationName"     => _("Name"),
-            "gosaApplicationIcon"     => _("Icon"),
-            "gotoLogonScript"         => _("Script content"),
-
-            "execForGroupmembers" => _("Only executable for members"),              // G
-            "placeOnDesktop"      => _("Place icon on members desktop"),            // D
-            "placeOnKicker"       => _("Place entry in members launch bar"),        // L
-            "placeInStartmenu"    => _("Place entry in members startmenu"),         // M
-            "overwriteConfig"      => _("Replace user configuration on startup"))  // O
-            ));
+                  "cn"                => _("Name"),
+                  "base"              => _("Base"),
+                  "description"       => _("Description"),
+                  "gosaApplicationExecute"  => _("Execute"),
+                  "gosaApplicationName"     => _("Name"),
+                  "gosaApplicationIcon"     => _("Icon"),
+                  "gotoLogonScript"         => _("Script content"),
+
+                  "execForGroupmembers" => _("Only executable for members"),              // G
+                  "placeOnDesktop"      => _("Place icon on members desktop"),            // D
+                  "placeOnKicker"       => _("Place entry in members launch bar"),        // L
+                  "placeInStartmenu"    => _("Place entry in members startmenu"),         // M
+                  "overwriteConfig"      => _("Replace user configuration on startup"))  // O
+              ));
   }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: