Changeset 12930 for trunk/themes/default/template/comment_list.tpl
- Timestamp:
- Jan 20, 2012, 6:36:58 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/default/template/comment_list.tpl
r12676 r12930 1 {* $Id$ *} 1 {if isset($comment_derivative_params)} 2 {strip}{html_style} 3 .thumbnailCategory DIV.illustration{ldelim} 4 width: {$comment_derivative_params->max_width()+5}px; 5 } 6 7 .content .thumbnailCategory .description{ldelim} 8 height: {$comment_derivative_params->max_height()+5}px; 9 } 10 {/html_style}{/strip} 11 {/if} 2 12 <ul class="thumbnailCategories"> 3 13 {foreach from=$comments item=comment name=comment_loop} 4 14 <li> 5 15 <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> 6 {if isset($comment. TN_SRC)}16 {if isset($comment.src_image)} 7 17 <div class="illustration"> 8 18 <a href="{$comment.U_PICTURE}"> 9 <img src="{$ comment.TN_SRC}" alt="{$comment.ALT}">19 <img src="{$pwg->derivative_url($derivative_params, $comment.src_image)}" alt="{$comment.ALT}"> 10 20 </a> 11 21 </div>
Note: See TracChangeset
for help on using the changeset viewer.