X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fsmoothly%2Ftheme.php;h=d3ebbc1d159d3b7bc9092e1ce719d90019224a03;hb=af32740c043f3f3e3cbeb5a92ec712d9d3930655;hp=f057a019a3705838cf1b644dcd64744dfd238840;hpb=c2af58da0140a3985a3bb611ba0f98cb07a9de23;p=friendica.git diff --git a/view/theme/smoothly/theme.php b/view/theme/smoothly/theme.php index f057a019a3..d3ebbc1d15 100644 --- a/view/theme/smoothly/theme.php +++ b/view/theme/smoothly/theme.php @@ -2,17 +2,18 @@ /* * Name: Smoothly - * Description: Like coffee with milk. Theme works fine with iPad[2]. - * Version: Version 0.10.19 - * 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(); - 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 +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); }