aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/yoga/header.tpl2
-rw-r--r--template/yoga/mail/text/html/header.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index f76919ca7..b0495c104 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -1,7 +1,7 @@
{* $Id$ *}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
-<html lang="{$LANG}" dir="{$DIR}">
+<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">
<meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
diff --git a/template/yoga/mail/text/html/header.tpl b/template/yoga/mail/text/html/header.tpl
index 2aeb2b434..20e3dab83 100644
--- a/template/yoga/mail/text/html/header.tpl
+++ b/template/yoga/mail/text/html/header.tpl
@@ -4,7 +4,7 @@ Content-Type: {$CONTENT_TYPE}; charset="{$CONTENT_ENCODING}";
Content-Transfer-Encoding: 8bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="{$LANG}" dir="{$DIR}">
+<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
<head>
<title>Piwigo Mail</title>
<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}">