{'Albums'|@translate}
{assign var='ref_level' value=0} {foreach from=$block->data.MENU_CATEGORIES item=cat} {if $cat.LEVEL > $ref_level} '|@str_repeat:($ref_level-$cat.LEVEL)} {/if}
  • {$cat.NAME} {if !empty($cat.icon_ts)} (!) {/if} {if $cat.count_images > 0} [{$cat.count_images}] {/if} {assign var='ref_level' value=$cat.LEVEL} {/foreach} {'
  • '|@str_repeat:$ref_level}

    {$block->data.NB_PICTURE|@translate_dec:'%d photo':'%d photos'}