From: hickert Date: Wed, 29 Sep 2010 15:00:49 +0000 (+0000) Subject: Updated item listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=13f89eb77033615ab4ca93a103de1cadbdf200fc;p=gosa.git Updated item listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19856 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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}