From 02668a8a602d4608564d01673e960d655c507c4f Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 16 Sep 2010 08:27:38 +0000 Subject: [PATCH] Renamed classes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19696 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../{registeredDeviceTab.inc => DeviceTab.inc} | 0 .../admin/systems/goto/devices/class_Device.inc | 14 ++++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) rename gosa-plugins/goto/admin/systems/goto/devices/{registeredDeviceTab.inc => DeviceTab.inc} (100%) diff --git a/gosa-plugins/goto/admin/systems/goto/devices/registeredDeviceTab.inc b/gosa-plugins/goto/admin/systems/goto/devices/DeviceTab.inc similarity index 100% rename from gosa-plugins/goto/admin/systems/goto/devices/registeredDeviceTab.inc rename to gosa-plugins/goto/admin/systems/goto/devices/DeviceTab.inc diff --git a/gosa-plugins/goto/admin/systems/goto/devices/class_Device.inc b/gosa-plugins/goto/admin/systems/goto/devices/class_Device.inc index c295d888e..4c2014102 100644 --- a/gosa-plugins/goto/admin/systems/goto/devices/class_Device.inc +++ b/gosa-plugins/goto/admin/systems/goto/devices/class_Device.inc @@ -1,15 +1,16 @@ array('macAddress'), + 'registeredDevice' => array('deviceStatus','deviceUUID'), 'ipHost' => array('ipHostNumber')); public $cn = ""; @@ -44,7 +45,7 @@ class registeredDevice extends plugin foreach($this->attributes as $attr){ $smarty->assign($attr, $this->$attr); } - return($smarty->fetch(get_template_path('goto/devices/registeredDevice.tpl', TRUE))); + return($smarty->fetch(get_template_path('goto/devices/Device.tpl', TRUE))); } @@ -82,14 +83,15 @@ class registeredDevice extends plugin { return (array( "plShortName" => _("Device"), - "plDescription" => _("Registered device"), + "plDescription" => _("Device"), "plSelfModify" => FALSE, "plDepends" => array(), "plPriority" => 1, "plSection" => array("administration"), "plCategory" => array( - "registeredDevice" => array( "description" => _("Registered device"), - "objectClass" => "registeredDevice")), + "Device" => array( + "description" => _("Device"), + "objectClass" => "Device")), "plProvidedAcls" => array( "cn" => _("Name"), "serialNumber" => _("Serial number"), -- 2.30.2