<@_sysDept id=admin.deptId> <#assign dept=object containChild=object.ownsAllCategory /> <@_sysDeptCategory deptId=admin.deptId!'' categoryId=categoryId!><#assign deptCategory=object!/> <#if !dept?has_content||(!dept.ownsAllCategory&&!deptCategory?has_content)> <#assign error='verify.notEquals.siteId'/> <#include "../common/ajaxError.html"/> <#else> <#if parentId?has_content> <@_content id=parentId> <#assign parent=object/> <#if !admin.ownsAllContent><#assign userId=admin.id/> <@_contentList advanced=true status=status categoryId=categoryId containChild=containChild modelId=modelId parentId=parentId emptyParent=true title=title userId=userId startPublishDate=startPublishDate endPublishDate=endPublishDate orderField=orderField orderType=orderType pageIndex=pageNum count=numPerPage> <@_sysAuthorized roleIds=admin.roles urls='cmsContent/add,cmsContent/delete,cmsContent/check,cmsContent/uncheck,cmsContent/push,cmsContent/refresh,cmsContent/publish,cmsContent/moveParameters,cmsContent/changeModelParameters,cmsContent/export,cmsComment/list'><#assign authorizedMap=map/>
<#list page.list as a> <@t.merge 'userIds' a.userId!/> <@t.merge 'userIds' a.checkUserId!/> <@t.merge 'categoryIds' a.categoryId!/> <@t.merge 'modelIds' a.modelId!/> <@_sysUser ids=t.userIds!><#assign userMap=map!/> <@_category ids=t.categoryIds!><#assign categoryMap=map!/> <@_model ids=t.modelIds!><#assign modelMap=map!/> <#list page.list as a> <#assign contentId=(a.quoteContentId?has_content)?then(a.quoteContentId,a.id)/>
<@t.page 'id'/> <@t.page 'title'/> <@t.page 'content.promulgator'/> <@t.page 'category'/> <@t.page 'model'/> <@t.page 'content.score'/> <@t.page 'content.comments'/> <@t.page 'clicks'/> <@t.page 'publish_date'/> <@t.page 'expiry_date'/> <@t.page 'create_date'/> <@t.page 'content.top_level'/> <@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.scores!} <#if authorizedMap['cmsComment/list']> ${a.comments!} <#else> ${a.comments!} ${a.clicks!} ${a.publishDate!} ${a.expiryDate!} ${a.createDate!} ${a.sort!} <@t.page 'status.content.'+a.status/> <#if 1=a.status>/ ${(userMap[a.checkUserId?string].nickName)!} <#if modelMap[a.modelId]?has_content&&modelMap[a.modelId].hasChild> <@t.page 'content.child_management'/>| <#if 1=a.status> <#if authorizedMap['cmsContent/push']> <#if dept?has_content> <@t.page 'top'/>| <@t.page 'button.push'/>| <#if authorizedMap['cmsContent/uncheck']> <@t.page 'button.uncheck'/>| <#elseif 2=a.status> <#if authorizedMap['cmsContent/check']> <@t.page 'button.check'/>| <#if authorizedMap['cmsContent/delete']> <@t.page 'button.delete'/>
<#include "../include_page/page.html"/>