From: cajus Date: Thu, 17 Jan 2008 13:31:48 +0000 (+0000) Subject: Fixed template loading X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f59f3567f6f2ae3e68ca1665af261b3d33390e68;p=gosa.git Fixed template loading git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8452 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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()