X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fthemes.md;h=531ff9c166eb5bcb79bec69a8fe7d939fe9f16e0;hb=c4d3ab68785122ff070c65a444aaa0833b746b2b;hp=fc21b19d6e4eafce2a0e5d605ab075247603c989;hpb=acb4630eed14175ef35f09e21609d6329f3f990c;p=friendica.git diff --git a/doc/themes.md b/doc/themes.md index fc21b19d6e..531ff9c166 100644 --- a/doc/themes.md +++ b/doc/themes.md @@ -172,7 +172,7 @@ The content of this file should be something like $a-> theme_info = array( 'extends' => 'duepuntozero'. ); - set_template_engine($a, 'smarty3'); + $a->set_template_engine('smarty3'); /* and more stuff e.g. the JavaScript function for the header */ } @@ -253,7 +253,7 @@ So in the case of quattro it is function quattro_init(App $a) { $a->theme_info = array(); - set_template_engine($a, 'smarty3'); + $a->set_template_engine('smarty3'); } Here we have set the basic theme information, in this case they are empty.