]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
basic file upload/attach
[friendica.git] / include / api.php
index 82790a6383f8a329bbe2cd7caed36416c8b811cf..84cb7b38f623e70e9a7f6a6f8273d230ddbc5965 100644 (file)
                        case "atom":
                        case "xml":
                                $data = api_xmlify($data);
-                               $tpl = load_view_file("view/api_".$templatename."_".$type.".tpl");
+                               $tpl = get_markup_template("api_".$templatename."_".$type.".tpl");
                                $ret = replace_macros($tpl, $data);
                                break;
                        case "json":