mirror of
https://github.com/friendica/friendica
synced 2025-02-19 01:26:49 +00:00
Set the page language
This commit is contained in:
parent
6e70ad1f0e
commit
23f16df112
5 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@
|
|||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="<?php echo Friendica\DI::l10n()->getCurrentLang(); ?>">
|
||||
<head>
|
||||
<title><?php if(!empty($page['title'])) echo $page['title'] ?></title>
|
||||
<script>var baseurl="<?php echo Friendica\DI::baseUrl() ?>";</script>
|
||||
|
|
|
@ -30,7 +30,7 @@ $view_mode_class = (DI::mode()->isMobile() || DI::mode()->isMobile()) ? 'mob
|
|||
$is_singleuser = DI::config()->get('system', 'singleuser');
|
||||
$is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
|
||||
?>
|
||||
<html>
|
||||
<html lang="<?php echo DI::l10n()->getCurrentLang(); ?>">
|
||||
<head>
|
||||
<title><?php if (!empty($page['title'])) {
|
||||
echo $page['title'];
|
||||
|
|
|
@ -10,7 +10,7 @@ use Friendica\DI;
|
|||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="<?php echo DI::l10n()->getCurrentLang(); ?>">
|
||||
<head>
|
||||
<title><?php if(!empty($page['title'])) {
|
||||
echo $page['title'];
|
||||
|
|
|
@ -14,7 +14,7 @@ $frio = 'view/theme/frio';
|
|||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="<?php echo DI::l10n()->getCurrentLang(); ?>">
|
||||
<head>
|
||||
<title><?php if(!empty($page['title'])) {
|
||||
echo $page['title'];
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="<?php echo Friendica\DI::l10n()->getCurrentLang(); ?>">
|
||||
<head>
|
||||
<title><?php if(!empty($page['title'])) echo $page['title'] ?></title>
|
||||
<script>var baseurl="<?php echo Friendica\DI::baseUrl() ?>";</script>
|
||||
|
|
Loading…
Add table
Reference in a new issue