#macro tree id node>
<#local temp = node + 1 />
<#list channels as comment>
<#if id == comment.pid>
| ${comment.id?c} |
<#list 0..temp as x> #list>${comment.name!} |
${comment.url!} |
${comment.modulename!} |
${comment.sort?c} |
<#if comment.hide == true>显示<#else>隐藏#if> |
编辑
| 删除
|
<@tree id = comment.id node=temp/>
#if>
#list>
#macro>