{foreach $children as $Child} {assign var=isInPath value=0} {if $Child->getId() == $Site->getId() || QUI::getRewrite()->isIdInPath($Child->getId())} {assign var=isInPath value=1} {/if}
- {$Child->getAttribute('title')} {assign var=subchildren value=$Child->getNavigation()} {if count($subchildren)}
  {foreach $subchildren as $SubChild} {assign var=isInPathSubChild value=0} {if $SubChild->getId() == $Site->getId() || QUI::getRewrite()->isIdInPath($SubChild->getId())} {assign var=isInPathSubChild value=1} {/if}
  - {image src=$SubChild->getAttribute('image_site') onlyicon=1} {$SubChild->getAttribute('title')}
  {/foreach}
  {else} {if $Child->getAttribute('short')}
  {$Child->getAttribute('short')}
  {/if} {/if}
{/foreach}