]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/comix/theme.php
Merge pull request #1337 from annando/1501-html-in-poco
[friendica.git] / view / theme / comix / theme.php
index 52aa0a927dcc45ac73ce4b13493c441b3a919f05..da195f267ab513d49d84fef765b8a6298334f495 100644 (file)
@@ -8,10 +8,11 @@
  */
 
 
+function comix_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;
+}
+