aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/comment_list.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/comment_list.tpl')
-rw-r--r--template/yoga/comment_list.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/yoga/comment_list.tpl b/template/yoga/comment_list.tpl
index 57c2a73cb..ee4f4efb8 100644
--- a/template/yoga/comment_list.tpl
+++ b/template/yoga/comment_list.tpl
@@ -1,8 +1,8 @@
{* $Id$ *}
<ul class="thumbnailCategories">
-{foreach from=$comments item=comment}
+{foreach from=$comments item=comment name=comment_loop}
<li>
- <div class="thumbnailCategory">
+ <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
{if isset($comment.TN_SRC)}
<div class="illustration">
<a href="{$comment.U_PICTURE}">