#macro tree id node>
<#local temp = node + 1 />
<#list channels as comment>
<#if id == comment.pid>
| ${comment.id?c} |
${comment.space!}
<#if comment.end> └ <#else> ├#if>
${comment.name!}
|
${comment.url!} |
${comment.sort?c} |
<#if comment.hide == true>
<#else>
#if>
|
编辑
| 删除
|
<@tree id = comment.id node=temp/>
#if>
#list>
#macro>