Last change
on this file since 16506 was
16506,
checked in by flop25, 12 years ago
|
merge r16504 & r16505 from trunk to branch 2.4
bug:2684
adding the loader ajax-loader-small.gif for comment_list.tpl, and ajax-loader-big.gif for picture_content.tpl
bug:2684
|
-
Property svn:eol-style set to
LF
|
File size:
1.7 KB
|
Rev | Line | |
---|
[16506] | 1 | {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} |
---|
| 2 | {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'} |
---|
[12920] | 3 | {strip}{html_style} |
---|
[14028] | 4 | .thumbnailCategory .illustration{ldelim} |
---|
[12920] | 5 | width: {$derivative_params->max_width()+5}px; |
---|
| 6 | } |
---|
[2231] | 7 | |
---|
[12920] | 8 | .content .thumbnailCategory .description{ldelim} |
---|
| 9 | height: {$derivative_params->max_height()+5}px; |
---|
| 10 | } |
---|
| 11 | {/html_style}{/strip} |
---|
[1132] | 12 | <ul class="thumbnailCategories"> |
---|
[14239] | 13 | {foreach from=$category_thumbnails item=cat name=cat_loop} |
---|
[16506] | 14 | {assign var=derivative value=$pwg->derivative($derivative_params, $cat.representative.src_image)} |
---|
[14239] | 15 | <li class="{if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> |
---|
[2515] | 16 | <div class="thumbnailCategory"> |
---|
| 17 | <div class="illustration"> |
---|
| 18 | <a href="{$cat.URL}"> |
---|
[16506] | 19 | <img {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.img_dir}/ajax-loader-small.gif" data-src="{$derivative->get_url()}"{/if} alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}"> |
---|
[2515] | 20 | </a> |
---|
| 21 | </div> |
---|
| 22 | <div class="description"> |
---|
| 23 | <h3> |
---|
| 24 | <a href="{$cat.URL}">{$cat.NAME}</a> |
---|
[3188] | 25 | {if !empty($cat.icon_ts)} |
---|
[8362] | 26 | <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] | 27 | {/if} |
---|
[2515] | 28 | </h3> |
---|
[3120] | 29 | <div class="text"> |
---|
| 30 | {if isset($cat.INFO_DATES) } |
---|
| 31 | <p class="dates">{$cat.INFO_DATES}</p> |
---|
| 32 | {/if} |
---|
| 33 | <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> |
---|
| 34 | {if not empty($cat.DESCRIPTION)} |
---|
| 35 | <p>{$cat.DESCRIPTION}</p> |
---|
| 36 | {/if} |
---|
| 37 | </div> |
---|
[2515] | 38 | </div> |
---|
| 39 | </div> |
---|
| 40 | </li> |
---|
| 41 | {/foreach} |
---|
[1132] | 42 | </ul> |
---|
Note: See
TracBrowser
for help on using the repository browser.