diff options
author | rub <rub@piwigo.org> | 2008-10-01 20:39:06 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-10-01 20:39:06 +0000 |
commit | e9d7622d55ca8456e36ea8a178e8b0286250fd1d (patch) | |
tree | bfba53e0c20492bc5fb485ceadaaff134029419e /include | |
parent | 7eb7d3752748e3ca6db611e29a5d8c1aaac1195b (diff) |
Purpose of datepicker with jQuery.
I will open a french topic on forum to debate of implementation and possibles changes.
git-svn-id: http://piwigo.org/svn/trunk@2632 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/template.class.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php index 7456e2f3c..382071e7a 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -48,7 +48,7 @@ class Template { function Template($root = ".", $theme= "") { - global $conf; + global $conf, $lang_info; $this->smarty = new Smarty; $this->smarty->debugging = $conf['debug_template']; @@ -75,6 +75,8 @@ class Template { $this->smarty->assign('themeconf', $themeconf); } + $this->smarty->assign('lang_info', $lang_info); + $this->set_template_dir($root); } |