#if parentId?has_content>
<@_categoryList advanced=true parentId=parentId pageSize=500>
<#list page.list as a>
<#if !(currentCategoryId?has_content) || !(a.id?string=currentCategoryId)>
- _src="cmsCategory/lookup.html?currentCategoryId=${currentCategoryId!}&parentId=${a.id}&field=${field!'categoryId'}"#if>>
${a.name!}
#if>
#list>
@_categoryList>
<#else>
-
<@t.page 'button.clear_select'/>
<@_categoryList advanced=true parentId=parentId pageSize=500>
<#list page.list as a>
<#if !(currentCategoryId?has_content) || !(a.id?string=currentCategoryId)>
- _src="cmsCategory/lookup.html?currentCategoryId=${currentCategoryId!}&parentId=${a.id}&field=${field!'categoryId'}"#if>>
${a.name!}
#if>
<#else>
- <@t.page 'empty_directory'/>
#list>
@_categoryList>
#if>