source: extensions/rv_menutree/trunk/template/rv_menutree_categories.tpl

Last change on this file was 27411, checked in by rvelices, 10 years ago

menutree optims (remove unused css + move some tpl to php because faster)

File size: 968 bytes
Line 
1<dt>
2        <a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a>
3</dt>
4<dd>
5{strip}
6{foreach from=$block->data.MENU_CATEGORIES item=cat}
7        {$cat.PRE}
8        <li{$cat.CLASS}> <a href="{$cat.URL}"{if $cat.IS_UPPERCAT} rel="up"{/if}>{$cat.NAME}</a>
9                {if $cat.count_images > 0}
10                        <span{if $cat.nb_images <= 0} class=menuInfoCatByChild{/if} title="{$cat.TITLE}"> [{$cat.count_images}] </span>
11                {/if}
12                {if !empty($cat.icon_ts)}
13                        <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="(!)">
14                {/if}
15{/foreach}
16{$RVMT_POST}
17{/strip}
18{combine_script id='rvmt' load='async' path="plugins/`$RVMT_BASE_NAME`/js/rvtree.min.js"}
19{footer_script}
20var _rvTreeAutoQueue = _rvTreeAutoQueue||[]; _rvTreeAutoQueue.push(  document.getElementById('theCategoryMenu') );
21{/footer_script}
22        <div class=totalImages style="margin-top:4px">{$block->data.NB_PICTURE|@translate_dec:'%d photo':'%d photos'}</div>
23</dd>
Note: See TracBrowser for help on using the repository browser.