@_sysDept id=admin.deptId> <#assign dept=object containChild=object.ownsAllCategory /> @_sysDept> <@_sysDeptCategory deptId=admin.deptId!'' categoryId=categoryId!''><#assign deptCategory=object!/>@_sysDeptCategory> <#if deptCategory?has_content&&deptCategory || dept?has_content && dept.ownsAllCategory> <#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 absoluteId=false orderField=orderField orderType=orderType pageIndex=pageNum pageSize=numPerPage> <@_sysAuthorized roleIds=admin.roles urls='cmsContent/add,cmsContent/delete,cmsContent/check,cmsContent/reject,cmsContent/uncheck,cmsContent/push,cmsContent/refresh,cmsContent/publish,cmsContent/moveParameters,cmsContent/changeModelParameters,cmsContent/export,cmsComment/list,cmsContent/sortParameters,cmsCategory/add'><#assign authorizedMap=map/>@_sysAuthorized>
| <@t.page 'id'/> | <@t.page 'content'/> | <@t.page 'content.score'/> | <@t.page 'content.comments'/> | <@t.page 'clicks'/> | <@t.page 'publish_date'/> | <@t.page 'content.top_level'/> | <@t.page 'status'/>/<@t.page 'inspector'/> | <@t.page 'operate'/> | |
|---|---|---|---|---|---|---|---|---|---|
| ${a.id} |
<#if a.cover?has_content>
[${(categoryMap[a.categoryId?string].name)!}] ${(a.copied?then('['+t.pageMessage('copied')+']',''))!}${(a.title)!}${(userMap[a.userId?string].nickName)!} ${(modelMap[a.modelId].name)!} <#if modelMap[a.modelId]?has_content&&modelMap[a.modelId].hasChild> #if> <#if a.expiryDate?has_content>${a.expiryDate!} #if> |
${a.scores!} | <#if authorizedMap['cmsComment/list']> ${a.comments!} <#else> ${a.comments!} #if> | ${a.clicks!} | ${a.publishDate!} | ${a.sort!} | <@t.page 'status.content.'+a.status/> <#if 1=a.status || 3=a.status>/ ${(userMap[a.checkUserId?string].nickName)!}#if> | <@t.page 'content.edit'/> <#if 1=a.status> <#if authorizedMap['cmsContent/sortParameters']> <#if dept?has_content> <@t.page 'top'/> #if> #if> <#if authorizedMap['cmsContent/add']> <@t.page 'button.copy'/> #if> <#if authorizedMap['cmsContent/push']> <@t.page 'button.push'/> #if> <#elseif 2=a.status> <#if authorizedMap['cmsContent/check']> <@t.page 'button.check'/> #if> <#if authorizedMap['cmsContent/reject']> <@t.page 'button.reject'/> #if> #if> <#if authorizedMap['cmsContent/delete']> <@t.page 'button.delete'/> #if> |