From: hickert Date: Wed, 13 Apr 2011 15:36:58 +0000 (+0000) Subject: Fixed template engine problems X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9f7789926557fa62be237942e1bb3bbecccd776e;p=gosa.git Fixed template engine problems git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20724 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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");