From 81bb9177e5d7eb74f8abeda97f1b5ec3b760b513 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 27 Jul 2008 15:25:13 +0200 Subject: [PATCH] Off-by-one in trombi view. Signed-off-by: Florent Bruneau --- templates/include/plview.trombi.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/include/plview.trombi.tpl b/templates/include/plview.trombi.tpl index d0db912..e09cab6 100644 --- a/templates/include/plview.trombi.tpl +++ b/templates/include/plview.trombi.tpl @@ -26,8 +26,8 @@

{else} - {section name=trombi loop=$set start=1} - {if $smarty.section.trombi.iteration % 3 == 1} + {section name=trombi loop=$set start=0} + {if $smarty.section.trombi.index % 3 == 1} - {elseif ($smarty.section.trombi.iteration % 3 == 0) && ($smarty.section.trombi.last)} + {elseif ($smarty.section.trombi.index % 3 == 0) && ($smarty.section.trombi.last)}
@@ -75,7 +75,7 @@ {/if}
-- 2.1.4