X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FPageBuilder.php;h=50e3f1248d789436741341d80fb78211a728fccc;hb=61c15aa5554431893ea5ebe800a9a625dca5aff9;hp=b133dee83644794f7617726a79e1d087f373f825;hpb=64c34078e4782d8f41e6c7f2beb7682823e99498;p=github%2Fshaarli%2FShaarli.git diff --git a/application/PageBuilder.php b/application/PageBuilder.php index b133dee8..50e3f124 100644 --- a/application/PageBuilder.php +++ b/application/PageBuilder.php @@ -1,5 +1,7 @@ tpl = false; $this->conf = $conf; + $this->linkDB = $linkDB; } /** @@ -79,6 +88,9 @@ class PageBuilder $this->tpl->assign('feed_type', $this->conf->get('feed.show_atom', true) !== false ? 'atom' : 'rss'); $this->tpl->assign('hide_timestamps', $this->conf->get('privacy.hide_timestamps', false)); $this->tpl->assign('token', getToken($this->conf)); + if ($this->linkDB !== null) { + $this->tpl->assign('tags', $this->linkDB->allTags()); + } // To be removed with a proper theme configuration. $this->tpl->assign('conf', $this->conf); }