<@cms.dictionary id=extend.dictionaryId;dictionary> <#if 'view'=type> <@cms.dictionaryData dictionaryId=extend.dictionaryId values=value><#list map as k,data>${data.text}<#sep>, <#else> <#assign dictionaryId='dictionary_'+.now?long/> <#if 'customform'=type> <@dictionaryElement extend.dictionaryId inputName extend.required dictionary.childDepth extend.multiple type value/> <#else>
<@dictionaryElement extend.dictionaryId inputName extend.required dictionary.childDepth extend.multiple type value/>
<#if 'customform'!=type> <@sys.authorized roleIds=admin.roles url='cmsDictionary/add'> <@t.page 'button.refresh'/> <#if dictionary.childDepth gt 0> <@t.page 'dictionary.edit'/> <#else> <@t.page 'dictionary.edit'/>