From 13f89eb77033615ab4ca93a103de1cadbdf200fc Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 29 Sep 2010 15:00:49 +0000 Subject: [PATCH] Updated item listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19856 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/goto/Config/DeviceConfig-list.xml | 6 ++++++ .../admin/systems/goto/Config/class_DeviceConfig.inc | 6 +++--- .../goto/admin/systems/goto/Config/puppet.tpl | 12 ++++++++++++ 3 files changed, 21 insertions(+), 3 deletions(-) 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 21dc89627..e5783ccae 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/DeviceConfig-list.xml +++ b/gosa-plugins/goto/admin/systems/goto/Config/DeviceConfig-list.xml @@ -56,6 +56,12 @@ sub images/lists/element.png[new] + + remove + entry + images/lists/trash.png + + 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 e2e221217..1ae077575 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc +++ b/gosa-plugins/goto/admin/systems/goto/Config/class_DeviceConfig.inc @@ -55,9 +55,9 @@ class DeviceConfig extends management } if(!$root){ echo 'No root found!'; - $this->rebuildListing(); - return; + $this->rebuildListing(); $this->is_account = FALSE; + return; } $this->is_account = TRUE; @@ -89,7 +89,7 @@ class DeviceConfig extends management $this->setCurrentItem('temp1'); $this->addItem('PuppetTemplate','tep1', array( - 'name' => 'tep1', + 'name' => 'tep1', 'data' => 'kekse.tpl') ); diff --git a/gosa-plugins/goto/admin/systems/goto/Config/puppet.tpl b/gosa-plugins/goto/admin/systems/goto/Config/puppet.tpl index a5d6787a7..b35cd385a 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/puppet.tpl +++ b/gosa-plugins/goto/admin/systems/goto/Config/puppet.tpl @@ -25,3 +25,15 @@ {/if} +{if $type == 'PuppetTemplate'} + + + + + + + + + +
{$nameName}{$name}
{$dataName}{$data}
+{/if} -- 2.30.2