<@cTpl> <#macro listEntries items depth> <#if items?has_content> <#local listClass = ''> <#local listId = ''> <#if depth == 0> <#local listClass = '${(quicklinks.@cssStyle)!}'> <#local listId = 'quicklinks_${quicklinks.@id}'> <@chList class=listClass id=listId> <#list items as entry> <@chItem> ${entry.entry_content} <#local child_entries_list = entry.entry /> <#if child_entries_list?has_content> <@listEntries items=child_entries_list depth=depth+1 /> <#assign quicklinks = quicklinks.quicklinks /> <#assign contentId = 'quicklinks_${quicklinks.@id}_content'> <@cBlock id=contentId> <@listEntries items=quicklinks.entry depth=0 />