X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fsmoothly%2Ftheme.php;h=c88b2782740299c7b69ddeb4b118d116402a6ae6;hb=c35b21eb1885c02ddb0779de54e21edd3a79c7b0;hp=dbf50a9ea03a6ba7b2d9e6f094446ae309bd03b4;hpb=8df6f249fd3ae5f5a3303f93b4a48d7c6f341afc;p=friendica.git diff --git a/view/theme/smoothly/theme.php b/view/theme/smoothly/theme.php index dbf50a9ea0..c88b278274 100644 --- a/view/theme/smoothly/theme.php +++ b/view/theme/smoothly/theme.php @@ -2,17 +2,17 @@ /* * Name: Smoothly - * Description: Like coffee with milk. Theme works fine with iPad[2]. - * Version: Version 0.9.24-1 + * Description: Like coffee with milk. Theme optimized for iPad[2]. + * Version: Version 0.21 * Author: Alex * Maintainer: Alex * Screenshot: Screenshot */ -$a = get_app(); -$a->theme_info = array(); - function smoothly_init(&$a) { + $a->theme_info = array(); + set_template_engine($a, 'smarty3'); + $cssFile = null; $ssl_state = null; $baseurl = $a->get_baseurl($ssl_state); @@ -116,7 +116,7 @@ if(! function_exists('_js_in_foot')) { $ssl_state = null; $baseurl = $a->get_baseurl($ssl_state); $bottom['$baseurl'] = $baseurl; - $tpl = file_get_contents(dirname(__file__) . '/bottom.tpl'); + $tpl = get_markup_template('bottom.tpl'); return $a->page['bottom'] = replace_macros($tpl, $bottom); }