source: extensions/Comments_on_Albums/stuffs_module/stuffs_lastcoms.tpl @ 16056

Last change on this file since 16056 was 12381, checked in by mistic100, 13 years ago

add a PWG Stuffs module, add menu bar on comments page

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        <br>{$comment.ALT}
12      </a>
13    </div>
14    {/if}
15    <div class="description">
16      {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
17      <div class="actions" style="float:right">
18        {if !empty($comment.U_DELETE)}
19          <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onClick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');">
20            <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
21          </a>
22        {/if}
23        {if !empty($comment.U_VALIDATE)}
24          <a href="{$comment.U_VALIDATE}" title="validate this comment">
25            <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
26          </a>
27        {/if}
28      </div>
29      {/if}
30      <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
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.