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