summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dfbe8a9)
raw | patch | inline | side by side (parent: dfbe8a9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Sep 2010 15:14:38 +0000 (15:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Sep 2010 15:14:38 +0000 (15:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19877 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc | patch | blob | history |
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 7f213e87c0485de918cc58d1b1fe75b30a53000c..8e8394bc49f29825a7a7f23b67950b1c123087e4 100644 (file)
// 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 .=
" <objectType>".
" <label>{$desc}</label>".
$items = "";
+ $i = 0;
foreach($this->addableContainerItems as $item){
$desc = $this->itemConfig[$item]['description'];
+ $img = $images[$i++];
$items .=
"<action>".
" <name>add_{$item}</name>".
" <type>entry</type>".
- " <image>images/lists/edit.png</image>".
+ " <image>{$img}</image>".
" <label>{$desc}</label>".
"</action>";
}