]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/comix-plain/theme.php
fix bug #540 for quattro themes
[friendica.git] / view / theme / comix-plain / theme.php
index a85d535a72ad472e7d256753a22025e8cdbf551e..f4781b08f0c9c5219a282521459119a0545270ed 100644 (file)
@@ -8,10 +8,11 @@
  */
 
 
+function comix_plain_init(&$a) {
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
 
 $a->page['htmlhead'] .= <<< EOT
 <script>
@@ -59,3 +60,5 @@ $('.savedsearchterm').hover(
 
 </script>
 EOT;
+}
+