aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-05 20:25:48 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-05 20:25:48 +0100
commit0efcb40d8da1513fb751997cd6e1dc410ff0ee6d (patch)
tree4e649df6f0c9e953496004df83860d541369f577
parentfdb2b7588e2326dc36823d7fac5f88ff8ebee2ec (diff)
Entêtes XHTML
Compatibilité XHTML dans les entêtes et déclaration langue correcte ("fr" ou "en")
-rw-r--r--app/layout/layout.phtml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 40afbd85f..b3e6d85aa 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -1,11 +1,10 @@
<!DOCTYPE html>
-<html lang="fr">
+<html lang="<?php echo $this->conf->language (); ?>" xml:lang="<?php echo $this->conf->language (); ?>">
<head>
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1.0">
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="<?php echo Url::display ('/favicon.ico'); ?>" />
<link rel="icon" type="image/png" href="<?php echo Url::display ('/favicon.ico'); ?>" />
-
<?php echo self::headTitle (); ?>
<?php echo self::headStyle (); ?>
<?php echo self::headScript (); ?>