@sys.dept id=admin.deptId> <#assign dept=object containChild=object.ownsAllCategory /> @sys.dept> <@sys.deptItem itemType='category' deptId=admin.deptId itemId=categoryId><#assign deptCategory=object/>@sys.deptItem> <#if deptCategory?has_content && deptCategory || dept?has_content && dept.ownsAllCategory> <#if parentId?has_content> <@cms.content id=parentId><#assign parent=object/>@cms.content> #if> <#if 0=admin.contentPermissions><#assign userId=admin.id/>#if> <#if 2=admin.contentPermissions><#assign deptId=admin.deptId/>#if> <@cms.contentList advanced=true status=1 categoryId=categoryId containChild=containChild modelId=modelIds parentId=parentId emptyParent=true title=title userId=userId deptId=deptId startPublishDate=startPublishDate endPublishDate=endPublishDate absoluteId=false orderField=orderField orderType=orderType pageIndex=pageNum pageSize=numPerPage> <@sys.authorized roleIds=admin.roles urls='cmsContent/add,cmsContent/delete,cmsContent/check,cmsContent/reject,cmsContent/uncheck,cmsContent/push,cmsCategory/lookupBySiteId,cmsContent/refresh,cmsContent/publish,cmsContent/moveParameters,cmsContent/changeModelParameters,cmsContent/export,cmsContent/import,cmsContent/workload,cmsComment/list,cmsContent/sortParameters,cmsCategory/add'><#assign authorizedMap=map/>@sys.authorized>
| <@t.page 'content'/> | <@t.page 'content.comments'/> | <@t.page 'clicks'/> | <@t.page 'collections'/> | <@t.page 'publish_date'/> | <@t.page 'operate'/> | |
|---|---|---|---|---|---|---|
<#if a.cover?has_content>
<#if lockMap?has_content && lockMap[a.id?string]?has_content> <#assign lockUser=(userMap[lockMap[a.id?string].userId?string].nickname)!''/> #if> [${(categoryMap[a.categoryId?string].name)!}] ${(a.copied?then('['+t.pageMessage('copied')+']',''))!} ${(a.title)!} <#if a.url?has_content>#if><#if modelMap[a.modelId]?has_content&&modelMap[a.modelId].hasChild> #if> ${(userMap[a.userId?string].nickname)!} ${(userMap[a.checkUserId?string].nickname)!} ${(modelMap[a.modelId].name)!} <#if a.expiryDate?has_content>${a.expiryDate!} #if> |
<#if authorizedMap['cmsComment/list']> ${a.comments!} <#else> ${a.comments!} #if> | ${a.clicks!} | ${a.collections!} | ${a.publishDate!} |
<@t.page 'content.edit'/> <#if authorizedMap['cmsContent/sortParameters']> <#if dept?has_content> <@t.page 'top'/><#if a.sort gt 0>(${a.sort})#if> #if> #if> <#if authorizedMap['cmsContent/add']> <@t.page 'button.copy'/> #if> <#if authorizedMap['cmsContent/push']> <@t.page 'button.push'/> #if> <#if authorizedMap['cmsCategory/lookupBySiteId']> <@t.page 'button.distribute'/> #if> <#if authorizedMap['cmsContent/changeModelParameters']> <@t.page 'content.change_model'/> #if> |