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