From: hickert Date: Thu, 16 Sep 2010 06:08:42 +0000 (+0000) Subject: Updated registered device classes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f1a9b677e0e99b3f7c28feb4e5809eaa3e23b528;p=gosa.git Updated registered device classes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19691 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/devices/class_registeredDevice.inc b/gosa-plugins/goto/admin/systems/goto/devices/class_registeredDevice.inc index 52d1bcc97..2a7764ee6 100644 --- a/gosa-plugins/goto/admin/systems/goto/devices/class_registeredDevice.inc +++ b/gosa-plugins/goto/admin/systems/goto/devices/class_registeredDevice.inc @@ -5,8 +5,12 @@ class registeredDevice extends plugin { public $objectclasses = array('top','device','registeredDevice'); - public $attributes = array("cn","serialNumber","seeAlso","owner","ou","o", - "l","description","manager","deviceUUID","deviceStatus"); + public $attributes = array("cn","serialNumber","seeAlso","owner","ou","o","ipHostNumber", + "l","description","manager","deviceUUID","deviceStatus","macAddress",); + + public $dynClasses = array( + 'ieee802Device' => array('macAddress'), + 'ipHost' => array('ipHostNumber')); public $cn = ""; public $serialNumber = ""; @@ -20,6 +24,9 @@ class registeredDevice extends plugin public $deviceUUID = ""; public $deviceStatus = ""; + public $ipHostNumber = ""; + public $macAddress = ""; + public $base = ""; public $orig_dn =""; @@ -81,7 +88,9 @@ class registeredDevice extends plugin "description" => _("Description"), "manager" => _("Manager"), "deviceUUID" => _("Uuid"), - "deviceStatus" => _("Stauts") + "deviceStatus" => _("Stauts"), + "macAddress" => _("MAC address"), + "ipHostNumber" => _("IP address") ) ) ); diff --git a/gosa-plugins/goto/admin/systems/goto/devices/registeredDevice.tpl b/gosa-plugins/goto/admin/systems/goto/devices/registeredDevice.tpl index 6ab332f4b..8a45bf8bd 100644 --- a/gosa-plugins/goto/admin/systems/goto/devices/registeredDevice.tpl +++ b/gosa-plugins/goto/admin/systems/goto/devices/registeredDevice.tpl @@ -1,13 +1,77 @@

{t}Registered device{/t}

-
Name: -
Serial number -
See also -
Owner -
Organizational unit -
Organization -
Location -
Description -
Manager -
UUid -
Status + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + +
+
+ +
+ +

{t}Network settings{/t}

+ + + + + + + + + + +