From 2164552fbc9da8f91e184fad17dddd9be9b12103 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 May 2010 13:05:59 +0000 Subject: [PATCH] Added storage RDN properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18235 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../applications/class_applicationGeneric.inc | 58 +++++++++++-------- 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc b/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc index d9b21b388..bf11b1f7a 100644 --- a/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc +++ b/gosa-plugins/goto/admin/applications/class_applicationGeneric.inc @@ -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: -- 2.30.2