{assign var=children value=$Site->getNavigation()} {if !isset($level)} {assign var=level value=1} {else} {assign var=level value=$level+1} {/if} {if count($children)}

{foreach from=$children item=Child}
- {if $this->getAttribute('icons')}
  {if $Child->getAttribute('image_site')} {image src=$Child->getAttribute('image_site') width=24 height=24} {else} {/if}
  {/if}
  {$Child->getAttribute('title')}
  {if $Child->hasChildren()} {include file="`$FileMenu`" Site=$Child level=$level placeholder=$placeholder} {/if}
{/foreach}

{/if}