From: hickert Date: Thu, 30 Sep 2010 15:14:38 +0000 (+0000) Subject: Added list images X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cf04cec2d42403e567be8ff9ae86c18ae1a2bcfd;p=gosa.git Added list images git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19877 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc b/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc index 7f213e87c..8e8394bc4 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc +++ b/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc @@ -306,9 +306,16 @@ class DeviceConfig extends management // Build up device-list configuration $types =""; + $images = array(); + $images[] = 'images/lists/edit.png'; + $images[] = 'images/caps.png'; + $images[] = 'images/lists/trash.png'; + $images[] = 'images/filter.png'; + $images[] = 'images/find.png'; + $i = 0; foreach($this->itemConfig as $type => $item){ $desc = $item['description']; - $img = 'images/lists/trash.png'; + $img = $images[$i++]; $types .= " ". " ". @@ -322,13 +329,15 @@ class DeviceConfig extends management $items = ""; + $i = 0; foreach($this->addableContainerItems as $item){ $desc = $this->itemConfig[$item]['description']; + $img = $images[$i++]; $items .= "". " add_{$item}". " entry". - " images/lists/edit.png". + " {$img}". " ". ""; }