diff options
author | Keith Carangelo <mail@kcaran.com> | 2020-08-29 11:02:59 -0400 |
---|---|---|
committer | Keith Carangelo <mail@kcaran.com> | 2020-08-29 11:02:59 -0400 |
commit | 816ffba74b8bebffc620af50994833d783207a50 (patch) | |
tree | 65faa0496b7089bf4edb45ae20c8ea471f81c5ae /application | |
parent | bea062149ebcb4663861edb1cc0a32faf85b273f (diff) | |
download | Shaarli-816ffba74b8bebffc620af50994833d783207a50.tar.gz Shaarli-816ffba74b8bebffc620af50994833d783207a50.tar.zst Shaarli-816ffba74b8bebffc620af50994833d783207a50.zip |
Added $links_per_page variable to template and display on default
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..21703639 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', $_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 | } |