X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fthemes.md;h=b553debfd756102942eace6786202f7721ba5a81;hb=288ad37c3c93bcc3f5f3409be095dba57deab7f4;hp=0b8f6cb83dc03aefd95a860b61609488a821c276;hpb=ee39aba490fb7e17ba9c01a9a4f4aedc51bee564;p=friendica.git diff --git a/doc/themes.md b/doc/themes.md index 0b8f6cb83d..b553debfd7 100644 --- a/doc/themes.md +++ b/doc/themes.md @@ -122,7 +122,7 @@ the 1st part of the line is the name of the CSS file (without the .css) the 2nd Calling the t() function with the common name makes the string translateable. The selected 1st part will be saved in the database by the theme_post function. - function theme_post(App &$a){ + function theme_post(App $a){ // non local users shall not pass if (! local_user()) { return; @@ -168,7 +168,7 @@ The content of this file should be something like theme_info = array( 'extends' => 'duepuntozero'. ); @@ -251,7 +251,7 @@ Next crucial part of the theme.php file is a definition of an init function. The name of the function is _init. So in the case of quattro it is - function quattro_init(App &$a) { + function quattro_init(App $a) { $a->theme_info = array(); set_template_engine($a, 'smarty3'); }