$this->tpl->assign('language', $this->conf->get('translation.language'));
if ($this->bookmarkService !== null) {
- $this->tpl->assign('tags', $this->bookmarkService->bookmarksCountPerTag());
+ $this->tpl->assign('tags', escape($this->bookmarkService->bookmarksCountPerTag()));
}
$this->tpl->assign(
$this->tpl->assign('formatter', $this->conf->get('formatter', 'default'));
+ $this->tpl->assign('links_per_page', $this->session['LINKS_PER_PAGE']);
+
// To be removed with a proper theme configuration.
$this->tpl->assign('conf', $this->conf);
}