X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Finclude%2Fplview.multipage.tpl;h=4a449616fa6a336f0314dd149fe8985796bf82fd;hb=b71b2a361a1a0c89d77a0d941ff92a410147f8dc;hp=f27332742c7bd227aeb41d04a9d5411228c6858d;hpb=8c4a0c30c699f190cb7906746e22f67014df3368;p=platal.git
diff --git a/templates/include/plview.multipage.tpl b/templates/include/plview.multipage.tpl
index f273327..4a44961 100644
--- a/templates/include/plview.multipage.tpl
+++ b/templates/include/plview.multipage.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2008 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@ -23,31 +23,62 @@
{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}
+
{$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}
+
+
{$sort.desc}
+ {elseif $order eq "-$name"}
+
+
{$sort.desc}
+ {else}
+
{$sort.desc}
+ {/if}
+ ]
+ {/foreach}
+
+{/if}
+{/capture}
+
+
{$smarty.capture.pages|smarty:nodefaults}
+{$smarty.capture.order|smarty:nodefaults}
+