source: extensions/floPure/2.0.x/comment_list.tpl @ 5779

Last change on this file since 5779 was 5712, checked in by flop25, 15 years ago
File size: 1.3 KB
Line 
1<ul class="thumbnailCategories">
2{foreach from=$comments item=comment name=comment_loop}
3<li>
4        <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
5    {if isset($comment.TN_SRC)}
6    <div class="illustration">
7      <a href="{$comment.U_PICTURE}">
8        <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" />
9      </a>
10    </div>
11    {/if}
12    <div class="description">
13      {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
14      <ul class="actions" style="float:right">
15        {if isset($comment.U_DELETE)}
16        <li>
17          <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}">
18            <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
19          </a>
20        </li>
21        {/if}
22        {if isset($comment.U_VALIDATE)}
23        <li>
24          <a href="{$comment.U_VALIDATE}" title="validate this comment">
25            <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
26          </a>
27        </li>
28        {/if}
29      </ul>
30      {/if}
31      <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
32      <blockquote>{$comment.CONTENT}</blockquote>
33    </div>
34  </div>
35</li>
36{if isset($comment_separator)}
37<hr/>
38{/if}
39{/foreach}
40</ul>
Note: See TracBrowser for help on using the repository browser.