<@sys.dept id=id> <#assign a=object/> <#if (object.parentId)?has_content><#assign parentId=object.parentId/> <#if (object.userId)?has_content><#assign userId=object.userId/> <@sys.dept id=parentId!><#assign parentName=(object.name)!/>
<@t.page 'dept.parent'/>:
<@t.page 'dept.select'/>
<@t.page 'name'/>:
<@t.page 'code'/>:
<@t.page 'description'/>:
<@t.page 'dept.master'/>:
<@t.page 'user.select'/>
<@t.page 'dept.own_all_category'/>:
<@t.page 'content.max_top_level'/>:
<@t.page 'dept.own_all_page'/>:
<@t.page 'dept.own_all_config'/>:
<#macro categoryTree parentId=''> <@cms.categoryList parentId=parentId advanced=true pageSize=500> <#list page.list as a>
  • ${a.name} <#if a.childIds?has_content>
      <@categoryTree a.id/>
  • <#else>
  • <@t.page 'empty_directory'/>
  • <@t.page 'dept.category_authorize'/>
    <#macro pageTree filepath=''> <@tools.fileList path=filepath> <#list list as a>
  • <#local path=filepath+'/'+a.fileName> <@tools.metadata path=path> ${(object.alias)?has_content?then(object.alias+' ('+a.fileName+')',a.fileName)} <#if a.directory>
      <@pageTree path/>
  • <#else>
  • <@t.page 'empty_directory'/>
  • <@t.page 'dept.page_authorize'/>
    <@t.page 'dept.config_authorize'/>