Author: suokko
Date: Tue Aug 12 22:10:50 2008
New Revision: 28517

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28517&view=rev
Log:
Added missing pagiante.tpl

Added:
    trunk/utils/tests/smarty_workdir/templates/paginate.tpl

Added: trunk/utils/tests/smarty_workdir/templates/paginate.tpl
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/tests/smarty_workdir/templates/paginate.tpl?rev=28517&view=auto
==============================================================================
--- trunk/utils/tests/smarty_workdir/templates/paginate.tpl (added)
+++ trunk/utils/tests/smarty_workdir/templates/paginate.tpl Tue Aug 12 22:10:50 
2008
@@ -1,0 +1,22 @@
+<div class="paginate">
+{if $paginate.page > 1}
+<a href="{$paginate.link}{$paginate.page-1}">Previous</a>
+{/if}
+{if $paginate.first_page > 1}
+<a href="{$paginate.link}1">1</a>
+{/if}
+
+{section name=pager loop=$paginate.last_page start=$paginate.first_page 
max=$paginate.visible}
+<a 
href="{$paginate.link}{$smarty.section.pager.index}">{$smarty.section.pager.index}</a>
+{if $smarty.section.pager.last == false}
+,
+{/if}
+{/section}
+
+{if $paginate.last_page < $paginate.number_of_pages}
+<a 
href="{$paginate.link}{$paginate.number_of_pages}">{$paginate.number_of_pages}</a>
+{/if}
+{if $paginate.page < $paginate.number_of_pages}
+<a href="{$paginate.link}{$paginate.page+1}">next</a>
+{/if}
+</div>


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to