X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/28d69bb85e934088a56e6e8458cd08d3794e1f8b..46bc75c8:/templates/webpages/common/paginate.html diff --git a/templates/webpages/common/paginate.html b/templates/webpages/common/paginate.html index 1b54ce8d8..8878193f2 100644 --- a/templates/webpages/common/paginate.html +++ b/templates/webpages/common/paginate.html @@ -1,8 +1,10 @@ +[%- USE T8 %] + [%- IF pages.max > 1 %] +[%- IF pages.cur > 1 %]« [% 'prev' | $T8 %] [% ELSE %]« [% END %] [%- FOR p = pages.common %] - [%- IF p.active %][% p.page %] - [%- ELSE %][% p.page %] - [%- END %] - [%- ' ' UNLESS loop.last %] + [%- NEXT UNLESS p.visible %] + [%- IF p.active %][% p.page %] [% ELSE %][% p.page %] [%- END %] [%- END %] +[%- IF pages.cur < pages.max %][% 'next' | $T8 %] »[% ELSE %]»[%- END %] [%- END %]