@_sysDept id=admin.deptId> <#assign dept=object containChild=object.ownsAllCategory /> @_sysDept> <@_sysDeptCategory deptId=admin.deptId!'' categoryId=categoryId!><#assign deptCategory=object!/>@_sysDeptCategory> <#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/> @_content> #if> <#if !admin.ownsAllContent><#assign userId=admin.id/>#if> <@_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/>@_sysAuthorized>
| <@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!} #if> | ${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> | <#if modelMap[a.modelId]?has_content&&modelMap[a.modelId].hasChild> <@t.page 'content.child_management'/>| #if> <#if 1=a.status> <#if authorizedMap['cmsContent/push']> <#if dept?has_content> <@t.page 'top'/>| #if> <@t.page 'button.push'/>| #if> <#if authorizedMap['cmsContent/uncheck']> <@t.page 'button.uncheck'/>| #if> <#elseif 2=a.status> <#if authorizedMap['cmsContent/check']> <@t.page 'button.check'/>| #if> #if> <#if authorizedMap['cmsContent/delete']> <@t.page 'button.delete'/> #if> |