<{include file="admin:common/header.html"}>

| <{$MOD.title}> | <{link ctl="article/cate:create" class="button" load="mini:添加分类" width="mini:520" title="添加分类"}> |

ID | 分类名称 | 排序 | 是否隐藏 | 操作
--- | --- | --- | --- | ---
<{foreach $tree as $v}>
<{$v.cat_id}> | <{$v.title}> |  | <{if $v.hidden}>隐藏<{else}>显示<{/if}> | <{link ctl="article/cate:create" args="<{$v.cat_id}>" load="mini:添加子分类" width="mini:520" title="添加子分类" class="button"}> <{link ctl="article/cate:edit" args="<{$v.cat_id}>" load="mini:编辑分类" width="mini:520" title="编辑分类" class="button"}> <{if $v.type == 'article'}> <{link ctl="article/cate:delete" args="<{$v.cat_id}>" act="mini:remove:#cate-<{$v.mod_id}>" title="删除分类" class="button"}> <{else}> 删除分类 <{/if}>
<{foreach $v.children as $vv}>
<{$vv.cat_id}> | |---<{$vv.title}> | |--- | <{if $vv.hidden}>隐藏<{else}>显示<{/if}> | <{link ctl="article/cate:create" args="<{$vv.cat_id}>" load="mini:添加子分类" width="mini:520" title="添加子分类" class="button"}> <{link ctl="article/cate:edit" args="<{$vv.cat_id}>" load="mini:编辑分类" width="mini:520" title="编辑分类" class="button"}> <{link ctl="article/cate:delete" args="<{$vv.cat_id}>" act="mini:remove:#mod-<{$vv.cat_id}>" title="删除分类" class="button"}>
<{foreach $vv.children as $vvv}>
<{$vvv.cat_id}> | |---<{$vvv.title}> | |--- | <{if $vvv.hidden}>隐藏<{else}>显示<{/if}> | 添加子分类 <{link ctl="article/cate:edit" args="<{$vvv.cat_id}>" load="mini:编辑分类" width="mini:520" title="编辑分类" class="button"}> <{link ctl="article/cate:delete" args="<{$vvv.cat_id}>" act="mini:remove:#mod-<{$vvv.cat_id}>" title="删除分类" class="button"}>
<{/foreach}> <{/foreach}> <{/foreach}>

全选 | <{link ctl="article/cate:delete" type="button" submit="mini:#items-form" title="删除分类"}> | <{link ctl="article/cate:update" type="button" submit="mini:#items-form" title="更新数据"}>

<{include file="admin:common/footer.html"}>