{capture name=pages}
{if $plview->pages > 1}
-<div class="center pages">
+ {if $show_bounds}<div style="float: right"><small><strong>[{$first} - {$last}] </strong></small></div>{/if}
+<div class="center pages" style="float: left">
{if $plview->page neq 1}
- <a href="{$platal->pl_self()}{$plset_search}order={$order}&page=1">{icon name=resultset_first title="Première page"}</a>{*
- *}<a href="{$platal->pl_self()}{$plset_search}order={$order}&page={$plview->page-1}">{icon name=resultset_previous title="Page précédente"}</a>
+ <a href="{$platal->pl_self()}{$plset_search}order={$order}&page=1#pl_set_top">{icon name=resultset_first title="Première page"}</a>{*
+ *}<a href="{$platal->pl_self()}{$plset_search}order={$order}&page={$plview->page-1}#pl_set_top">{icon name=resultset_previous title="Page précédente"}</a>
{else}
{icon name=null title=""}{icon name=null title=""}
{/if}
{if $smarty.section.page.index eq $plview->page}
<span style="color: red">{$plview->page}</span>
{else}
- <a href="{$platal->pl_self()}{$plset_search}order={$order}&page={$smarty.section.page.index}">{$smarty.section.page.index}</a>
+ <a href="{$platal->pl_self()}{$plset_search}order={$order}&page={$smarty.section.page.index}#pl_set_top">{$smarty.section.page.index}</a>
{/if}
{/section}
{if $plview->page neq $plview->pages}
- <a href="{$platal->pl_self()}{$plset_search}order={$order}&page={$plview->page+1}">{icon name=resultset_next title="Page suivante"}</a>{*
- *}<a href="{$platal->pl_self()}{$plset_search}order={$order}&page={$plview->pages}">{icon name=resultset_last title="Dernière page"}</a>
+ <a href="{$platal->pl_self()}{$plset_search}order={$order}&page={$plview->page+1}#pl_set_top">{icon name=resultset_next title="Page suivante"}</a>{*
+ *}<a href="{$platal->pl_self()}{$plset_search}order={$order}&page={$plview->pages}#pl_set_top">{icon name=resultset_last title="Dernière page"}</a>
{else}
{icon name=null title=""}{icon name=null title=""}
{/if}
{capture name=order}
{if $plset_count > 1}
-<div>
+<div style="clear: both">
Trier par :
{foreach from=$orders key=name item=sort}
[
{if $name eq $order}
<img src='images/dn.png' alt='tri ascendant' />
- <a href="{$platal->pl_self()}{$plset_search}order=-{$name}">{$sort.desc}</a>
+ <a href="{$platal->pl_self()}{$plset_search}order=-{$name}#pl_set_top">{$sort.desc}</a>
{elseif $order eq "-$name"}
<img src='images/up.png' alt='tri ascendant' />
- <a href="{$platal->pl_self()}{$plset_search}order={$name}">{$sort.desc}</a>
+ <a href="{$platal->pl_self()}{$plset_search}order={$name}#pl_set_top">{$sort.desc}</a>
{else}
- <a href="{$platal->pl_self()}{$plset_search}order={$name}">{$sort.desc}</a>
+ <a href="{$platal->pl_self()}{$plset_search}order={$name}#pl_set_top">{$sort.desc}</a>
{/if}
]
{/foreach}
{/capture}
-{$smarty.capture.pages|smarty:nodefaults}
-
{$smarty.capture.order|smarty:nodefaults}
-<div id="multipage_content" style="padding: 0.5em 0">
+{$smarty.capture.pages|smarty:nodefaults}
+
+<div id="multipage_content" style="padding: 0.5em 0; clear: both">
{include file=$plview->templateName()}
</div>
-{$smarty.capture.order|smarty:nodefaults}
+{$smarty.capture.pages|smarty:nodefaults}<br />
-{$smarty.capture.pages|smarty:nodefaults}
+{$smarty.capture.order|smarty:nodefaults}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}