Ignore:
Timestamp:
Jan 20, 2012, 6:36:58 AM (12 years ago)
Author:
rvelices
Message:

feature 2548 multisize

  • comments thumbnails + no more hard coded thumbnail sizes in css
  • removed admin thumbnail page + language cleanup
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}
    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>
Note: See TracChangeset for help on using the changeset viewer.