From f59f3567f6f2ae3e68ca1665af261b3d33390e68 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 17 Jan 2008 13:31:48 +0000 Subject: [PATCH] Fixed template loading git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8452 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/systems/samba/class_winGeneric.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gosa-core/plugins/admin/systems/samba/class_winGeneric.inc b/gosa-core/plugins/admin/systems/samba/class_winGeneric.inc index 559446548..dde10dd67 100644 --- a/gosa-core/plugins/admin/systems/samba/class_winGeneric.inc +++ b/gosa-core/plugins/admin/systems/samba/class_winGeneric.inc @@ -130,8 +130,6 @@ class wingeneric extends plugin /* Fill templating stuff */ $smarty= get_smarty(); - - // Undefined index in wingeneric.tpl ... $smarty->assign("bases", $this->config->idepartments); /* Assign attributes */ @@ -147,7 +145,7 @@ class wingeneric extends plugin return($str); } $smarty->assign("netconfig", $str); - return($smarty->fetch (get_template_path('wingeneric.tpl', TRUE))); + return($smarty->fetch (get_template_path('wingeneric.tpl', TRUE,dirname(__FILE__)))); } function remove_from_parent() -- 2.30.2