Merge pull request #551 from fermionic/20121222-use-smarty-template-engine

20121222 use smarty template engine
This commit is contained in:
fermionic 2012-12-23 05:31:11 -08:00
commit 974f60d132
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ function profile_init(&$a) {
auto_redir($a, $which); 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); profile_load($a,$which,$profile);
$blocked = (((get_config('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false); $blocked = (((get_config('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false);

View File

@ -13,7 +13,7 @@ $a->theme_info = array(
'family' => 'dispy', 'family' => 'dispy',
'name' => 'dark', 'name' => 'dark',
); );
$a->theme['template_engine'] = 'smarty3'; set_template_engine($a, 'smarty3');
function dispy_dark_init(&$a) { function dispy_dark_init(&$a) {
/** @purpose set some theme defaults /** @purpose set some theme defaults

View File

@ -13,7 +13,7 @@ $a->theme_info = array(
'family' => 'dispy', 'family' => 'dispy',
'name' => 'light', 'name' => 'light',
); );
$a->theme['template_engine'] = 'smarty3'; set_template_engine($a, 'smarty3');
function dispy_light_init(&$a) { function dispy_light_init(&$a) {