aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-19 13:30:21 +0000
committerplegall <plg@piwigo.org>2010-03-19 13:30:21 +0000
commit6b296b293d7ac666548ec74cecf827699f912ff7 (patch)
tree4594d284f96b3279dcf92c1a41d43703e8d6d44a /include
parent3f8d84cbe690d94871f15957b3a233e6d23b5be3 (diff)
feature 1502: replace the theme.name by theme.id for theme.css load
git-svn-id: http://piwigo.org/svn/trunk@5190 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/template.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 86200a978..030b352be 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -97,7 +97,7 @@ class Template {
$this->set_theme($root, $themeconf['parent'], $path);
}
- $tpl_var = array('name' => $themeconf['name']);
+ $tpl_var = array('id' => $theme);
if (!empty($themeconf['local_head']) )
{
$tpl_var['local_head'] = realpath($root.'/'.$theme.'/'.$themeconf['local_head'] );