Line | |
---|
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'} |
---|
3 | {strip} |
---|
4 | |
---|
5 | {*define_derivative name='derivative_params' type='small'*} |
---|
6 | {foreach from=$thumbnails item=thumbnail} |
---|
7 | {assign var=derivative value=$pwg->derivative($derivative_params, $thumbnail.src_image)} |
---|
8 | <li> |
---|
9 | <span class="wrap1"> |
---|
10 | <span class="wrap2"> |
---|
11 | <div class="thumbnailCategory"> |
---|
12 | <div class="illustration"> |
---|
13 | <a href="{$thumbnail.URL}"> |
---|
14 | <img class="thumbnail" {if !$derivative->is_cached()}data-{/if}src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> |
---|
15 | {if $SHOW_THUMBNAIL_CAPTION } |
---|
16 | <div class=description> |
---|
17 | <span class="thumbLegend"> |
---|
18 | <span class="thumbName">{$thumbnail.NAME}</span> |
---|
19 | {if !empty($thumbnail.icon_ts)} |
---|
20 | <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)"> |
---|
21 | {/if} |
---|
22 | {if isset($thumbnail.NB_COMMENTS)} |
---|
23 | <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> |
---|
24 | <br> |
---|
25 | {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)} |
---|
26 | </span> |
---|
27 | {/if} |
---|
28 | {if isset($thumbnail.NB_HITS)} |
---|
29 | <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits"> |
---|
30 | <br> |
---|
31 | {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} |
---|
32 | </span> |
---|
33 | {/if} |
---|
34 | </span> |
---|
35 | </div> |
---|
36 | {/if} |
---|
37 | </a> |
---|
38 | </div> |
---|
39 | </div> |
---|
40 | </span> |
---|
41 | </span> |
---|
42 | </li> |
---|
43 | {/foreach} |
---|
44 | {/strip} |
---|
Note: See
TracBrowser
for help on using the repository browser.