set language in HTML header to selected UI language

This commit is contained in:
Tobias Diekershoff 2016-04-03 20:55:39 +02:00
parent b9d9ffbd01
commit a88d950c33

View file

@ -1,5 +1,5 @@
<!DOCTYPE html > <!DOCTYPE html >
<html itemscope itemtype="http://schema.org/Blog" /> <html itemscope itemtype="http://schema.org/Blog" lang="<?php echo $lang; ?>">
<head> <head>
<title><?php if(x($page,'title')) echo $page['title'] ?></title> <title><?php if(x($page,'title')) echo $page['title'] ?></title>
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script> <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>