source: extensions/stripped/template/mainpage_categories.tpl @ 8804

Last change on this file since 8804 was 8112, checked in by Zaphod, 13 years ago

Fix for IE6 (vertical alignment for thumbnails + recent pictures)

File size: 975 bytes
Line 
1<ul class="thumbnailCategories">
2  {foreach from=$category_thumbnails item=cat}
3  <li>
4        <div class="thumbnailCategory">
5                <div class="illustration">
6                        <a href="{$cat.URL}">
7                                <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{'shows images at the root of this category'|@translate}">
8                        </a>
9                </div>
10                <div class="description">
11                        <h3>
12                                <a href="{$cat.URL}">{$cat.NAME}</a>
13                                {if !empty($cat.icon_ts)}
14                                <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent_album{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">
15                                {/if}
16                        </h3>
17                        <div class="text">
18                                  {if isset($cat.INFO_DATES) }
19                                  <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p>
20                                  {/if}
21                                  <p class="thumbCatDescNbImg">{$cat.CAPTION_NB_IMAGES}</p>
22                                  {if not empty($cat.DESCRIPTION)}
23                                  <p class="thumbCatDesc">{$cat.DESCRIPTION}</p>
24                                  {/if}
25                        </div>
26                </div>
27        </div>
28  </li>
29  {/foreach}
30</ul>
Note: See TracBrowser for help on using the repository browser.