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);
}
$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);

View file

@ -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

View file

@ -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) {