<@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/>
<#list page.list as a>
<@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 !site.parentId?has_content && authorizedMap['cmsDictionary/export']> <@t.page 'button.export'/> <@t.page 'dictionary.exclude'/> <#if !site.parentId?has_content && authorizedMap['cmsDictionary/delete']> <@t.page 'button.delete'/>
<#include "../include_page/page.html"/>