source: extensions/Full_Background/template/mainpage_categories.tpl @ 19033

Last change on this file since 19033 was 19033, checked in by Miklfe, 11 years ago
File size: 1.7 KB
Line 
1
2
3
4{define_derivative name='Large' type='large'}
5{define_derivative name='small' type='small'}
6
7       
8                <div id="tf_loading" class="tf_loading"></div>
9               
10               
11<div id="tf_bg" class="tf_bg">
12        {foreach from=$category_thumbnails item=cat name=cat_loop}
13
14                                        <img src="{$pwg->derivative_url($Large, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}" longdesc="{$pwg->derivative_url($small, $cat.representative.src_image)}" link="{$cat.URL}" Z="cat">
15        {/foreach}
16        <div id="tf_pattern" class="pattern visible"></div>
17</div>
18
19                       
20<div id="tf_content_wrapper" class="tf_content_wrapper">
21        {foreach from=$category_thumbnails item=cat name=cat_loop}
22                <div class="tf_content" id="content" {if $smarty.foreach.cat_loop.first}style="display:block;"{/if}>
23                        <h2>
24                                <a href="{$cat.URL}">{$cat.NAME}</a>
25                                {if !empty($cat.icon_ts)}
26                                <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="(!)">
27                                {/if}
28                        </h2>
29                        <div class="infor">
30                        {if isset($cat.INFO_DATES) }
31                        {$cat.INFO_DATES}
32                        <br>{/if}
33                        {$cat.CAPTION_NB_IMAGES}<br>
34                        {if not empty($cat.DESCRIPTION)}
35                        {$cat.DESCRIPTION}
36                        {/if}
37                        </div>
38                </div>
39        {/foreach}
40</div>
41                                       
42
43
44                <div id="tf_thumbs" class="tf_thumbs">
45                <span id="tf_zoom" class="tf_zoom cat"></span>
46                {foreach from=$category_thumbnails item=cat name=cat_loop}
47                        {if $smarty.foreach.cat_loop.first}<a href="{$cat.URL}">{if $smarty.foreach.cat_loop.first}<img src="{$pwg->derivative_url($small, $cat.representative.src_image)}">{/if}</a>{/if}
48                {/foreach}
49                </div>
50                               
51               
52                <div id="tf_next" class="tf_next"></div>
53                <div id="tf_prev" class="tf_prev"></div>
54
55
56</div>
57
Note: See TracBrowser for help on using the repository browser.