]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/slackr/theme.php
Merge branch 'develop' of github.com:annando/friendica into 1409-shadow-items
[friendica.git] / view / theme / slackr / theme.php
index cbd028f7d6827db5169620f6ed853c0f0a5f497f..43deb4b8ccebe8590751f5abd749f9e5b3e19c21 100644 (file)
@@ -1,10 +1,11 @@
 <?php
+
+function slackr_init(&$a) {
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
 
-function slackr_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
 <script>
 function insertFormatting(comment,BBcode,id) {