Line | |
---|
1 | {combine_css path="template-extension/flop_style/mainpage_categories/medium_cat.css"} |
---|
2 | |
---|
3 | <ul class="thumbnailCategories"> |
---|
4 | {foreach from=$category_thumbnails item=cat} |
---|
5 | <li class="{cycle values="cat_1,cat_2,cat_3,cat_4"}" > |
---|
6 | <div class="thumbnailCategory"> |
---|
7 | <div class="illustration"> |
---|
8 | <a href="{$cat.URL}"> |
---|
9 | <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}"> |
---|
10 | </a> |
---|
11 | </div> |
---|
12 | <div class="description"> |
---|
13 | <h3> |
---|
14 | <a href="{$cat.URL}">{$cat.NAME|truncate:38:" [...]"}</a> |
---|
15 | {if !empty($cat.icon_ts)} |
---|
16 | <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="(!)"> |
---|
17 | {/if} |
---|
18 | </h3> |
---|
19 | <div class="text"> |
---|
20 | {if isset($cat.INFO_DATES) } |
---|
21 | <p class="dates">{$cat.INFO_DATES}</p> |
---|
22 | {/if} |
---|
23 | <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> |
---|
24 | </div> |
---|
25 | </div> |
---|
26 | </div> |
---|
27 | </li> |
---|
28 | {/foreach} |
---|
29 | </ul> |
---|
Note: See
TracBrowser
for help on using the repository browser.