X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1a254be1009a000fbe872878088da9c8b69208f8..46bc75c8:/templates/webpages/common/paginate.html diff --git a/templates/webpages/common/paginate.html b/templates/webpages/common/paginate.html index 3292e13eb..8878193f2 100644 --- a/templates/webpages/common/paginate.html +++ b/templates/webpages/common/paginate.html @@ -1,6 +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 %]