{{foreach $roots as $id => $item}}
{{if $preview or $item->canView()}}
{{$active = $item->activeOrChildActive();}}
{{if $active}}
{{\IPS\core\FrontNavigation::i()->activePrimaryNavBar = $item->id;}}
{{endif}}
{{$children = $item->children();}}
{{if $children}}
{$item->title()}
{{else}}
active()}}data-navDefault{{endif}}>
{$item->title()}
{{endif}}
{{if $subBars && isset( $subBars[ $id ] ) && count( $subBars[ $id ] )}}
{template="_veilon_navbaritems" app="core" group="_veilon" location="front" params="$subBars[ $id ], NULL, $item->id, $preview"}
-
{lang="more"}
{{endif}}
{{endif}}
{{endforeach}}