]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/theme.php
Fix registration form
[friendica.git] / view / theme / smoothly / theme.php
index 60ea7b24950c2b1dd76cb0e802a5f6cf97249e0b..83e2c72df6e78d03903863636ec713b752680c9d 100644 (file)
@@ -2,8 +2,8 @@
 
 /*
  * Name: Smoothly
- * Description: Like coffee with milk. Theme works fine with iPad[2].
- * Version: Version 0.10.24
+ * Description: Like coffee with milk. Theme optimized for iPad[2].
+ * Version: Version 0.131
  * Author: Alex <https://friendica.pixelbits.de/profile/alex>
  * Maintainer: Alex <https://friendica.pixelbits.de/profile/alex>
  * Screenshot: <a href="screenshot.png">Screenshot</a>
@@ -11,6 +11,7 @@
 
 $a = get_app();
 $a->theme_info = array();
+set_template_engine($a, 'smarty3');
 
 function smoothly_init(&$a) {
        $cssFile = null;
@@ -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);
        }