]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/render/PageBuilder.php
Added $links_per_page variable to template and display on default
[github/shaarli/Shaarli.git] / application / render / PageBuilder.php
index 7a7166732392a5726227bd33d769f0dd8abbc96e..217036392802f26f05801e22439df08eff0d9e13 100644 (file)
@@ -149,6 +149,8 @@ class PageBuilder
 
         $this->tpl->assign('formatter', $this->conf->get('formatter', 'default'));
 
+        $this->tpl->assign('links_per_page', $_SESSION['LINKS_PER_PAGE']);
+
         // To be removed with a proper theme configuration.
         $this->tpl->assign('conf', $this->conf);
     }