X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fsmoothly%2Ftheme.php;h=d3ebbc1d159d3b7bc9092e1ce719d90019224a03;hb=d7410f9e47d50d652ae0d33ec0540b894c3dfc13;hp=3dff381b220487aa97cab4c04ded90c94844251d;hpb=96ed0a77912e049799dc81761f1dbe4a9eec5757;p=friendica.git diff --git a/view/theme/smoothly/theme.php b/view/theme/smoothly/theme.php index 3dff381b22..d3ebbc1d15 100644 --- a/view/theme/smoothly/theme.php +++ b/view/theme/smoothly/theme.php @@ -2,18 +2,18 @@ /* * Name: Smoothly - * Description: Like coffee with milk. Theme works fine with iPad[2]. - * Version: Version 0.11.14-2 - * Author: Alex - * Maintainer: Alex + * Description: Theme based on Testbubble and optimized for Tablets. + * Version: Version 2013-05-08 + * Author: Anne Walk, Devlon Duthied + * Author: Alex + * Maintainer: Nomen Nominandum * Screenshot: Screenshot */ -$a = get_app(); -$a->theme_info = array(); -$a->theme['template_engine'] = 'smarty3'; - function smoothly_init(&$a) { + $a->theme_info = array(); + set_template_engine($a, 'smarty3'); + $cssFile = null; $ssl_state = null; $baseurl = $a->get_baseurl($ssl_state); @@ -117,7 +117,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); }