Revision 2f0674eb
Von Sven Schöling vor fast 13 Jahren hinzugefügt
templates/webpages/common/paginate.html | ||
---|---|---|
1 | 1 |
[%- IF pages.max > 1 %] |
2 |
[%- IF pages.cur > 1 %]<a href='[% base_url _ "&page=" _ (pages.cur - 1) %]'><-</a> [%- END %] |
|
2 | 3 |
[%- FOR p = pages.common %] |
3 | 4 |
[%- IF p.active %]<a href="[% base_url _ "&page=" _ p.page %]">[% p.page %]</a> |
4 | 5 |
[%- ELSE %]<b>[% p.page %]</b> |
5 | 6 |
[%- END %] |
6 | 7 |
[%- ' ' UNLESS loop.last %] |
7 | 8 |
[%- END %] |
9 |
[%- IF pages.cur < pages.max %] <a href='[% base_url _ "&page=" _ (pages.cur + 1) %]'>-></a>[%- END %] |
|
8 | 10 |
[%- END %] |
Auch abrufbar als: Unified diff
Next/Last Pfeile für Paginating.