Browse Source

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

20121222 use smarty template engine
pull/553/head
fermionic 8 years ago
parent
commit
974f60d132
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      mod/profile.php
  2. +1
    -1
      view/theme/dispy/dark/theme.php
  3. +1
    -1
      view/theme/dispy/light/theme.php

+ 1
- 1
mod/profile.php 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);


+ 1
- 1
view/theme/dispy/dark/theme.php 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


+ 1
- 1
view/theme/dispy/light/theme.php 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) {


Loading…
Cancel
Save