aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-02-09 14:29:35 +0100
committerArthurHoaro <arthur@hoa.ro>2019-02-09 14:29:35 +0100
commitcb974e47476284d967483f7478e3dcb5a2d974d4 (patch)
treec121e4e10f3ed3ad82b9206f5dbfa5f7a9778f04 /index.php
parent905f8675a728841b03b300d2c7dc909a1c4f7f03 (diff)
downloadShaarli-cb974e47476284d967483f7478e3dcb5a2d974d4.tar.gz
Shaarli-cb974e47476284d967483f7478e3dcb5a2d974d4.tar.zst
Shaarli-cb974e47476284d967483f7478e3dcb5a2d974d4.zip
Accessibility: specify the HTML lang attribute
The lang is based on the user defined one. If the language is automatic, no language will be specified. Fixes #1216
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/index.php b/index.php
index 633ab89e..50a871e0 100644
--- a/index.php
+++ b/index.php
@@ -1074,7 +1074,6 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history, $sessionManager,
1074 $PAGE->assign('api_enabled', $conf->get('api.enabled', true)); 1074 $PAGE->assign('api_enabled', $conf->get('api.enabled', true));
1075 $PAGE->assign('api_secret', $conf->get('api.secret')); 1075 $PAGE->assign('api_secret', $conf->get('api.secret'));
1076 $PAGE->assign('languages', Languages::getAvailableLanguages()); 1076 $PAGE->assign('languages', Languages::getAvailableLanguages());
1077 $PAGE->assign('language', $conf->get('translation.language'));
1078 $PAGE->assign('gd_enabled', extension_loaded('gd')); 1077 $PAGE->assign('gd_enabled', extension_loaded('gd'));
1079 $PAGE->assign('thumbnails_mode', $conf->get('thumbnails.mode', Thumbnailer::MODE_NONE)); 1078 $PAGE->assign('thumbnails_mode', $conf->get('thumbnails.mode', Thumbnailer::MODE_NONE));
1080 $PAGE->assign('pagetitle', t('Configure') .' - '. $conf->get('general.title', 'Shaarli')); 1079 $PAGE->assign('pagetitle', t('Configure') .' - '. $conf->get('general.title', 'Shaarli'));