]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/smoothly/theme.php
Move /acl module to src/
[friendica.git] / view / theme / smoothly / theme.php
index 98175e89bddba7e4e8a22a0ed7ebbe6ca24adca8..9dd958fff40166b8edd94d014923b650e84d09bc 100644 (file)
@@ -15,7 +15,7 @@ use Friendica\Core\Renderer;
 use Friendica\Core\System;
 
 function smoothly_init(App $a) {
-       $a->setActiveTemplateEngine('smarty3');
+       Renderer::setActiveTemplateEngine('smarty3');
 
        $cssFile = null;
        $ssl_state = null;
@@ -107,11 +107,11 @@ if (! function_exists('_js_in_foot')) {
        function _js_in_foot() {
                /** @purpose insert stuff in bottom of page
                */
-               $a = get_app();
+               $a = \get_app();
                $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'] = Renderer::replaceMacros($tpl, $bottom);
        }