@cms.categoryList advanced=true parentId=parentId allowContribute=allowContribute pageIndex=pageNum pageSize=numPerPage> <@sys.authorized roleIds=admin.roles urls='cmsCategory/add,cmsCategory/delete,cmsCategory/publish,cmsCategory/rebuildChildIds,cmsCategory/batchPublish,cmsCategory/seo,cmsCategory/batchCopy,cmsCategory/export,cmsCategory/import,cmsCategory/contributeForm,cmsCategory/static,cmsCategory/moveParameters,cmsCategory/changeTypeParameters,cmsCategory/publishParameters,cmsPlace/push'><#assign authorizedMap=map/>@sys.authorized>
| <@t.page 'id'/> | <@t.page 'code'/> | <@t.page 'name'/> | <@t.page 'category_type'/> | <@t.page 'category.parent'/> | <@t.page 'category.page_size'/> | <@t.page 'contribute'/> | <@t.page 'display'/> | <@t.page 'sort'/> | <@t.page 'operate'/> | |
|---|---|---|---|---|---|---|---|---|---|---|
| ${a.id!} |
${a.code!}
<@t.page 'category.child_management'/> |
<#if lockMap?has_content && lockMap[a.id?string]?has_content> <#assign lockUser=(userMap[lockMap[a.id?string].userId?string].nickname)!''/> #if> ${(a.name)!} ${(a.onlyUrl?then('['+t.pageMessage('url')+']',''))!} |
${(typeMap[a.typeId?string].name)!}
<#if authorizedMap['cmsCategory/changeTypeParameters']>
<#if a.typeId?has_content> #if> <@t.page 'category.change_type'/> #if> |
${(parentMap[a.parentId?string].name)!} | <#if !a.onlyUrl>${a.pageSize!}${(a.containChild?then('['+t.pageMessage('category.contain_child')+']',''))!}#if> | <#if a.allowContribute> <#if authorizedMap['cmsCategory/contributeForm']> <@t.page 'allow_contribute'/> <#else> <@t.page 'allow_contribute'/> #if> #if> | ${t.pageMessage(a.hidden?then('hidden','show'))} | ${a.sort!} | <#if authorizedMap['cmsCategory/add']> <@t.page 'category.edit'/> <@t.page 'button.copy'/> #if> <#if authorizedMap['cmsCategory/publishParameters']&&site.useStatic&&!a.onlyUrl> <@t.page 'button.publish'/> #if> <#if authorizedMap['cmsCategory/batchCopy']> <@t.page 'button.batch_copy'/> #if> <#if authorizedMap['cmsCategory/export']> <@t.page 'button.export'/> #if> <#if authorizedMap['cmsPlace/push']> <@t.page 'button.push'/> #if> |