From: hickert Date: Tue, 28 Sep 2010 09:43:49 +0000 (+0000) Subject: Updated device listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b91a8d5464e10f6b78d2929f27eb1e870ec03d81;p=gosa.git Updated device listing - git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19826 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/Config/DeviceConfig-filter.xml b/gosa-plugins/goto/admin/systems/goto/Config/DeviceConfig-filter.xml index 2ad58ebac..1517fa481 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/DeviceConfig-filter.xml +++ b/gosa-plugins/goto/admin/systems/goto/Config/DeviceConfig-filter.xml @@ -3,47 +3,18 @@ true - server - workstation - terminal - opsi - incoming - phone - printer - winworkstation - component Device auto default - dn - objectClass - cn - description - gotoMode - FAIstate - FAIclass - macAddress - gotoLastUser - state + - default - SYSTEMS - (& - (|(objectClass=goServer) - (objectClass=gotoWorkstation) - (objectClass=device) - (objectClass=gotoTerminal) - (objectClass=goFonHardware) - (objectClass=ieee802Device) - (objectClass=gotoPrinter) - (objectClass=sambaSamAccount) - ) - (cn=$) - ) + DeviceItems + - @@ -53,63 +24,4 @@ - - all - - - SYSTEMS - (& - (|(objectClass=goServer) - (objectClass=gotoWorkstation) - (objectClass=gotoTerminal) - (objectClass=goFonHardware) - (objectClass=ieee802Device) - (objectClass=gotoPrinter) - (objectClass=sambaSamAccount) - (&(objectClass=goHard)(ou:dn:=%systemIncomingRDN)) - ) - (cn=$) - ) - - - - OPSIHOSTS - cn=$ - - - cn - 0.5 - 3 - - - - - - onlyOpsi - - - OPSIHOSTS - cn=$ - - - cn - 0.5 - 3 - - - - - incoming - - - SYSTEMS - (&(objectClass=goHard)(ou:dn:=%systemIncomingRDN)(cn=$)) - - - cn - 0.5 - 3 - - - diff --git a/gosa-plugins/goto/admin/systems/goto/Config/DeviceConfig-list.xml b/gosa-plugins/goto/admin/systems/goto/Config/DeviceConfig-list.xml index 917521bb6..447f6fae9 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/DeviceConfig-list.xml +++ b/gosa-plugins/goto/admin/systems/goto/Config/DeviceConfig-list.xml @@ -2,9 +2,9 @@ - true + false false - true + false true @@ -12,149 +12,12 @@ - device + FAKE_OC_DeviceItem Device Device images/lists/edit.png - - - FAKE_OC_OpsiHost - opsi - opsiGeneric - plugins/systems/images/select_winstation.png - - - - - FAKE_OC_NewWorkstation - workstation - workgeneric - plugins/systems/images/select_workstation.png[new] - - - - - goServer__IS_LOCKED - server - servgeneric - plugins/systems/images/select_server.png[locked] - - - - - gotoWorkstation__IS_LOCKED - workstation - workgeneric - plugins/systems/images/select_workstation.png[locked] - - - - - gotoTerminal__IS_LOCKED - terminal - termgeneric - plugins/systems/images/select_terminal.png[locked] - - - - - - FAKE_OC_NewTerminal - terminal - termgeneric - plugins/systems/images/select_terminal.png[new] - - - - - FAKE_OC_ArpNewDevice - incoming - ArpNewDevice - images/lists/element.png[new] - - - - - FAKE_OC_NewDevice - incoming - systemManagement - images/lists/element.png[new] - - - - - FAKE_OC_WorkstationTemplate - workstation - workgeneric - plugins/systems/images/select_default.png - - - - - FAKE_OC_TerminalTemplate - terminal - termgeneric - plugins/systems/images/select_default.png - - - - - FAKE_OC_winstation - winworkstation - wingeneric - plugins/systems/images/select_winstation.png - - - - - goServer - server - servgeneric - plugins/systems/images/select_server.png - - - - - gotoWorkstation - workstation - workgeneric - plugins/systems/images/select_workstation.png - - - - - gotoTerminal - terminal - termgeneric - plugins/systems/images/select_terminal.png - - - - - gotoPrinter - printer - printgeneric - plugins/systems/images/select_printer.png - - - - - goFonHardware - phone - phoneGeneric - plugins/systems/images/select_phone.png - - - - - ieee802Device - component - componentGeneric - plugins/systems/images/select_component.png - - @@ -177,7 +40,7 @@ cnstring - %{filter:filterLink(row,dn,"%s",cn,pid)} + %{filter:link(row,dn,"%s",cn,pid)}true @@ -185,15 +48,7 @@ descriptionstring - %{filter:filterSystemDescription(row,dn,pid,state,description)} - true - - - - - description - string - %{filter:systemRelease(row,dn,"%s",objectClass,FAIclass)} + %{filter:link(row,dn,pid,state,description)} true @@ -219,208 +74,6 @@ Device - - new_goServer - entry - plugins/systems/images/select_server.png[new] - - servgeneric - - - - new_gotoWorkstation - entry - plugins/systems/images/select_workstation.png[new] - - workgeneric - - - - new_gotoTerminal - entry - plugins/systems/images/select_terminal.png[new] - - termgeneric - - - - new_gotoPrinter - entry - plugins/systems/images/select_printer.png[new] - - printgeneric - - - - new_goFonHardware - entry - plugins/systems/images/select_phone.png[new] - - phoneGeneric - - - - new_ieee802Device - entry - plugins/systems/images/select_component.png[new] - - componentGeneric - - - - new_FAKE_OC_OpsiHost - entry - plugins/systems/images/select_winstation.png[new] - - opsi - - - - - separator - - - - sub - images/rocket.png - - - - T_DaemonEvent_halt - DaemonEvent_halt - entry - images/lists/reload.png - - - - - T_DaemonEvent_reboot - DaemonEvent_reboot - entry - images/lists/reload.png - - - - - T_DaemonEvent_wakeup - DaemonEvent_wakeup - entry - images/lists/on.png - - - - - T_DaemonEvent_update - DaemonEvent_update - entry - plugins/goto/images/update.png - - - - - T_DaemonEvent_lock - DaemonEvent_lock - entry - images/lists/locked.png - - - - - T_DaemonEvent_activate - DaemonEvent_activate - entry - images/lists/unlocked.png - - - - - T_DaemonEvent_reinstall - DaemonEvent_reinstall - entry - plugins/goto/images/reinstall.png - - - - - - - - - - sub - plugins/systems/images/clock.png - - - - S_DaemonEvent_halt - DaemonEvent_halt - entry - images/lists/off.png - - - - - S_DaemonEvent_reboot - DaemonEvent_reboot - entry - images/lists/reload.png - - - - - S_DaemonEvent_wakeup - DaemonEvent_wakeup - entry - images/lists/on.png - - - - - S_DaemonEvent_update - DaemonEvent_update - entry - plugins/goto/images/update.png - - - - - S_DaemonEvent_lock - DaemonEvent_lock - entry - images/lists/locked.png - - - - - S_DaemonEvent_activate - DaemonEvent_activate - entry - images/lists/unlocked.png - - - - - S_DaemonEvent_reinstall - DaemonEvent_reinstall - entry - plugins/goto/images/reinstall.png - - - - - - - separator - - - - activateMultiple - DaemonEvent_activate - entry - images/lists/unlocked.png - - - remove entry @@ -428,49 +81,9 @@ - - exporter - - - - separator - - - - copypaste - - - - snapshot - - - - - - setPassword - entry - FAKE_OC_PWD_changeAble - images/lists/key.png - - - - - - createISO - entry - gotoWorkstation - FAIobject - plugins/systems/images/cdrom.png - workstation/workgeneric[createFAICD:w] - - - - - cp - copypaste - + edit @@ -479,16 +92,10 @@ - - snapshot - snapshot - - remove entry images/lists/trash.png - %acl[d] diff --git a/gosa-plugins/goto/admin/systems/goto/Config/class_filterDeviceItems.inc b/gosa-plugins/goto/admin/systems/goto/Config/class_filterDeviceItems.inc new file mode 100644 index 000000000..61ddfdb05 --- /dev/null +++ b/gosa-plugins/goto/admin/systems/goto/Config/class_filterDeviceItems.inc @@ -0,0 +1,26 @@ + 1); + $entry[] = 'cn'; + $entry['description'] = array('test-item', 'count' => 1); + $entry[] = 'description'; + $entry['objectClass'] = array('FAKE_OC_DeviceItem','count' => 1); + $entry[] = 'objectClass'; + $entry['count'] = 4; + + + $ret[] = $entry; + return($ret); + } +} + +?>