<@cms.contentList advanced=true status=status categoryId=categoryId containChild=containChild disabled=true modelId=modelIds parentId=parentId title=title userId=userId startPublishDate=startPublishDate endPublishDate=endPublishDate absoluteId=false orderField=orderField orderType=orderType pageIndex=pageNum pageSize=numPerPage> <#macro modelList parentId=''> <@cms.modelList parentId=parentId> <#list page.list as a> <#if a.hasChild> <@modelList a.id/> <@sys.authorized roleIds=admin.roles urls='cmsContent/realDelete,cmsContent/recycle'><#assign authorizedMap=map/>
<#list page.list as a> <@t.merge 'userIds' a.userId!/> <@t.merge 'checkUserIds' a.checkUserId!/> <@t.merge 'categoryIds' a.categoryId!/> <@t.merge 'modelIds' a.modelId!/> <@sys.user ids=t.userIds!><#assign userMap=map!/> <@sys.user ids=t.checkUserIds!><#assign checkUserMap=map!/> <@cms.category ids=t.categoryIds!><#assign categoryMap=map!/> <@cms.model ids=t.modelIds!><#assign modelMap=map!/> <#list page.list as a>
<@t.page 'id'/> <@t.page 'title'/> <@t.page 'content.promulgator'/> <@t.page 'category'/> <@t.page 'model'/> <@t.page 'content.comments'/> <@t.page 'clicks'/> <@t.page 'publish_date'/> <@t.page 'create_date'/> <@t.page 'status'/>/<@t.page 'inspector'/> <@t.page 'operate'/>
${a.id} ${(a.copied?then('['+t.pageMessage('copied')+']',''))!}${(a.title)!} ${(userMap[a.userId?string].nickname)!} ${(categoryMap[a.categoryId?string].name)!} ${(modelMap[a.modelId].name)!} ${a.comments!} ${a.clicks!} ${a.publishDate!} ${a.createDate!} <@t.page 'status.content.'+a.status/> <#if 1=a.status>/ ${(checkUserMap[a.checkUserId?string].nickname)!} <#if authorizedMap['cmsContent/recycle']> <@t.page 'button.recycle'/> <#if authorizedMap['cmsContent/realDelete']> <@t.page 'button.delete'/>
<#include "../include_page/page.html"/>