From 3e37678784d108918c62f5a5adb2d16d4381adf7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 13 Jul 2008 12:40:27 +0200 Subject: [PATCH] Displays page's bound better (in case of plview multipage) --- templates/include/plview.multipage.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/include/plview.multipage.tpl b/templates/include/plview.multipage.tpl index a7ca6f4..c8066de 100644 --- a/templates/include/plview.multipage.tpl +++ b/templates/include/plview.multipage.tpl @@ -22,8 +22,8 @@ {capture name=pages} {if $plview->pages > 1} -
- {if $show_bounds}[{$first} - {$last}] {/if} + {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"} @@ -69,16 +69,16 @@ {/capture} -{$smarty.capture.pages|smarty:nodefaults} - {$smarty.capture.order|smarty:nodefaults} +{$smarty.capture.pages|smarty:nodefaults} +
{include file=$plview->templateName()}
-{$smarty.capture.order|smarty:nodefaults} +{$smarty.capture.pages|smarty:nodefaults}
-{$smarty.capture.pages|smarty:nodefaults} +{$smarty.capture.order|smarty:nodefaults} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} -- 2.1.4