Changeset 2274 for trunk/template
- Timestamp:
- Mar 11, 2008, 3:04:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/template/yoga/thumbnails.tpl
r2234 r2274 4 4 <ul class="thumbnails"> 5 5 {foreach from=$thumbnails item=thumbnail} 6 <li class="{$thumbnail.CLASS}">6 <li> 7 7 <span class="wrap1"> 8 8 <span class="wrap2"> 9 9 <a href="{$thumbnail.U_IMG_LINK}"> 10 <img class="thumbnail" src="{$thumbnail.IMAGE}" 11 alt="{$thumbnail.IMAGE_ALT}" 12 title="{$thumbnail.IMAGE_TITLE}"> 10 <img class="thumbnail" src="{$thumbnail.IMAGE}" alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}" /> 13 11 </a> 14 12 </span> … … 16 14 17 15 {if !empty($thumbnail.ELEMENT_NAME)}{$thumbnail.ELEMENT_NAME}{/if} 18 {if !empty($thumbnail.CATEGORY_NAME)}{$thumbnail.CATEGORY_NAME}{/if}19 16 {if !empty($thumbnail.IMAGE_TS)}{$thumbnail.IMAGE_TS}{/if} 20 21 {if !empty($thumbnail.nb_comments)}22 <span class="{ $thumbnail.nb_comments.CLASS}nb-comments">17 18 {if isset($thumbnail.NB_COMMENTS)} 19 <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> 23 20 <br /> 24 {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail. nb_comments.NB_COMMENTS)}21 {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)} 25 22 </span> 26 23 {/if} 27 28 {if !empty($thumbnail.nb_hits)}29 <span class="{ $thumbnail.nb_hits.CLASS}nb-hits">24 25 {if isset($thumbnail.NB_HITS)} 26 <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits"> 30 27 <br /> 31 {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail. nb_hits.HITS)}28 {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} 32 29 </span> 33 30 {/if}
Note: See TracChangeset
for help on using the changeset viewer.