diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-07 07:33:43 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-07 07:33:43 +0000 |
| commit | 76436c0029f5be153f805a1be03e17ea26309906 (patch) | |
| tree | 2ac99106d2600c5de8518621a22cda8702598ff2 /themes/default/views/album.html.php | |
| parent | 50a9848f383c988b720c99945fbb91f371e02fa0 (diff) | |
Add automatic pagination. All you have to do is add <?= $theme->pager
?> to your theme file and you get a well formed pager. Themes can
customize this any way they want. A version that matches the mockup
is provided in the default theme.
Diffstat (limited to 'themes/default/views/album.html.php')
| -rw-r--r-- | themes/default/views/album.html.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index 0d181536..034c9a9e 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -27,10 +27,4 @@ <? endforeach ?> </ul> - <div id="gPagination"> - Items 1-10 of 34 - <span class="first_inactive">first</span> - <span class="previous_inactive">previous</span> - <a href="#" class="next">next</a> - <a href="#" class="last">last</a> - </div> + <?= $theme->pager() ?> |
