Set the page language

This commit is contained in:
Michael 2025-02-13 06:47:19 +00:00
parent 6e70ad1f0e
commit 23f16df112
5 changed files with 5 additions and 5 deletions

View file

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

View file

@ -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'];

View file

@ -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'];

View file

@ -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'];

View file

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