source: trunk/template/yoga/comment_list.tpl @ 2691

Last change on this file since 2691 was 2657, checked in by vdigital, 16 years ago

Comments list is correct (but it needs a hack for IE)

  • Property svn:eol-style set to LF
File size: 1.2 KB
Line 
1{* $Id$ *}
2{foreach from=$comments item=comment}
3        <div class="thumbnailCategory">
4        {if isset($comment.TN_SRC)}
5                <div class="illustration">
6                        <a href="{$comment.U_PICTURE}">
7                                <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" />
8                        </a>
9                </div>
10        {/if}
11                <div class="description">
12                        {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
13                        <ul class="actions" style="float:right">
14                                {if isset($comment.U_DELETE)}
15                                <li>
16                                        <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}">
17                                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
18                                        </a>
19                                </li>
20                                {/if}
21                                {if isset($comment.U_VALIDATE)}
22                                <li>
23                                        <a href="{$comment.U_VALIDATE}" title="validate this comment">
24                                                <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
25                                        </a>
26                                </li>
27                                {/if}
28                        </ul>
29                        {/if}
30                        <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
31                        <blockquote>{$comment.CONTENT}</blockquote>
32                </div>
33    <div class="border">{* Sylvia needs that stupid dummy block *}&nbsp;</div>
34        </div>
35        {if isset($comment_separator)}
36        <hr/>
37        {/if}
38{/foreach}
Note: See TracBrowser for help on using the repository browser.