aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/render
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-03-02 10:54:30 +0100
committerGitHub <noreply@github.com>2019-03-02 10:54:30 +0100
commit90e048594a2981ac510d024a4f0ae2d5f188a176 (patch)
tree6a785107e741a70d88f0786103e53d0825e788c5 /application/render
parentcc69aad4a903dc603f47cfa87aeb1865b03c8950 (diff)
parentcb974e47476284d967483f7478e3dcb5a2d974d4 (diff)
downloadShaarli-90e048594a2981ac510d024a4f0ae2d5f188a176.tar.gz
Shaarli-90e048594a2981ac510d024a4f0ae2d5f188a176.tar.zst
Shaarli-90e048594a2981ac510d024a4f0ae2d5f188a176.zip
Merge pull request #1272 from ArthurHoaro/feature/html-lang
Accessibility: specify the HTML lang attribute
Diffstat (limited to 'application/render')
-rw-r--r--application/render/PageBuilder.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/render/PageBuilder.php b/application/render/PageBuilder.php
index 0569b67f..3f86fc26 100644
--- a/application/render/PageBuilder.php
+++ b/application/render/PageBuilder.php
@@ -123,6 +123,8 @@ class PageBuilder
123 $this->tpl->assign('hide_timestamps', $this->conf->get('privacy.hide_timestamps', false)); 123 $this->tpl->assign('hide_timestamps', $this->conf->get('privacy.hide_timestamps', false));
124 $this->tpl->assign('token', $this->token); 124 $this->tpl->assign('token', $this->token);
125 125
126 $this->tpl->assign('language', $this->conf->get('translation.language'));
127
126 if ($this->linkDB !== null) { 128 if ($this->linkDB !== null) {
127 $this->tpl->assign('tags', $this->linkDB->linksCountPerTag()); 129 $this->tpl->assign('tags', $this->linkDB->linksCountPerTag());
128 } 130 }