* Maintainer: Zach P <techcity@f.shmuz.in>
*/
-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
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();
$body_info['html'] = str_replace($link, $newlink, $body_info['html']);
}
-
+
$p = bb_find_open_close($body_info['html'], "<a", ">", $occurence);
}
}