summaryrefslogtreecommitdiff
path: root/tpl/default/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default/main.php')
-rw-r--r--tpl/default/main.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tpl/default/main.php b/tpl/default/main.php
index 1ce58f407..b4cf2bbf1 100644
--- a/tpl/default/main.php
+++ b/tpl/default/main.php
@@ -1,4 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?
/**
* DokuWiki Default Template
@@ -13,7 +14,8 @@
* @author Andreas Gohr <andi@splitbrain.org>
*/
?>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$conf['lang']?>" lang="<?=$conf['lang']?>" dir="ltr">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$conf['lang']?>"
+ lang="<?=$conf['lang']?>" dir="<?=$lang['direction']?>">
<head>
<title><?=$ID?> [<?=hsc($conf['title'])?>]</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />