From 9f7789926557fa62be237942e1bb3bbecccd776e Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 13 Apr 2011 15:36:58 +0000 Subject: [PATCH] Fixed template engine problems git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20724 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/newConfigManagement/class_newConfigManagement.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc index b774c88d8..2a289f733 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc @@ -491,6 +491,7 @@ class newConfigManagement extends plugin $this->dataModel->setItemValues($item['path'], $item['values']); } + $this->TemplateEngine->load($this->itemConfig); $this->TemplateEngine->setTemplate($method.".tpl"); $this->TemplateEngine->setValues($item['type'],$item['values']['itemValues']); $this->listing->setDialogObject($this->TemplateEngine); @@ -504,6 +505,7 @@ class newConfigManagement extends plugin function newEntry($type) { // We've to add a config item + $this->TemplateEngine->load($this->itemConfig); if(isset($this->cfgItemMap[$type])){ $method = $this->cfgItemMap[$type]; $this->TemplateEngine->setTemplate($method.".tpl"); -- 2.30.2