From: hickert Date: Thu, 7 Jul 2011 12:04:35 +0000 (+0000) Subject: Updated the Device template X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=37074b98f77168a6e8761483f6356ec7be9de94c;p=gosa.git Updated the Device template git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20943 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/Device/Device.tpl b/gosa-plugins/goto/admin/systems/goto/Device/Device.tpl index 645ff8fe2..2256d3c7a 100644 --- a/gosa-plugins/goto/admin/systems/goto/Device/Device.tpl +++ b/gosa-plugins/goto/admin/systems/goto/Device/Device.tpl @@ -1,5 +1,3 @@ - -
@@ -35,43 +33,8 @@
- -
-

{t}Registration{/t}

- - - - - - - - - - - - - -
- - {render acl=$deviceTypeACL} - - {/render} -
- {render acl=$deviceUUIDACL} - - {/render} - {render acl=$deviceUUIDACL} - {image path="images/lists/reload.png" action="reloadUUID"} - {/render} -
- - {render acl=$deviceStatusACL} - - {/render} -
- - +

{t}Orgaizational data{/t}

@@ -133,6 +96,51 @@ --> +
+ + + + +
+ + + + +

{t}Registration{/t}

+ + + + + + + + + +
+ {render acl=$deviceUUIDACL} + + {/render} + {render acl=$deviceUUIDACL} + {image path="images/lists/reload.png" action="reloadUUID"} + {/render} +
+ + {render acl=$deviceTypeACL} + + {/render} +
+ + + + + + + diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_DeviceConfig.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_DeviceConfig.inc index 242d8a487..43cb84e4f 100644 --- a/gosa-plugins/goto/admin/systems/goto/Device/class_DeviceConfig.inc +++ b/gosa-plugins/goto/admin/systems/goto/Device/class_DeviceConfig.inc @@ -290,7 +290,7 @@ class DeviceConfig extends plugin $rpc = $this->config->getRpcHandle(); $installConfigManagement = $this->parent->by_object['InstallRecipe']->installConfigManagement; $rpc->systemSetConfigParameters($this->deviceUUID, array('method' => $installConfigManagement, - 'var' => $save, 'item' => $this->usedElements)); + 'var' => $save, 'item' => array_values($this->usedElements))); if(!$rpc->success()){ msg_dialog::display(_("Error"), msgPool::rpcError($rpc->get_error()), ERROR_DIALOG); return(NULL);
+ + {render acl=$deviceStatusACL} + + {/render} +