mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-07 02:11:26 +02:00
903b9cab2d
merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.0@4882 68402e56-0260-453c-a942-63ccdbb3a9ee
42 lines
1.3 KiB
Smarty
42 lines
1.3 KiB
Smarty
{* $Id$ *}
|
|
<ul class="thumbnailCategories">
|
|
{foreach from=$comments item=comment name=comment_loop}
|
|
<li>
|
|
<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}">
|
|
<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'|@translate}">
|
|
<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>
|