entête html lire la langue dans core
This commit is contained in:
parent
301de2f18c
commit
d7c969224d
@ -1,7 +1,6 @@
|
|||||||
<?php $layout = new layout($this);
|
<?php $layout = new layout($this); ?>
|
||||||
$lan = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?>
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html prefix="og: http://ogp.me/ns#" lang="<?php echo $lan;?>">
|
<html prefix="og: http://ogp.me/ns#" lang="<?php echo self::$i18n;?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?php $layout = new layout($this);
|
<?php $layout = new layout($this); ?>
|
||||||
$lan = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?>
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html prefix="og: http://ogp.me/ns#" lang="<?php echo $lan;?>">
|
<html prefix="og: http://ogp.me/ns#" lang="<?php echo self::$i18n;?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?php $layout = new layout($this);
|
<?php $layout = new layout($this); ?>
|
||||||
$lan = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?>
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html prefix="og: http://ogp.me/ns#" lang="<?php echo $lan;?>">
|
<html prefix="og: http://ogp.me/ns#" lang="<?php echo self::$i18n;?>">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
Loading…
Reference in New Issue
Block a user