From: cajus Date: Thu, 17 Jan 2008 13:19:53 +0000 (+0000) Subject: Fxied template loading X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=300db7de8ea78adb635cca435be6ea584b01049e;p=gosa.git Fxied template loading git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8449 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index 9eec1acaf..c0223ebeb 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -561,7 +561,7 @@ class printgeneric extends plugin $smarty->assign("netconfig", ""); } - return($display.$smarty->fetch (get_template_path('printer.tpl', TRUE))); + return($display.$smarty->fetch (get_template_path('printer.tpl', TRUE, dirname(__FILE__)))); } function remove_from_parent() diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc index 0a21884d2..314b5fe24 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc @@ -227,7 +227,7 @@ class terminfo extends plugin $smarty->assign($val, $this->$val); } - $display= $smarty->fetch (get_template_path('info.tpl', TRUE)); + $display= $smarty->fetch (get_template_path('info.tpl', TRUE, dirname(__FILE__))); return ($display); } diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index 0f0f97a98..0b58f7667 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -350,7 +350,7 @@ class workgeneric extends plugin $smarty->assign("netconfig", $str); /* Show main page */ - return($smarty->fetch (get_template_path('workstation.tpl', TRUE))); + return($smarty->fetch (get_template_path('workstation.tpl', TRUE, dirname(__FILE__)))); } function remove_from_parent()