Ignore:
Timestamp:
Jul 8, 2012, 5:45:23 PM (12 years ago)
Author:
flop25
Message:

adding a gif loader (introduced in 2.4.2)
fixing the height of medium_cat.tpl
adding a custom size for spotlight.tpl

File:
1 edited

Legend:

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

    r16393 r16501  
    11{combine_css path="template-extension/flop_style/mainpage_categories/picpile_cat.css"}
     2{combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
     3{combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
    24{if $themeconf.name == "Sylvia"}
    35{html_style}
     
    3436  <span class="wrap1"><div class="albumHolder">
    3537    <div class="picRotated"></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>
     38    <div class="album"> <a class="ajax" href="{$cat.URL}"> <span title="Browse Album" class="highlight"></span> <img {if $der_picpile_cat->is_cached()}src="{$der_picpile_cat->get_url()}"{else}src="{$ROOT_URL}{$themeconf.img_dir}/ajax-loader-big.gif" data-src="{$der_picpile_cat->get_url()}"{/if}  {$der_picpile_cat->get_size_htm()} title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" alt="{$cat.TN_ALT}" > <span title="Contains {$cat.CAPTION_NB_IMAGES} images" class="albumCnt">{$cat.CAPTION_NB_IMAGES}</span> </a> </div>
    3739    <div title="{$cat.NAME}" class="albumTitle">{$cat.NAME}</div>
    3840    <div class="clear"></div>
    3941  </div>
    40   {*
    41                 <div class="thumbnailCategory">
    42                         <div class="illustration">
    43                         <a href="{$cat.URL}">
    44                                 <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}">
    45                         </a>
    46                         </div>
    47                         <div class="description">
    48                                 <h3>
    49                                         <a href="{$cat.URL}">{$cat.NAME}</a>
    50                                         {if !empty($cat.icon_ts)}
    51                                         <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="(!)">
    52                                         {/if}
    53                                 </h3>
    54                 <div class="text">
    55                                 {if isset($cat.INFO_DATES) }
    56                                 <p class="dates">{$cat.INFO_DATES}</p>
    57                                 {/if}
    58                                 <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
    59                                 {if not empty($cat.DESCRIPTION)}
    60                                 <p>{$cat.DESCRIPTION}</p>
    61                                 {/if}
    62                 </div>
    63                         </div>
    64                 </div>
    65   *}
    6642  </span>
    6743  </li>
Note: See TracChangeset for help on using the changeset viewer.