Changeset 14239


Ignore:
Timestamp:
04/20/12 22:17:38 (8 years ago)
Author:
Zaphod
Message:

feature 2588: new classes to help css personalization.

  • on mainpage_categories.tpl

New classes odd & even on .thumbnailCategories LI

  • on thumbnails.tpl

class thumbName for $thumbnail.NAME
(if someone wants to hide the thumbnail name, and not the nb comments or hits)

Location:
trunk/themes/default/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/mainpage_categories.tpl

    r14028 r14239  
    99{/html_style}{/strip} 
    1010<ul class="thumbnailCategories"> 
    11 {foreach from=$category_thumbnails item=cat} 
    12         <li> 
     11{foreach from=$category_thumbnails item=cat name=cat_loop} 
     12        <li class="{if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> 
    1313                <div class="thumbnailCategory"> 
    1414                        <div class="illustration"> 
  • trunk/themes/default/template/thumbnails.tpl

    r13452 r14239  
    3535                {if $SHOW_THUMBNAIL_CAPTION } 
    3636                <span class="thumbLegend"> 
    37                 {$thumbnail.NAME} 
     37                <span class="thumbName">{$thumbnail.NAME}</span> 
    3838                {if !empty($thumbnail.icon_ts)} 
    3939                <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)"> 
Note: See TracChangeset for help on using the changeset viewer.