X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fthemes.md;h=6193fa2d22c04919f5075d50750f5390ae8ca25e;hb=e84ad1556926acfebadfb70fd3161a0bc9ef4c6d;hp=d2e4c59be3edee9fbcaf1f3454815eecefe02868;hpb=fabc90e9dd5f1c4280a9bfa6c6930a3fc985f87a;p=friendica.git diff --git a/doc/themes.md b/doc/themes.md index d2e4c59be3..6193fa2d22 100644 --- a/doc/themes.md +++ b/doc/themes.md @@ -142,7 +142,7 @@ There you'll find somethink alike $colorset = Config::get('duepuntozero', 'colorset'); if ($colorset) { if ($colorset == 'greenzero') - $a->page['htmlhead'] .= ''."\n"; + DI::page()['htmlhead'] .= ''."\n"; /* some more variants */ } @@ -281,7 +281,7 @@ which declares *duepuntozero* as parent of the theme. If you want to add something to the HTML header of the theme, one way to do so is by adding it to the theme.php file. To do so, add something alike - $a->page['htmlhead'] .= <<< EOT + DI::page()['htmlhead'] .= <<< EOT /* stuff you want to add to the header */ EOT;