From: hickert Date: Thu, 16 Sep 2010 08:47:13 +0000 (+0000) Subject: Updated the Device template X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b3469adba17be9d4f9ef8b4e3d86f68aaeaf4def;p=gosa.git Updated the Device template git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19699 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/devices/Device.tpl b/gosa-plugins/goto/admin/systems/goto/devices/Device.tpl index 8a45bf8bd..3a99b999f 100644 --- a/gosa-plugins/goto/admin/systems/goto/devices/Device.tpl +++ b/gosa-plugins/goto/admin/systems/goto/devices/Device.tpl @@ -1,9 +1,10 @@ -

{t}Registered device{/t}

-
+ +

{t}Device{/t}

@@ -13,6 +14,9 @@ +
+
+ @@ -25,13 +29,26 @@ + + + + + + + + + + + +
+ +

{t}Registered device{/t}

- - + + @@ -42,36 +59,19 @@
+
+

{t}Network settings{/t}

- - + + - - - - - - + +
- -
- -

{t}Network settings{/t}

- - - - - - - - - - -
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 4c2014102..19be8bf87 100644 --- a/gosa-plugins/goto/admin/systems/goto/devices/class_Device.inc +++ b/gosa-plugins/goto/admin/systems/goto/devices/class_Device.inc @@ -6,11 +6,11 @@ class Device extends plugin public $objectclasses = array('top','device'); public $attributes = array("cn","serialNumber","seeAlso","owner","ou","o","ipHostNumber", - "l","description","manager","deviceUUID","deviceStatus","macAddress",); + "l","description","manager","deviceUUID","deviceStatus","macAddress","deviceType"); public $dynClasses = array( 'ieee802Device' => array('macAddress'), - 'registeredDevice' => array('deviceStatus','deviceUUID'), + 'registeredDevice' => array('deviceStatus','deviceUUID','manager','deviceType'), 'ipHost' => array('ipHostNumber')); public $cn = ""; @@ -24,7 +24,7 @@ class Device extends plugin public $manager = ""; public $deviceUUID = ""; public $deviceStatus = ""; - + public $deviceType = ""; public $ipHostNumber = ""; public $macAddress = "";