<#switch a.url!''>
<#case 'cmsContent/list'>
-
<@_sysDept id=admin.deptId>
<#assign dept=object/>
@_sysDept>
<#if dept?has_content&&dept.ownsAllCategory>
<@t.page 'category'/>
<#else>
<@t.page 'category'/>
#if>
<@_categoryList advanced=true parentId=parentId count=500>
<#list page.list as a>
<@t.merge 'categoryIds' a.id!/>
#list>
<@_sysDeptCategory deptId=admin.deptId!'' categoryIds=t.categoryIds!><#assign deptCategoryMap=map!/>@_sysDeptCategory>
<#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>
@_categoryList>
<#break>
<#case 'cmsCategory/list'>
<#break>
<#default>
<@_sysModuleList parentId=a.id>
<#list page.list as a>
<@t.merge 'childModuleIds' a.id!/>
#list>
<@_sysRoleModule roleIds=admin.roles moduleIds=t.childModuleIds!><#assign childRoleModuleMap=map!/>@_sysRoleModule>
<#list page.list as a>
<#if (childRoleModuleMap[a.id?string])?has_content&&childRoleModuleMap[a.id?string]>
- <#if (a.attached)?has_content>#if> <@t.menu a.id/>
#if>
#list>
@_sysModuleList>
#switch>
#if>
#list>
@_sysModuleList>