X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fplview.multipage.tpl;h=49e6ae9a066a7550ce949c2af5f13a99e136991b;hb=41c1469852548756cc8afdda9930930da09db865;hp=e1b38cffb6e1e3de159e40943b8a8a6e63211f94;hpb=e8ddc3f28701273de2b5c0f822146ab2a39dea91;p=platal.git diff --git a/templates/plview.multipage.tpl b/templates/plview.multipage.tpl index e1b38cf..49e6ae9 100644 --- a/templates/plview.multipage.tpl +++ b/templates/plview.multipage.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -25,21 +25,21 @@ {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"} + {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} + {$plview->page} {else} - {$smarty.section.page.index} + {$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"} + {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} @@ -55,12 +55,12 @@ [ {if $name eq $order} tri ascendant - {$sort.desc} + {$sort->displaytext} {elseif $order eq "-$name"} tri ascendant - {$sort.desc} + {$sort->displaytext} {else} - {$sort.desc} + {$sort->displaytext} {/if} ]  {/foreach} @@ -68,7 +68,6 @@ {/if} {/capture} - {$smarty.capture.order|smarty:nodefaults} {$smarty.capture.pages|smarty:nodefaults}