@cms.dictionaryList name=name pageIndex=pageNum pageSize=numPerPage> <@sys.authorized roleIds=admin.roles urls='cmsDictionary/add,cmsDictionary/delete,cmsDictionary/export,cmsDictionary/import'><#assign authorizedMap=map/>@sys.authorized>
| <@t.page 'id'/> | <@t.page 'name'/> | <@t.page 'dictionary.childDepth'/> | <@t.page 'operate'/> | |
|---|---|---|---|---|
| ${a.id.id} | ${a.name!} | ${a.childDepth} | <#if a.childDepth gt 0> <@t.page 'button.edit'/> <#else> <@t.page 'button.edit'/> #if> <#if !site.parentId?has_content && authorizedMap['cmsDictionary/export']> <@t.page 'button.export'/> #if> <@t.page 'dictionary.exclude'/> <#if !site.parentId?has_content && authorizedMap['cmsDictionary/delete']> <@t.page 'button.delete'/> #if> |