diff -r e163794ccf54 -r 154d2d8ae9c0 qmsk/irclogs/templates/inc_paginate.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qmsk/irclogs/templates/inc_paginate.tmpl Sun Sep 13 20:08:16 2009 +0300 @@ -0,0 +1,60 @@ +## special overrides... +<%def name="paginate_left()"> + + + +<%def name="paginate(url, count, page_cur, page_max, _more=None, _last=False, **args)"> + <%doc> + Pagination works using page numbers, with a specific number of maximum pages displayed. If _more is True, + then instead of a "Next" button, we have a "More" button, which goes to the max+1'th page, unless _last is + True, whereupon it's not displayed. + + Can be called using <%call>, whereupon caller.left/caller.right can define additional data to display at the + left/right of the pagination ul. + +
+ +
+ +