summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b515494)
raw | patch | inline | side by side (parent: b515494)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 12:48:40 +0000 (12:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 29 Jul 2010 12:48:40 +0000 (12:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19238 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/devices/class_deviceManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc
index 133537b34bfbeb9e616ceb6735e6145aaf27754c..83831474f180490c65c6933017ddd20ec5fff924 100644 (file)
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:
?>