summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 36d3c8c)
raw | patch | inline | side by side (parent: 36d3c8c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Feb 2008 14:39:00 +0000 (14:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Feb 2008 14:39:00 +0000 (14:39 +0000) |
-Use correct template path
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9026 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9026 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc b/gosa-plugins/gofon/admin/systems/gofon/class_phoneGeneric.inc
index 444e3f6f349679a386d350408c51c11b6ef09529..be2f95de9e88458cbe50423d06f3eda0e3a80a02 100644 (file)
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()
$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'] = "";