Rev | Line | |
---|
[7989] | 1 | {if !empty($thumbnails)} |
---|
[11059] | 2 | {php} |
---|
[12321] | 3 | global $pwg_loaded_plugins, $conf, $stripped; |
---|
[11090] | 4 | $this->assign('downloadMulti_loaded', isset($pwg_loaded_plugins[ 'download_multi' ])); |
---|
[12321] | 5 | $this->assign( 'stripped', $stripped ); |
---|
[11059] | 6 | {/php} |
---|
| 7 | <ul class="thumbList"> |
---|
| 8 | {strip}{foreach from=$thumbnails item=thumbnail} |
---|
| 9 | <li> |
---|
| 10 | <span class="wrap1"> |
---|
| 11 | <span class="wrap2 {if !($stripped.showThumbLegend)}wrap2full{/if}"> |
---|
| 12 | <a href="{$thumbnail.URL}"> |
---|
[12153] | 13 | <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" {if ((isset($thumbnail.NAME))&!($downloadMulti_loaded))}title="{$thumbnail.NAME}"{else}title="{$thumbnail.TN_TITLE}"{/if} /> |
---|
| 14 | {if (isset($stripped.imagePreload) & isset($stripped.imagePreloadThumbs))}<div class="preload" style="display:none;">{$thumbnail.FILE_PATH}</div>{/if} |
---|
[11059] | 15 | </a> |
---|
[7989] | 16 | </span> |
---|
[11059] | 17 | <span class="thumbLegend {if !($stripped.showThumbLegend)}noLegend{/if}"> |
---|
| 18 | {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} |
---|
| 19 | {if !empty($thumbnail.icon_ts)} |
---|
| 20 | <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)"> |
---|
| 21 | {/if} |
---|
| 22 | <div class="thumbStats"> |
---|
| 23 | {if isset($thumbnail.NB_COMMENTS)} |
---|
| 24 | <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> |
---|
| 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 | {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} |
---|
| 31 | </span> |
---|
| 32 | {/if} |
---|
| 33 | </div> |
---|
| 34 | </span> |
---|
| 35 | </span> |
---|
| 36 | </li> |
---|
| 37 | {/foreach}{/strip} |
---|
[7989] | 38 | </ul> |
---|
| 39 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.