{**************************************************************************} {* *} {* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} {capture name=pages} {if $plview->pages > 1} {if $show_bounds}
[{$first} - {$last}] 
{/if}
{if $plview->page neq 1} {icon name=resultset_first title="Première page"}{* *}{icon name=resultset_previous title="Page précédente"} {else} {icon name=null title=""}{icon name=null title=""} {/if} {section name=page loop=$plview->pages+1 start=1} {if $smarty.section.page.index eq $plview->page} {$plview->page} {else} {$smarty.section.page.index} {/if} {/section} {if $plview->page neq $plview->pages} {icon name=resultset_next title="Page suivante"}{* *}{icon name=resultset_last title="Dernière page"} {else} {icon name=null title=""}{icon name=null title=""} {/if}
{/if} {/capture} {capture name=order} {if $plset_count > 1}
Trier par : {foreach from=$orders key=name item=sort} [ {if $name eq $order} tri ascendant {$sort->displaytext} {elseif $order eq "-$name"} tri ascendant {$sort->displaytext} {else} {$sort->displaytext} {/if} ]  {/foreach}
{/if} {/capture} {$smarty.capture.order|smarty:nodefaults} {$smarty.capture.pages|smarty:nodefaults}
{include file=$plview->templateName()}
{$smarty.capture.pages|smarty:nodefaults}
{$smarty.capture.order|smarty:nodefaults} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}