summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d185cc6)
raw | patch | inline | side by side (parent: d185cc6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 29 Sep 2010 15:00:49 +0000 (15:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 29 Sep 2010 15:00:49 +0000 (15:00 +0000) |
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 21dc89627206c6729b6fce19759be5ea1b490440..e5783ccae784378e0c503b7bec0f6a910261d80c 100644 (file)
<type>sub</type>
<image>images/lists/element.png[new]</image>
<label>Create</label>
+ <action>
+ <name>remove</name>
+ <type>entry</type>
+ <image>images/lists/trash.png</image>
+ <label>Blaa</label>
+ </action>
</action>
<action>
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 e2e221217d2c7f8f61bf87134bf6dfeaa52ceaa5..1ae07757559e313439ecae060dd68dca5b3aa281 100644 (file)
}
if(!$root){
echo 'No root found!';
- $this->rebuildListing();
- return;
+ $this->rebuildListing();
$this->is_account = FALSE;
+ return;
}
$this->is_account = TRUE;
$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 a5d6787a79c421f77c87b9219220df88cb84961a..b35cd385aa15b28d487c97d9a095c4dd6c6782ed 100644 (file)
</table>
{/if}
+{if $type == 'PuppetTemplate'}
+ <table>
+ <tr>
+ <td>{$nameName}</td>
+ <td>{$name}</td>
+ </tr>
+ <tr>
+ <td>{$dataName}</td>
+ <td>{$data}</td>
+ </tr>
+ </table>
+{/if}