Merge pull request #551 from fermionic/20121222-use-smarty-template-engine
20121222 use smarty template engine
This commit is contained in:
commit
974f60d132
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue