#macro commonListTable items depth jspRef paramId >
<#if items?has_content >
<#list items as entry >
<@indentation depth=depth />
${entry.title!} |
#i18n{${entry.entryType.titleI18nKey}} |
<#if entry.idOrder > 0>
<#else>
#if>
<#if items?seq_index_of(entry) != items?size-1>
<#else>
#if>
<#if entry.idOrder == 0 && entry.idParent > 0>
<#else>
#if>
|
<#assign child_entries_list = entry.getChilds(plugin) />
<#if child_entries_list?has_content>
<@commonListTable items=child_entries_list depth=depth+1 jspRef=jspRef paramId=paramId />
#if>
#list>
#if>
#macro>
<#macro indentation depth >
<#if depth > 0>
<#list 1..depth as i>
#list>
#if>
#macro>