{if $FOOTER_MENU->simpleFooterMenu} {foreach from = $siteMap item = 'doc' name = 'toplinks'} {$doc.menuTitle|htmlspecialchars} {if !$smarty.foreach.toplinks.last} | {/if} {/foreach} {else} {assign var = 'level' value = $level|default:0} {foreach from = $siteMap item = 'doc' name='footerMenu'} {if $level == 0}
{else}{$FOOTER_MENU|@print_r}*}