aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/comment_list.tpl
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2008-10-10 22:07:20 +0000
committervdigital <vdigital@piwigo.org>2008-10-10 22:07:20 +0000
commit5213710385ca10f8394d8ba3af712ba2c41ec1e7 (patch)
tree20f5609050305c2824f0bfa1b20f2c95f4201760 /template/yoga/comment_list.tpl
parent5f8b608b54699429dcbc21dd45a0d2ee6d9b5584 (diff)
Comments page review.
git-svn-id: http://piwigo.org/svn/trunk@2706 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/comment_list.tpl71
1 files changed, 37 insertions, 34 deletions
diff --git a/template/yoga/comment_list.tpl b/template/yoga/comment_list.tpl
index d295015ed..57c2a73cb 100644
--- a/template/yoga/comment_list.tpl
+++ b/template/yoga/comment_list.tpl
@@ -1,38 +1,41 @@
{* $Id$ *}
+<ul class="thumbnailCategories">
{foreach from=$comments item=comment}
+<li>
<div class="thumbnailCategory">
- {if isset($comment.TN_SRC)}
- <div class="illustration">
- <a href="{$comment.U_PICTURE}">
- <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" />
- </a>
- </div>
- {/if}
- <div class="description">
- {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
- <ul class="actions" style="float:right">
- {if isset($comment.U_DELETE)}
- <li>
- <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}">
- <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
- </a>
- </li>
- {/if}
- {if isset($comment.U_VALIDATE)}
- <li>
- <a href="{$comment.U_VALIDATE}" title="validate this comment">
- <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
- </a>
- </li>
- {/if}
- </ul>
- {/if}
- <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
- <blockquote>{$comment.CONTENT}</blockquote>
- </div>
- <div class="border">{* Sylvia needs that stupid dummy block *}&nbsp;</div>
- </div>
- {if isset($comment_separator)}
- <hr/>
- {/if}
+ {if isset($comment.TN_SRC)}
+ <div class="illustration">
+ <a href="{$comment.U_PICTURE}">
+ <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" />
+ </a>
+ </div>
+ {/if}
+ <div class="description">
+ {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
+ <ul class="actions" style="float:right">
+ {if isset($comment.U_DELETE)}
+ <li>
+ <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}">
+ <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
+ </a>
+ </li>
+ {/if}
+ {if isset($comment.U_VALIDATE)}
+ <li>
+ <a href="{$comment.U_VALIDATE}" title="validate this comment">
+ <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
+ </a>
+ </li>
+ {/if}
+ </ul>
+ {/if}
+ <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
+ <blockquote>{$comment.CONTENT}</blockquote>
+ </div>
+ </div>
+</li>
+{if isset($comment_separator)}
+<hr/>
+{/if}
{/foreach}
+</ul> \ No newline at end of file