Ignore:
Timestamp:
Jul 6, 2012, 4:32:18 PM (12 years ago)
Author:
flop25
Message:

update for 2.4 : really amazing !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/flop_style/mainpage_categories/picpile_cat.tpl

    r9818 r16393  
    11{combine_css path="template-extension/flop_style/mainpage_categories/picpile_cat.css"}
    22{if $themeconf.name == "Sylvia"}
    3 {html_head}
     3{html_style}
    44  {literal}
    5   <style>
    65  #theCategoryPage .content {
    76      margin: 21px 10px 0 290px !important;
    87  }
    9         </style>
    108  {/literal}
    11 {/html_head}
     9{/html_style}
    1210{/if}
     11{define_derivative name='derivative_picpile_cat' width=160 height=120 crop=true}
     12{html_style}
     13  {literal}
     14  .picRotated {
     15    width:{/literal}{$derivative_picpile_cat->max_width()+18}{literal}px;
     16    height:{/literal}{$derivative_picpile_cat->max_height()+18}{literal}px;
     17  }
     18  .albumHolder {
     19    width:{/literal}{$derivative_picpile_cat->max_width()+10}{literal}px;
     20    height:{/literal}{$derivative_picpile_cat->max_height()+10}{literal}px;
     21  }
     22  .wrap1 {
     23    width:{/literal}{$derivative_picpile_cat->max_width()+30}{literal}px;
     24    height:{/literal}{$derivative_picpile_cat->max_height()+60}{literal}px;
     25  }
     26 
     27  {/literal}
     28{/html_style}
     29
    1330<ul class="thumbnailCategories">
    1431  {foreach from=$category_thumbnails item=cat}
     32  {assign var=der_picpile_cat value=$pwg->derivative($derivative_picpile_cat, $cat.representative.src_image)}
    1533  <li>
    1634  <span class="wrap1"><div class="albumHolder">
    1735    <div class="picRotated"></div>
    18     <div class="album"> <a class="ajax" href="{$cat.URL}"> <span title="Browse Album" class="highlight"></span> <img width="160" height="120" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" alt="{$cat.TN_ALT}" src="{$cat.TN_SRC}"> <span title="Contains {$cat.CAPTION_NB_IMAGES} images" class="albumCnt">{$cat.CAPTION_NB_IMAGES}</span> </a> </div>
     36    <div class="album"> <a class="ajax" href="{$cat.URL}"> <span title="Browse Album" class="highlight"></span> <img {$der_picpile_cat->get_size_htm()} title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" alt="{$cat.TN_ALT}" src="{$der_picpile_cat->get_url()}"> <span title="Contains {$cat.CAPTION_NB_IMAGES} images" class="albumCnt">{$cat.CAPTION_NB_IMAGES}</span> </a> </div>
    1937    <div title="{$cat.NAME}" class="albumTitle">{$cat.NAME}</div>
    2038    <div class="clear"></div>
Note: See TracChangeset for help on using the changeset viewer.