From 5ca10e81d2ef2eb5bef5b06be0a14fd3acac9a7a Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 21 Feb 2008 14:39:00 +0000 Subject: [PATCH] Updated phone hardware classes. -Use correct template path git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9026 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../gofon/admin/systems/gofon/class_phoneGeneric.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc b/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc index 444e3f6f3..be2f95de9 100644 --- a/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc +++ b/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc @@ -257,8 +257,8 @@ class phoneGeneric extends plugin return($str); } $smarty->assign("netconfig", $str); - $smarty->assign("phonesettings", dirname(__FILE__)."/phonesettings.tpl"); - return($smarty->fetch (get_template_path('phone.tpl', TRUE))); + $smarty->assign("phonesettings", get_template_path("phonesettings.tpl",TRUE,dirname(__FILE__))); + return($smarty->fetch (get_template_path('phone.tpl', TRUE,dirname(__FILE__)))); } function remove_from_parent() @@ -451,7 +451,7 @@ class phoneGeneric extends plugin $smarty = get_smarty(); $smarty->assign("cn" ,$this->cn); $smarty->assign("object","phone"); - $str = $smarty->fetch(get_template_path("paste_generic.tpl",TRUE)); + $str = $smarty->fetch(get_template_path("paste_generic.tpl",TRUE,dirname(__FILE__))); $ret = array(); $ret['string'] = $str; $ret['status'] = ""; -- 2.30.2