diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-09-03 08:45:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 08:45:48 +0200 |
commit | 0a286f6946f6e13c865cd80b2c347725b88821d0 (patch) | |
tree | 4820c77e27123dae676a6df72b5f3547cc012448 /application | |
parent | 2835ac7cbe65fd2b602cadad5e9d6b09eb670d59 (diff) | |
parent | 4479aff18f4ff80e274b52548c08e9ed9379bd51 (diff) | |
download | Shaarli-0a286f6946f6e13c865cd80b2c347725b88821d0.tar.gz Shaarli-0a286f6946f6e13c865cd80b2c347725b88821d0.tar.zst Shaarli-0a286f6946f6e13c865cd80b2c347725b88821d0.zip |
Merge pull request #1526 from kcaran/links_per_page
Diffstat (limited to 'application')
-rw-r--r-- | application/render/PageBuilder.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/render/PageBuilder.php b/application/render/PageBuilder.php index 7a716673..c52e3b76 100644 --- a/application/render/PageBuilder.php +++ b/application/render/PageBuilder.php | |||
@@ -149,6 +149,8 @@ class PageBuilder | |||
149 | 149 | ||
150 | $this->tpl->assign('formatter', $this->conf->get('formatter', 'default')); | 150 | $this->tpl->assign('formatter', $this->conf->get('formatter', 'default')); |
151 | 151 | ||
152 | $this->tpl->assign('links_per_page', $this->session['LINKS_PER_PAGE']); | ||
153 | |||
152 | // To be removed with a proper theme configuration. | 154 | // To be removed with a proper theme configuration. |
153 | $this->tpl->assign('conf', $this->conf); | 155 | $this->tpl->assign('conf', $this->conf); |
154 | } | 156 | } |