]> git.mxchange.org Git - friendica.git/blobdiff - doc/smarty3-templates.md
Merge pull request #6061 from nupplaphil/autoinstall_test_fix
[friendica.git] / doc / smarty3-templates.md
index 6d53199f8c871598b83347b47c9fef108ecb358f..599e3597e7554baf2e3c53dc3b3f262e6165832d 100644 (file)
@@ -22,7 +22,7 @@ directory.
 
 To render a template use the function *getMarkupTemplate* to load the template and *replaceMacros* to replace the macros/variables in the just loaded template file.
 
-               $tpl = get_markup_template('install_settings.tpl');
+               $tpl = Renderer::getMarkupTemplate('install_settings.tpl');
         $o .= Renderer::replaceMacros($tpl, array( ... ));
 
 the array consists of an association of an identifier and the value for that identifier, i.e.