diff options
Diffstat (limited to 'templates/header.inc.php')
-rw-r--r-- | templates/header.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/header.inc.php b/templates/header.inc.php index 5fb07994..1566aa44 100644 --- a/templates/header.inc.php +++ b/templates/header.inc.php @@ -24,9 +24,10 @@ if (INIT_LOADED != '1') { exit; } $web_path = Config::get('web_path'); $htmllang = str_replace("_","-",Config::get('lang')); $location = get_location(); +$dir = is_rtl() ? "rtl" : "ltr"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $htmllang; ?>" lang="<?php echo $htmllang; ?>"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $htmllang; ?>" lang="<?php echo $htmllang; ?>" dir="<?php echo $dir;?>"> <head> <link rel="shortcut icon" href="<?php echo $web_path; ?>/favicon.ico" /> |