mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
- upgrade goes smarty
- event_tracer goes smarty - correction in index.tpl git-svn-id: http://piwigo.org/svn/trunk@2254 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -84,8 +84,11 @@ class Template {
|
||||
$this->smarty->assign_by_ref( 'pwg', new PwgTemplateAdapter() );
|
||||
$this->smarty->register_modifier( 'translate', array('Template', 'mod_translate') );
|
||||
|
||||
include($root.'/theme/'.$theme.'/themeconf.inc.php');
|
||||
$this->smarty->assign('themeconf', $themeconf);
|
||||
if ( !empty($theme) )
|
||||
{
|
||||
include($root.'/theme/'.$theme.'/themeconf.inc.php');
|
||||
$this->smarty->assign('themeconf', $themeconf);
|
||||
}
|
||||
|
||||
$this->_old = & new TemplateOld($root, $theme);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user