Skip to content

Commit

Permalink
header template: fix <html> dir attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerysong committed May 30, 2013
1 parent 7c39509 commit 66d907a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/header.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
$location = get_location();
?>
<!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; ?>" dir="<?php echo $dir;?>">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $htmllang; ?>" lang="<?php echo $htmllang; ?>" dir="<?php echo is_rtl(Config::get('lang')) ? 'rtl' : 'ltr';?>">

<head>
<link rel="shortcut icon" href="<?php echo $web_path; ?>/favicon.ico" />
Expand Down

0 comments on commit 66d907a

Please sign in to comment.