X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrost%2Ftheme.php;h=b09153876d67c09285609c27910d02ea35e33e24;hb=cbd3edbc05999310b7f3cca5aa3d0124b26f7c6e;hp=7746109e56df657c50fec7747838ea8184f3cec5;hpb=a020086128e3d903a030cc3b3d403ab9bce02d88;p=friendica.git diff --git a/view/theme/frost/theme.php b/view/theme/frost/theme.php index 7746109e56..b09153876d 100644 --- a/view/theme/frost/theme.php +++ b/view/theme/frost/theme.php @@ -9,14 +9,16 @@ * Maintainer: Zach P */ -function frost_init(App &$a) { +use Friendica\App; + +function frost_init(App $a) { $a->videowidth = 400; $a->videoheight = 330; $a->theme_thread_allow = false; set_template_engine($a, 'smarty3'); } -function frost_content_loaded(App &$a) { +function frost_content_loaded(App $a) { // I could do this in style.php, but by having the CSS in a file the browser will cache it, // making pages load faster @@ -43,7 +45,7 @@ function frost_uninstall() { logger("uninstalled theme frost"); } -function frost_item_photo_links(&$a, &$body_info) { +function frost_item_photo_links(App $a, &$body_info) { require_once('include/Photo.php'); $phototypes = Photo::supportedTypes(); @@ -68,7 +70,7 @@ function frost_item_photo_links(&$a, &$body_info) { $body_info['html'] = str_replace($link, $newlink, $body_info['html']); } - + $p = bb_find_open_close($body_info['html'], "", $occurence); } }