piwigo/template/yoga/comment_list.tpl
vdigital 34f020326d Comments page review. (Merge 2706)
git-svn-id: http://piwigo.org/svn/branches/2.0@2707 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-10 22:16:52 +00:00

41 lines
No EOL
1.2 KiB
Smarty

{* $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>
</li>
{if isset($comment_separator)}
<hr/>
{/if}
{/foreach}
</ul>