From f2700d04b52ae762ab806a4536502f6cdba508bd Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 29 Jul 2010 12:48:40 +0000 Subject: [PATCH] Updated post handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19238 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/devices/class_deviceManagement.inc | 72 +++++++++---------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc index 133537b34..83831474f 100644 --- a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc +++ b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc @@ -22,50 +22,50 @@ class deviceManagement extends management { - var $plHeadline = "Hotplug devices"; - var $plDescription = "Manage hotplug devices that are assigneable to desktop profiles"; - var $plIcon = "plugins/goto/images/devices.png"; + var $plHeadline = "Hotplug devices"; + var $plDescription = "Manage hotplug devices that are assigneable to desktop profiles"; + var $plIcon = "plugins/goto/images/devices.png"; - var $app_release = ""; // The currently selected release while in release management mode! + var $app_release = ""; // The currently selected release while in release management mode! - // Tab definition - protected $tabClass = "devicetabs"; - protected $tabType = "DEVICETABS"; - protected $aclCategory = "devices"; - protected $aclPlugin = "deviceGeneric"; - protected $objectName = "device"; + // Tab definition + protected $tabClass = "devicetabs"; + protected $tabType = "DEVICETABS"; + protected $aclCategory = "devices"; + protected $aclPlugin = "deviceGeneric"; + protected $objectName = "device"; - function __construct($config,$ui) - { - $this->config = $config; - $this->ui = $ui; + function __construct($config,$ui) + { + $this->config = $config; + $this->ui = $ui; - $filter_xml = "device-filter.xml"; - $list_xml = "device-list.xml"; - $this->storagePoints= array(get_ou("deviceGeneric", "deviceRDN")); + $filter_xml = "device-filter.xml"; + $list_xml = "device-list.xml"; + $this->storagePoints= array(get_ou("deviceGeneric", "deviceRDN")); - // Build filter - if (session::global_is_set(get_class($this)."_filter")){ - $filter= session::global_get(get_class($this)."_filter"); - } else { - $filter = new filter(get_template_path($filter_xml, true)); - $filter->setObjectStorage($this->storagePoints); - } - $this->setFilter($filter); + // Build filter + if (session::global_is_set(get_class($this)."_filter")){ + $filter= session::global_get(get_class($this)."_filter"); + } else { + $filter = new filter(get_template_path($filter_xml, true)); + $filter->setObjectStorage($this->storagePoints); + } + $this->setFilter($filter); - // Build headpage - $headpage = new listing(get_template_path($list_xml, true)); - $headpage->setFilter($filter); + // Build headpage + $headpage = new listing(get_template_path($list_xml, true)); + $headpage->setFilter($filter); - // Add copy&paste and snapshot handler. - if ($this->config->boolValueIsTrue("core", "copyPaste")){ - $this->cpHandler = new CopyPasteHandler($this->config); - } - if($this->config->get_cfg_value("core","enableSnapshots") == "true"){ - $this->snapHandler = new SnapshotHandler($this->config); + // Add copy&paste and snapshot handler. + if ($this->config->boolValueIsTrue("core", "copyPaste")){ + $this->cpHandler = new CopyPasteHandler($this->config); + } + if($this->config->get_cfg_value("core","enableSnapshots") == "true"){ + $this->snapHandler = new SnapshotHandler($this->config); + } + parent::__construct($config, $ui, "devices", $headpage); } - parent::__construct($config, $ui, "devices", $headpage); - } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2