Rev | Line | |
---|
[3609] | 1 | <div id="comments"> |
---|
| 2 | <ul class="thumbnailCategories"> |
---|
| 3 | {foreach from=$block.comments item=comment} |
---|
| 4 | <li {if isset($comment.CLASS)}class="{$comment.CLASS}"{/if}> |
---|
| 5 | <div class="thumbnailCategory"> |
---|
| 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 | style="{if !empty($comment.WIDTH)}max-width: {$comment.WIDTH}px; {/if}{if !empty($comment.HEIGHT)}max-height: {$comment.HEIGHT}px; {/if}"/> |
---|
| 11 | </a> |
---|
| 12 | </div> |
---|
| 13 | {/if} |
---|
| 14 | <div class="description"> |
---|
| 15 | {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) } |
---|
[9737] | 16 | <div class="actions" style="float:right"> |
---|
[3609] | 17 | {if !empty($comment.U_DELETE)} |
---|
[9737] | 18 | <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onClick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"> |
---|
[3609] | 19 | <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" /> |
---|
| 20 | </a> |
---|
| 21 | {/if} |
---|
| 22 | {if !empty($comment.U_VALIDATE)} |
---|
| 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 | {/if} |
---|
[9737] | 27 | </div> |
---|
[3609] | 28 | {/if} |
---|
| 29 | <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> |
---|
[4540] | 30 | {if !empty($comment.U_EDIT)}- <a href="{$comment.U_EDIT}">{'ce_edit_tool'|@translate}</a>{/if} |
---|
[3609] | 31 | <blockquote>{$comment.CONTENT}</blockquote> |
---|
| 32 | </div> |
---|
| 33 | </div> |
---|
| 34 | </li> |
---|
| 35 | {if isset($comment_separator)} |
---|
| 36 | <hr/> |
---|
| 37 | {/if} |
---|
| 38 | {/foreach} |
---|
| 39 | </ul> |
---|
| 40 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.