terom@107: ## special overrides... terom@107: <%def name="paginate_left()"> terom@107: terom@107: terom@107: terom@76: <%def name="paginate(url, count, page_cur, page_max, _more=None, _last=False, **args)"> terom@76: <%doc> terom@76: Pagination works using page numbers, with a specific number of maximum pages displayed. If _more is True, terom@76: then instead of a "Next" button, we have a "More" button, which goes to the max+1'th page, unless _last is terom@107: True, whereupon it's not displayed. terom@107: terom@107: Can be called using <%call>, whereupon caller.left/caller.right can define additional data to display at the terom@107: left/right of the pagination ul. terom@76: terom@76:
terom@76: terom@76:
terom@76: terom@76: