From b9f4687260266b3332059251d94d7b698f82ef89 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Sun, 23 Dec 2012 06:25:50 -0700 Subject: [PATCH 1/2] one more place where the template engine is changed --- mod/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/profile.php b/mod/profile.php index 15a0224212..9e9af19834 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -33,7 +33,7 @@ function profile_init(&$a) { auto_redir($a, $which); } - $a->theme["template_engine"] = 'internal'; // reset the template engine to the default in case the user's theme doesn't specify one + set_template_engine($a); // reset the template engine to the default in case the user's theme doesn't specify one profile_load($a,$which,$profile); $blocked = (((get_config('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false); From 232deadfd2e9b3a6b9f2327b61e967867162c51e Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Sun, 23 Dec 2012 06:29:58 -0700 Subject: [PATCH 2/2] missed a couple more template engine assignments --- view/theme/dispy/dark/theme.php | 2 +- view/theme/dispy/light/theme.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/view/theme/dispy/dark/theme.php b/view/theme/dispy/dark/theme.php index bae9db41ee..21d27f75ee 100644 --- a/view/theme/dispy/dark/theme.php +++ b/view/theme/dispy/dark/theme.php @@ -13,7 +13,7 @@ $a->theme_info = array( 'family' => 'dispy', 'name' => 'dark', ); -$a->theme['template_engine'] = 'smarty3'; +set_template_engine($a, 'smarty3'); function dispy_dark_init(&$a) { /** @purpose set some theme defaults diff --git a/view/theme/dispy/light/theme.php b/view/theme/dispy/light/theme.php index 806f30624d..f8753ec1aa 100644 --- a/view/theme/dispy/light/theme.php +++ b/view/theme/dispy/light/theme.php @@ -13,7 +13,7 @@ $a->theme_info = array( 'family' => 'dispy', 'name' => 'light', ); -$a->theme['template_engine'] = 'smarty3'; +set_template_engine($a, 'smarty3'); function dispy_light_init(&$a) {