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

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