]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/purplezero/theme.php
Merge pull request #1110 from annando/1409-issue-1094
[friendica.git] / view / theme / purplezero / theme.php
index a514da669ddb59fd2435abc0b8e1426ca4ae75f7..c78e5cccceaab9067024e89c4851c4ccf9cf00c8 100644 (file)
@@ -1,10 +1,11 @@
 <?php
+
+function purplezero_init(&$a) {
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
-$a->theme['template_engine'] = 'smarty3';
+set_template_engine($a, 'smarty3');
 
-function purplezero_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
 <script>
 function insertFormatting(comment,BBcode,id) {