source: extensions/PWG_Stuffs/template/LastComs.tpl @ 3300

Last change on this file since 3300 was 3300, checked in by patdenice, 15 years ago

New extension added:
PWG Stuffs (2.0.o)

File size: 1.5 KB
Line 
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) }
16      <ul class="actions" style="float:right">
17        {if !empty($comment.U_DELETE)}
18        <li>
19          <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}">
20            <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
21          </a>
22        </li>
23        {/if}
24        {if !empty($comment.U_VALIDATE)}
25        <li>
26          <a href="{$comment.U_VALIDATE}" title="validate this comment">
27            <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
28          </a>
29        </li>
30        {/if}
31      </ul>
32      {/if}
33      <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
34      <blockquote>{$comment.CONTENT}</blockquote>
35    </div>
36  </div>
37</li>
38{if isset($comment_separator)}
39<hr/>
40{/if}
41{/foreach}
42</ul>
43</div>
Note: See TracBrowser for help on using the repository browser.