[12960] | 1 | {php} |
---|
| 2 | global $stripped; |
---|
| 3 | $this->assign( 'stripped', $stripped ); |
---|
| 4 | {/php} |
---|
[21216] | 5 | {footer_script} |
---|
| 6 | var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png", max_requests = {$maxRequests}; |
---|
| 7 | {/footer_script} |
---|
| 8 | <div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div> |
---|
[7989] | 9 | <ul class="thumbnailCategories"> |
---|
[12960] | 10 | {foreach from=$category_thumbnails item=cat name=catloop} |
---|
[21217] | 11 | {assign var=derivative value=$pwg->derivative($stripped.albumSize, $cat.representative.src_image)} |
---|
[21216] | 12 | {if !$derivative->is_cached()} |
---|
| 13 | {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} |
---|
| 14 | {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'} |
---|
| 15 | {/if} |
---|
[12960] | 16 | <li class="odd{if ($smarty.foreach.catloop.iteration-1) % 2 == 0}0{else}1{/if}" {if ($stripped.albumFrame)}onclick="window.location='{$cat.URL}';"{/if}> |
---|
[7989] | 17 | <div class="thumbnailCategory"> |
---|
| 18 | <div class="illustration"> |
---|
| 19 | <a href="{$cat.URL}"> |
---|
[21216] | 20 | <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}"> |
---|
[7989] | 21 | </a> |
---|
| 22 | </div> |
---|
| 23 | <div class="description"> |
---|
| 24 | <h3> |
---|
| 25 | <a href="{$cat.URL}">{$cat.NAME}</a> |
---|
| 26 | {if !empty($cat.icon_ts)} |
---|
[12960] | 27 | <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="(!)"> |
---|
[7989] | 28 | {/if} |
---|
| 29 | </h3> |
---|
[12960] | 30 | <div class="text" {if !$stripped.albumFrame}onclick="window.location='{$cat.URL}';"{/if}> |
---|
[7989] | 31 | {if isset($cat.INFO_DATES) } |
---|
[12960] | 32 | <p class="dates">{$cat.INFO_DATES}</p> |
---|
[7989] | 33 | {/if} |
---|
[12960] | 34 | <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> |
---|
[7989] | 35 | {if not empty($cat.DESCRIPTION)} |
---|
[12960] | 36 | <p>{$cat.DESCRIPTION}</p> |
---|
[7989] | 37 | {/if} |
---|
| 38 | </div> |
---|
| 39 | </div> |
---|
| 40 | </div> |
---|
| 41 | </li> |
---|
| 42 | {/foreach} |
---|
| 43 | </ul> |
---|