Changeset 19026


Ignore:
Timestamp:
Nov 15, 2012, 10:21:38 AM (11 years ago)
Author:
Miklfe
Message:
 
Location:
extensions/PwgCarbon/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/PwgCarbon/template/mainpage_categories.tpl

    r18843 r19026  
     1{define_derivative name='derivative_params' type='2small'}
     2
    13{php}
    24        global $PwgCarbon;
     
    3638        <li class="{if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
    3739                <div class="thumbnailCategory">
     40                <a href="{$cat.URL}">
    3841                        <div class="illustration">
    39                         <a href="{$cat.URL}">
    40                                
     42
     43
    4144                                <img class="thumbnail" src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">
    4245                                {if (empty($PwgCarbon.thumbreflex)) or (($PwgCarbon.thumbreflex)==1)}
     
    4750                                {/literal}{/footer_script}
    4851                                {/if}
    49                         </a>
     52                       
     53
    5054                                                                        <div class="description">
    5155                        <span class="thumbLegend">
    5256                                <h3>
    53                                         <a href="{$cat.URL}">{$cat.NAME}</a>
     57                                        {$cat.NAME}
    5458                                        {if !empty($cat.icon_ts)}
    5559                                        <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)">
     
    6872                        </div>
    6973
     74                </a>
     75
    7076                       
    7177
  • extensions/PwgCarbon/template/thumbnails.tpl

    r18843 r19026  
    4949                        </a>
    5050                        {if $SHOW_THUMBNAIL_CAPTION }
     51                        <a href="{$thumbnail.URL}">
     52
    5153                        <div class=description>
    5254                                <span class="thumbLegend">
     
    6971                                </span>
    7072                        </div>
     73                        </a>
    7174                        </div>                         
    7275                </span>
Note: See TracChangeset for help on using the changeset viewer.