1
1
Fork 0

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 > <!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>