From b66b09ae6f4550eb5ba5642426daa8e272c96f2b Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 May 2010 05:47:14 +0000 Subject: [PATCH] Added 'kioskPath' property git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18310 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../environment/class_environment.inc | 66 ++++++++++++------- 1 file changed, 41 insertions(+), 25 deletions(-) diff --git a/gosa-plugins/goto/personal/environment/class_environment.inc b/gosa-plugins/goto/personal/environment/class_environment.inc index 237de00d9..de8e9143b 100644 --- a/gosa-plugins/goto/personal/environment/class_environment.inc +++ b/gosa-plugins/goto/personal/environment/class_environment.inc @@ -1763,31 +1763,47 @@ class environment extends plugin #FIXME these ACLs should work for groups too */ static function plInfo() { - return (array("plShortName" => _("Desktop"), - "plDescription" => _("Desktop settings"), // Description - "plSelfModify" => TRUE, - "plDepends" => array("user", "posixAccount"), // This plugin depends on - "plPriority" => 3, // Position in tabs - "plSection" => array("personal" => _("My account")), - "plCategory" => array("users", - "groups"), - "plOptions" => array("resolution_hook" => array("type" => "string", - "description" => _("Command to extend the list of possible screen resolutions"))), - - "plProvidedAcls" => array( - - "gotoPrinter" => _("Printer") , - "gotoProfileServer" => _("Profile server") , - "gosaDefaultPrinter" => _("Default printer"), - "gotoProfileQuota" => _("Profile quota") , - "gotoProfileFlagC" => _("Cache profile localy") , - "gotoShare" => _("Shares"), - "gotoHotplugDeviceDN" => _("Hotplug devices"), - "gotoKioskProfile" => _("Kiosk profile") , - "gotoProfileFlagL" => _("Resolution changeable during session") , - "gotoXResolution" => _("Resolution") , - "gotoLogonScript" => _("Logon script")) - )); + return (array("plShortName" => _("Desktop"), + "plDescription" => _("Desktop settings"), // Description + "plSelfModify" => TRUE, + "plDepends" => array("user", "posixAccount"), // This plugin depends on + "plPriority" => 3, // Position in tabs + "plSection" => array("personal" => _("My account")), + "plCategory" => array("users", + "groups"), + "plOptions" => array("resolution_hook" => array("type" => "string", + "description" => _("Command to extend the list of possible screen resolutions"))), + + "plProperties" => array( + + array( + "name" => "kioskPath", + "type" => "path", + "default" => "/var/spool/kiosk", + "defaults" => "core::getPropertyValues", + "description" => _("In order to make full use of the environment plugin, you may want to define the location where kiosk profiles will be stored on the servers harddisk. This is done by the 'kioskPath' keyword"), + "check" => "gosaProperty::isWriteablePath", + "migrate" => "", + "group" => "environment", + "mandatory" => FALSE + ) + ), + + + "plProvidedAcls" => array( + + "gotoPrinter" => _("Printer") , + "gotoProfileServer" => _("Profile server") , + "gosaDefaultPrinter" => _("Default printer"), + "gotoProfileQuota" => _("Profile quota") , + "gotoProfileFlagC" => _("Cache profile localy") , + "gotoShare" => _("Shares"), + "gotoHotplugDeviceDN" => _("Hotplug devices"), + "gotoKioskProfile" => _("Kiosk profile") , + "gotoProfileFlagL" => _("Resolution changeable during session") , + "gotoXResolution" => _("Resolution") , + "gotoLogonScript" => _("Logon script")) + )); } } -- 2.30.2