]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/theme.php
Merge pull request #646 from annando/master
[friendica.git] / view / theme / smoothly / theme.php
index 1f1ee7327b5ac656256607f9117934c039403da1..849ad80a322893e30214d96a77b41717afba1e04 100644 (file)
@@ -2,18 +2,17 @@
 
 /*
  * Name: Smoothly
- * Description: Like coffee with milk. Theme works fine with iPad[2].
- * Version: Version 0.11.14-2
+ * Description: Like coffee with milk. Theme optimized for iPad[2].
+ * Version: Version 2013-02-27.1
  * Author: Alex <https://friendica.pixelbits.de/profile/alex>
  * Maintainer: Alex <https://friendica.pixelbits.de/profile/alex>
  * Screenshot: <a href="screenshot.png">Screenshot</a>
  */
 
-$a = get_app();
-$a->theme_info = array();
-set_template_engine($a, '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);