[12920] | 1 | {strip}{html_style} |
---|
[14028] | 2 | .thumbnailCategory .illustration{ldelim} |
---|
[12920] | 3 | width: {$derivative_params->max_width()+5}px; |
---|
| 4 | } |
---|
[2231] | 5 | |
---|
[12920] | 6 | .content .thumbnailCategory .description{ldelim} |
---|
| 7 | height: {$derivative_params->max_height()+5}px; |
---|
| 8 | } |
---|
| 9 | {/html_style}{/strip} |
---|
[20212] | 10 | {footer_script} |
---|
[20336] | 11 | var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png", max_requests = {$maxRequests}; |
---|
[20212] | 12 | {/footer_script} |
---|
[20452] | 13 | <div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div> |
---|
[1132] | 14 | <ul class="thumbnailCategories"> |
---|
[14239] | 15 | {foreach from=$category_thumbnails item=cat name=cat_loop} |
---|
[16504] | 16 | {assign var=derivative value=$pwg->derivative($derivative_params, $cat.representative.src_image)} |
---|
[20212] | 17 | {if !$derivative->is_cached()} |
---|
[16522] | 18 | {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} |
---|
[20212] | 19 | {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'} |
---|
[16522] | 20 | {/if} |
---|
[20161] | 21 | <li class="{if $smarty.foreach.cat_loop.index is odd}odd{else}even{/if}"> |
---|
[2515] | 22 | <div class="thumbnailCategory"> |
---|
| 23 | <div class="illustration"> |
---|
| 24 | <a href="{$cat.URL}"> |
---|
[20161] | 25 | <img {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.icon_dir}/img_small.png" data-src="{$derivative->get_url()}"{/if} alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}"> |
---|
[2515] | 26 | </a> |
---|
| 27 | </div> |
---|
| 28 | <div class="description"> |
---|
| 29 | <h3> |
---|
| 30 | <a href="{$cat.URL}">{$cat.NAME}</a> |
---|
[3188] | 31 | {if !empty($cat.icon_ts)} |
---|
[8362] | 32 | <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="(!)"> |
---|
[3188] | 33 | {/if} |
---|
[2515] | 34 | </h3> |
---|
[3120] | 35 | <div class="text"> |
---|
| 36 | {if isset($cat.INFO_DATES) } |
---|
| 37 | <p class="dates">{$cat.INFO_DATES}</p> |
---|
| 38 | {/if} |
---|
| 39 | <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> |
---|
| 40 | {if not empty($cat.DESCRIPTION)} |
---|
| 41 | <p>{$cat.DESCRIPTION}</p> |
---|
| 42 | {/if} |
---|
| 43 | </div> |
---|
[2515] | 44 | </div> |
---|
| 45 | </div> |
---|
| 46 | </li> |
---|
| 47 | {/foreach} |
---|
[1132] | 48 | </ul> |
---|