Ignore:
Timestamp:
Apr 20, 2012, 10:17:38 PM (12 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)

File:
1 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">
Note: See TracChangeset for help on using the changeset viewer.