- Timestamp:
- Jun 25, 2012, 12:10:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/simple_themes/simple/template/mainpage_categories.tpl
r13551 r16030 1 {strip}{html_style} 2 .thumbnailCategory .illustration{ldelim} 3 width: {$derivative_params->max_width()+5}px; 4 } 5 6 .content .thumbnailCategory .description{ldelim} 7 height: {$derivative_params->max_height()+5}px; 8 } 9 {/html_style}{/strip} 1 10 <ul class="thumbnailCategories"> 2 {foreach from=$category_thumbnails item=cat}3 4 5 6 <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}">7 8 9 10 11 12 13 <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">14 15 16 11 {foreach from=$category_thumbnails item=cat name=cat_loop} 12 <li> 13 <div class="illustration"> 14 <a href="{$cat.URL}"> 15 <img src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}"> 16 </a> 17 </div> 18 <div class="description"> 19 <h3> 20 <a href="{$cat.URL}">{$cat.NAME}</a> 21 {if !empty($cat.icon_ts)} 22 <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="(!)"> 23 {/if} 24 </h3> 25 {if isset($cat.INFO_DATES) } 17 26 <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p> 18 27 {/if} … … 21 30 <p class="thumbCatDesc">{$cat.DESCRIPTION}</p> 22 31 {/if} 23 </div>24 25 32 </div> 33 </li> 34 {/foreach} 26 35 </ul>
Note: See TracChangeset
for help on using the changeset viewer.