• <@sys.dept id=admin.deptId> <#assign dept=object/> <#if dept?has_content&&dept.ownsAllCategory> <@t.page 'category'/> <#else> <@t.page 'category'/>
      <@cms.categoryList advanced=true pageSize=500> <#list page.list as a> <@t.merge 'categoryIds' a.id!/> <@sys.deptItem itemType='category' deptId=admin.deptId!'' itemIds=t.categoryIds!><#assign deptCategoryMap=map!/> <#list page.list as a> <#if (deptCategoryMap[a.id?string])?has_content&&deptCategoryMap[a.id?string]> _src="common/contentCategoryTree.html?parentId=${a.id}"> ${(a.name)!} <#else>
    • <@t.page 'empty_directory'/>
<#include "../common/content_list.html"/>