Ignore:
Timestamp:
Jul 17, 2009, 5:30:27 PM (15 years ago)
Author:
flop25
Message:

update global with pwg 2.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/floOs/comment_list.tpl

    r3334 r3618  
    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/>
     1<ul class="thumbnailCategories">
     2{foreach from=$comments item=comment name=comment_loop}
     3<li>
     4        <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
     5    {if isset($comment.TN_SRC)}
     6    <div class="illustration">
     7      <a href="{$comment.U_PICTURE}">
     8        <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" />
     9      </a>
     10    </div>
     11    {/if}
     12    <div class="description">
     13      {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
     14      <ul class="actions" style="float:right">
     15        {if isset($comment.U_DELETE)}
     16        <li>
     17          <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}">
     18            <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
     19          </a>
     20        </li>
     21        {/if}
     22        {if isset($comment.U_VALIDATE)}
     23        <li>
     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        </li>
     28        {/if}
     29      </ul>
     30      {/if}
     31      <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
     32      <blockquote>{$comment.CONTENT}</blockquote>
     33    </div>
     34  </div>
     35</li>
     36{if isset($comment_separator)}
     37<hr/>
     38{/if}
    3139{/foreach}
    32 
     40</ul>
Note: See TracChangeset for help on using the changeset viewer.