Last change
on this file since 23090 was
13551,
checked in by plg, 13 years ago
|
import theme Simple version 2.4
compatibility with piwigo 2.2:
- update template, language strings + misc things
- use rating and core.scripts from default theme
- cleanup useless javascript stuff
- use new combined_css feature - thanks to P@t
- replace known_script with combine_script
|
File size:
996 bytes
|
Line | |
---|
1 | <h3><a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a></h3> |
---|
2 | |
---|
3 | {assign var='ref_level' value=0} |
---|
4 | {foreach from=$block->data.MENU_CATEGORIES item=cat} |
---|
5 | {if $cat.LEVEL > $ref_level} |
---|
6 | <ul> |
---|
7 | {else} |
---|
8 | </li> |
---|
9 | {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL} |
---|
10 | {/if} |
---|
11 | <li {if $cat.SELECTED}class="selected"{/if}> |
---|
12 | <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a> |
---|
13 | {if $cat.count_images > 0} |
---|
14 | <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span> |
---|
15 | {/if} |
---|
16 | {if !empty($cat.icon_ts)} |
---|
17 | <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)"> |
---|
18 | {/if} |
---|
19 | {assign var='ref_level' value=$cat.LEVEL} |
---|
20 | {/foreach} |
---|
21 | {'</li></ul>'|@str_repeat:$ref_level} |
---|
22 | |
---|
23 | <p class="totalImages">{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p> |
---|
Note: See
TracBrowser
for help on using the repository browser.