Line | |
---|
1 | {* $Id$ *} |
---|
2 | {foreach from=$comments item=comment} |
---|
3 | <div class="comment" > |
---|
4 | {if isset($comment.TN_SRC)} |
---|
5 | <a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /></a> |
---|
6 | {/if} |
---|
7 | <div class="commentHeader"> |
---|
8 | {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) } |
---|
9 | <ul class="actions" style="float:right"> |
---|
10 | {if isset($comment.U_DELETE)} |
---|
11 | <li> |
---|
12 | <a href="{$comment.U_DELETE}" title="{'comments_del'|@translate}"> |
---|
13 | <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[{'delete'|@translate}]"/> |
---|
14 | </a> |
---|
15 | </li>{/if} |
---|
16 | |
---|
17 | {if isset($comment.U_VALIDATE)} |
---|
18 | <li> |
---|
19 | <a href="{$comment.U_VALIDATE}" title="validate this comment"> |
---|
20 | <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]"/> |
---|
21 | </a> |
---|
22 | </li>{/if} |
---|
23 | </ul> |
---|
24 | {/if} |
---|
25 | <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> |
---|
26 | </div> |
---|
27 | |
---|
28 | <blockquote>{$comment.CONTENT}</blockquote> |
---|
29 | </div> |
---|
30 | <hr/> |
---|
31 | {/foreach} |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.