source: extensions/flop_style/mainpage_categories/picpile_cat.tpl @ 9720

Last change on this file since 9720 was 9720, checked in by flop25, 13 years ago

adding 2 types of category

File size: 1.5 KB
Line 
1{combine_css path="template-extension/flop_style/mainpage_categories/picpile_cat.css"}
2<ul class="thumbnailCategories">
3  {foreach from=$category_thumbnails item=cat}
4  <li>
5  <span class="wrap1"><div class="albumHolder">
6    <div class="picRotated"></div>
7    <div class="album"> <a class="ajax" href="{$cat.URL}"> <span title="Browse Album" class="highlight"></span> <img width="160" height="120" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" alt="{$cat.TN_ALT}" src="{$cat.TN_SRC}"> <span title="Contains {$cat.CAPTION_NB_IMAGES} images" class="albumCnt">{$cat.CAPTION_NB_IMAGES}</span> </a> </div>
8    <div title="{$cat.NAME}" class="albumTitle">{$cat.NAME}</div>
9    <div class="clear"></div>
10  </div>
11  {*
12                <div class="thumbnailCategory">
13                        <div class="illustration">
14                        <a href="{$cat.URL}">
15                                <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'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                <div class="text">
26                                {if isset($cat.INFO_DATES) }
27                                <p class="dates">{$cat.INFO_DATES}</p>
28                                {/if}
29                                <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
30                                {if not empty($cat.DESCRIPTION)}
31                                <p>{$cat.DESCRIPTION}</p>
32                                {/if}
33                </div>
34                        </div>
35                </div>
36  *}
37  </span>
38  </li>
39  {/foreach}
40</ul>
Note: See TracBrowser for help on using the repository browser.