aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-10-04 09:50:02 +0000
committerrub <rub@piwigo.org>2008-10-04 09:50:02 +0000
commit1d7f99d90fcefacfe53025a8cbcacb29224a906c (patch)
tree1fc6b4858ad119c316a7be5b201d443418ebd9ef /include
parent756946289589a8146101265c603d4bf4a234b137 (diff)
Use directly $lang_info on tpl files.
git-svn-id: http://piwigo.org/svn/trunk@2651 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_mail.inc.php2
-rw-r--r--include/page_header.php2
2 files changed, 0 insertions, 4 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index 63175c2e0..c6a8e337f 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -652,8 +652,6 @@ function pwg_mail($to, $args = array())
'BOUNDARY_KEY' => $conf_mail['boundary_key'],
'CONTENT_TYPE' => $args['email_format'],
'CONTENT_ENCODING' => get_pwg_charset(),
- 'LANG' => $lang_info['code'],
- 'DIR' => $lang_info['direction'],
// Footer
'GALLERY_URL' =>
diff --git a/include/page_header.php b/include/page_header.php
index 629b45db3..2fa509e86 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -45,8 +45,6 @@ $template->assign(
'CONTENT_ENCODING' => get_pwg_charset(),
'PAGE_TITLE' => strip_tags($title),
- 'LANG'=>$lang_info['code'],
- 'DIR'=>$lang_info['direction'],
'U_HOME' => make_index_url(),
));