<@_categoryList advanced=true parentId=categoryId allowContribute=allowContribute pageIndex=pageNum count=numPerPage> <@_sysAuthorized roleIds=admin.roles urls='cmsCategory/add,cmsCategory/delete,cmsCategory/publish,cmsCategory/static,cmsCategory/moveParameters,cmsCategory/publishParameters,cmsCategory/push_page'><#assign authorizedMap=map/>
<#list page.list as a> <@t.merge 'parentIds' a.parentId!/> <@_category ids=t.parentIds!><#assign parentMap=map!/> <#list page.list as a>
ID 名称 编码 父分类 内容数 每页数据 是否允许投稿 是否前台隐藏 排序 操作
${a.id!} ${(a.name)!}${(a.onlyUrl?then("[外链]",''))!} ${a.code!} ${(parentMap[a.parentId?string].name)!} ${a.contents!} <#if !a.onlyUrl>${a.pageSize!}${(a.containChild?then("[包含子分类内容]",''))!} ${a.allowContribute?then('允许','禁止')} ${a.hidden?then('隐藏','显示')} ${a.sort!} <#if authorizedMap['cmsCategory/add']> 添加子分类 复制分类 <#if authorizedMap['cmsCategory/push_page']> 推荐 <#if authorizedMap['cmsCategory/add']> 修改 <#if authorizedMap['cmsCategory/publishParameters']&&!a.onlyUrl> 生成 <#if authorizedMap['cmsCategory/delete']> 删除
<#include "../include_page/page.html"/>