X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2Frender%2FPageBuilder.php;h=3f86fc2681010c99b724ffbcef2cc758b0240418;hb=cb974e47476284d967483f7478e3dcb5a2d974d4;hp=0569b67f93e4ded88780e1d52ee2c22a4e2054e1;hpb=905f8675a728841b03b300d2c7dc909a1c4f7f03;p=github%2Fshaarli%2FShaarli.git 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 $this->tpl->assign('hide_timestamps', $this->conf->get('privacy.hide_timestamps', false)); $this->tpl->assign('token', $this->token); + $this->tpl->assign('language', $this->conf->get('translation.language')); + if ($this->linkDB !== null) { $this->tpl->assign('tags', $this->linkDB->linksCountPerTag()); }