{'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 $cat.count_images > 0} [{$cat.count_images}] {/if} {if !empty($cat.icon_ts)} (!) {/if} {assign var='ref_level' value=$cat.LEVEL} {/foreach} {'
  • '|@str_repeat:$ref_level}