]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/theme.php
Merge pull request #6055 from zeroadam/FileTagHotFix
[friendica.git] / view / theme / smoothly / theme.php
index e961146f6a941dd0d7aac1760a01706130641a54..6168932e95242fc20548cc39a6862f08e9f11f03 100644 (file)
  */
 
 use Friendica\App;
+use Friendica\Core\Renderer;
 use Friendica\Core\System;
 
 function smoothly_init(App $a) {
-       $a->setActiveTemplateEngine('smarty3');
+       Renderer::setActiveTemplateEngine('smarty3');
 
        $cssFile = null;
        $ssl_state = null;
@@ -110,8 +111,8 @@ if (! function_exists('_js_in_foot')) {
                $ssl_state = null;
                $baseurl = System::baseUrl($ssl_state);
                $bottom['$baseurl'] = $baseurl;
-               $tpl = get_markup_template('bottom.tpl');
+               $tpl = Renderer::getMarkupTemplate('bottom.tpl');
 
-               return $a->page['bottom'] = replace_macros($tpl, $bottom);
+               return $a->page['bottom'] = Renderer::replaceMacros($tpl, $bottom);
        }
 }