source: extensions/Full_Background/template/menubar_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<span id="menu_start">
2                <a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a>
3</span>
4
5
6<li class="liSub" >
7
8        <span class="dd_wrapper">{'Categories'|@translate}</span>
9       
10                <div class="sub" style="opacity: 0; display: none; width:700px;">
11                {assign var='ref_level' value=0}
12                        <div id="menu_cat_act">
13                                <div id="nbImg">
14                        <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p>
15                                </div>
16                                <div id="filter">
17                                        {if isset($U_START_FILTER)}
18                                                <a href="{$U_START_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'display only recently posted photos'|@translate}" rel="nofollow">
19                                                <span class="pwg-icon pwg-icon-filter"> </span>
20                                                </a>
21                                        {/if}
22                                        {if isset($U_STOP_FILTER)}
23                                        <a href="{$U_STOP_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'return to the display of all photos'|@translate}"><span class="pwg-icon pwg-icon-filter-del"> </span></a>
24                                        {/if}
25                                </div>
26
27                        </div>
28                               
29                               
30{foreach from=$block->data.MENU_CATEGORIES item=cat}
31{if $cat.LEVEL > $ref_level}
32<ul class="mcol">
33{else}
34
35                </li>
36                        {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
37                  {/if}
38                   <li {if $cat.SELECTED}class="selected"{/if}class="level{$cat.LEVEL}">
39                   <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}" >{$cat.NAME}   [{$cat.count_images}] </a>
40                  {assign var='ref_level' value=$cat.LEVEL}
41                {/foreach}
42        {'</li></ul>'|@str_repeat:$ref_level}   
43
44                {if isset($block->data.U_UPLOAD)}
45               
46        <ul>
47               
48                        <li>
49                                <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a>
50                        </li>
51
52        </ul>
53               
54        {/if}
55               
56
57                </div>
Note: See TracBrowser for help on using the repository browser.