{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'} {if $level == 0}
{$FOOTER_MENU|@print_r}*}