From: cajus Date: Thu, 17 Jan 2008 13:22:10 +0000 (+0000) Subject: Fixed template loading X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f51a0431b79344615a23f8820be2d682385d7db5;p=gosa.git Fixed template loading git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8451 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc b/gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc index 79009908e..33004b8b2 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc @@ -36,7 +36,7 @@ class ArpNewDevice extends plugin $this->dialog = FALSE; } - return($smarty->fetch (get_template_path('ArpNewDevice.tpl', TRUE))); + return($smarty->fetch (get_template_path('ArpNewDevice.tpl', TRUE,dirname(__FILE__)))); } function check() diff --git a/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc b/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc index c17b8ef5f..d330b294c 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc @@ -51,7 +51,7 @@ class SelectDeviceType extends plugin $smarty->assign("ObjectGroup",$this->ObjectGroup); $smarty->assign("SystemType",$this->SystemType); - $display.= $smarty->fetch(get_template_path('SelectDeviceType.tpl', TRUE)); + $display.= $smarty->fetch(get_template_path('SelectDeviceType.tpl', TRUE,dirname(__FILE__))); return($display); } diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc index 54e1d865d..b8c3005e8 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalService.inc @@ -344,7 +344,7 @@ class termservice extends plugin } /* Show main page */ - return($smarty->fetch (get_template_path('terminalService.tpl', TRUE))); + return($smarty->fetch (get_template_path('terminalService.tpl', TRUE,dirname(__FILE__)))); } function remove_from_parent() diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc index 362bc7d8c..2e7675e2f 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc @@ -344,7 +344,7 @@ class termstartup extends plugin } /* Show main page */ - return($smarty->fetch (get_template_path('terminalStartup.tpl', TRUE))); + return($smarty->fetch (get_template_path('terminalStartup.tpl', TRUE,dirname(__FILE__)))); } function remove_from_parent()