From: <se...@us...> - 2008-11-19 09:47:02
|
Revision: 15684 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=15684&view=rev Author: sept_7 Date: 2008-11-19 09:46:59 +0000 (Wed, 19 Nov 2008) Log Message: ----------- [ENH] filgals : put a pagination block at the top of the list if maxRecords > 20 Modified Paths: -------------- trunk/templates/list_file_gallery.tpl Modified: trunk/templates/list_file_gallery.tpl =================================================================== --- trunk/templates/list_file_gallery.tpl 2008-11-19 09:41:21 UTC (rev 15683) +++ trunk/templates/list_file_gallery.tpl 2008-11-19 09:46:59 UTC (rev 15684) @@ -42,8 +42,13 @@ {else} <td width="100%" class="fgallisting"> {/if} + <div style="padding:1px; overflow-x:auto; overflow-y:hidden;"> - + {if $maxRecords > 20 and $cant > $maxRecords} + <div class="clearboth" style="margin-bottom: 3px;"> + {pagination_links cant=$cant step=$maxRecords offset=$offset}{/pagination_links} + </div> + {/if} <form name="fgalformid" id="fgalform" method="post" action="{$smarty.server.PHP_SELF}{if $filegals_manager neq ''}?filegals_manager={$filegals_manager|escape}{/if}"> <input type="hidden" name="galleryId" value="{$gal_info.galleryId|escape}" /> <input type="hidden" name="find" value="{$find|escape}" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |