From 479541b5f804b3d7f4b955ff00715cbc7232d86c Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 6 Jan 2013 22:00:31 -0800 Subject: more work on notification popup --- view/theme/redbasic/php/theme.php | 5 ++++- view/tpl/nav.tpl | 5 +++-- view/tpl/smarty3/main_slider.tpl | 4 ++-- view/tpl/smarty3/nav.tpl | 5 +++-- 4 files changed, 12 insertions(+), 7 deletions(-) (limited to 'view') diff --git a/view/theme/redbasic/php/theme.php b/view/theme/redbasic/php/theme.php index 52e571f0a..3d69a7e22 100644 --- a/view/theme/redbasic/php/theme.php +++ b/view/theme/redbasic/php/theme.php @@ -1,6 +1,9 @@ set_template_engine('smarty3'); + if($a->config['system']['theme_engine']) + $a->set_template_engine($a->config['system']['theme_engine']); + else + $a->set_template_engine('smarty3'); // head_add_js('redbasic.js'); } diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index f8f9e1c06..57af0fa36 100644 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -49,9 +49,10 @@ {{ if $nav.notifications }} -