diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2022-06-30 08:14:49 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-06-30 08:14:49 +0000 |
| commit | 3cfe3110dc44352a1a91a8fa00ab9a2b35a73306 (patch) | |
| tree | 4f5c4233bf2748b563c04890d9b665631bef9348 /lib/include | |
| parent | cddce51e112060e7d53f8b81ecc97d3df5bbf676 (diff) | |
Fix for BIESt closes #1229
Closes #1229
Merge request studip/studip!742
Diffstat (limited to 'lib/include')
| -rw-r--r-- | lib/include/html_head.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/include/html_head.inc.php b/lib/include/html_head.inc.php index f93878e..7a3083d 100644 --- a/lib/include/html_head.inc.php +++ b/lib/include/html_head.inc.php @@ -17,9 +17,11 @@ $getInstalledLanguages = function () { return $languages; }; + +$lang_attr = str_replace('_', '-', $_SESSION['_language']); ?> <!DOCTYPE html> -<html class="no-js"> +<html class="no-js" lang="<?= htmlReady($lang_attr) ?>"> <head> <meta charset="utf-8"> <title data-original="<?= htmlReady(PageLayout::getTitle()) ?>"> |
