X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fsmoothly%2Ftheme.php;h=9dd958fff40166b8edd94d014923b650e84d09bc;hb=9ebb2f42a10bc0c71d0ddb87869a0de180f55a64;hp=e961146f6a941dd0d7aac1760a01706130641a54;hpb=67afa069abc97e3e00b78993a92881dc4afde9d7;p=friendica.git diff --git a/view/theme/smoothly/theme.php b/view/theme/smoothly/theme.php index e961146f6a..9dd958fff4 100644 --- a/view/theme/smoothly/theme.php +++ b/view/theme/smoothly/theme.php @@ -11,10 +11,11 @@ */ 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; @@ -106,12 +107,12 @@ 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'] = replace_macros($tpl, $bottom); + return $a->page['bottom'] = Renderer::replaceMacros($tpl, $bottom); } }