deprecate load_view_file

This commit is contained in:
Friendika 2011-05-11 04:37:13 -07:00
parent a00813497f
commit b2e92e0af3
36 changed files with 135 additions and 102 deletions

View file

@ -273,7 +273,7 @@
case "atom":
case "xml":
$data = api_xmlify($data);
$tpl = file_get_contents("view/api_".$templatename."_".$type.".tpl");
$tpl = get_markup_template("api_".$templatename."_".$type.".tpl");
$ret = replace_macros($tpl, $data);
break;
case "json":