set language in HTML header to selected UI language

This commit is contained in:
Tobias Diekershoff 2016-04-03 20:55:39 +02:00 committed by Roland Haeder
parent 71f93d0bdf
commit 9a6afaa307
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78

View File

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