Code

Fixed template loading
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Jan 2008 13:22:10 +0000 (13:22 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Jan 2008 13:22:10 +0000 (13:22 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8451 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_ArpNewDevice.inc
gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc
gosa-plugins/goto/admin/systems/goto/class_terminalService.inc
gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc

index 79009908e9f2a6320c08314d92cb47091178e92a..33004b8b205f1ce3b15732375efdf977bb54a43a 100644 (file)
@@ -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()
index c17b8ef5f1f2e5777aa5e6ccb8a43c001416ed4c..d330b294cb40e3ebda898a60ed47a04f2e2ca429 100644 (file)
@@ -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);
   }
 
index 54e1d865d2f43f4c0aa2e2998d0512bc5ea2e006..b8c3005e87451491e43d0c90e2d56a0c627918b3 100644 (file)
@@ -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()
index 362bc7d8c10b920a8b66b5d08819e1c22178852a..2e7675e2fc0e261e7578147280e1055a02070077 100644 (file)
@@ -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()