source: trunk/themes/default/template/mainpage_categories.tpl @ 8362

Last change on this file since 8362 was 8362, checked in by rvelices, 13 years ago
  • css sprites work for ie6
  • simplify/remove css
  • Property svn:eol-style set to LF
File size: 902 bytes
Line 
1
2<ul class="thumbnailCategories">
3{foreach from=$category_thumbnails item=cat}
4        <li>
5                <div class="thumbnailCategory">
6                        <div class="illustration">
7                        <a href="{$cat.URL}">
8                                <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'shows images at the root of this album'|@translate}">
9                        </a>
10                        </div>
11                        <div class="description">
12                                <h3>
13                                        <a href="{$cat.URL}">{$cat.NAME}</a>
14                                        {if !empty($cat.icon_ts)}
15                                        <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="(!)">
16                                        {/if}
17                                </h3>
18                <div class="text">
19                                {if isset($cat.INFO_DATES) }
20                                <p class="dates">{$cat.INFO_DATES}</p>
21                                {/if}
22                                <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
23                                {if not empty($cat.DESCRIPTION)}
24                                <p>{$cat.DESCRIPTION}</p>
25                                {/if}
26                </div>
27                        </div>
28                </div>
29        </li>
30{/foreach}
31</ul>
Note: See TracBrowser for help on using the repository browser.