From e9d7622d55ca8456e36ea8a178e8b0286250fd1d Mon Sep 17 00:00:00 2001 From: rub Date: Wed, 1 Oct 2008 20:39:06 +0000 Subject: 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 --- include/template.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') 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); } -- cgit v1.2.3