@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/> #if> #list> @cms.modelList> #macro>
| <@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> | <#if authorizedMap['cmsContent/recycle']> <@t.page 'button.recycle'/> #if> <#if authorizedMap['cmsContent/realDelete']> <@t.page 'button.delete'/> #if> |