Show
Ignore:
Timestamp:
01/20/12 06:36:58 (17 months ago)
Author:
rvelices
Message:

feature 2548 multisize
- comments thumbnails + no more hard coded thumbnail sizes in css
- removed admin thumbnail page + language cleanup

Files:
1 modified

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} 
    212<ul class="thumbnailCategories"> 
    313{foreach from=$comments item=comment name=comment_loop} 
    414<li> 
    515        <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)} 
    717        <div class="illustration"> 
    818                <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}"> 
    1020                </a> 
    1121        </div>