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

| <{$MOD.title}> | <{link ctl="article/class:create" class="button" priv="hide" load="mini:添加文章分类"}> |

ID | 分类名称 | 排序 | 操作
--- | --- | --- | ---
<{foreach $class_tree as $v}>
<{$v.class_id}> | <{$v.title}> |  | <{link ctl="article/class:create" args="<{$v.class_id}>" load="mini:添加子分类" title="添加子分类" class="button"}> <{link ctl="article/class:edit" args="<{$v.class_id}>" load="mini:编辑分类" title="编辑分类" class="button"}> <{if $v.type == 'article'}> <{link ctl="article/class:delete" args="<{$v.class_id}>" act="mini:remove:#mod-<{$v.mod_id}>" title="删除分类" class="button"}> <{else}> 删除分类 <{/if}>
<{foreach $v.children as $vv}>
<{$vv.class_id}> | |----<{$vv.title}> | |---- | <{link ctl="article/class:create" args="<{$vv.class_id}>" load="mini:添加子分类" title="添加子分类" class="button"}> <{link ctl="article/class:edit" args="<{$vv.class_id}>" load="mini:编辑分类" title="编辑分类" class="button"}> <{link ctl="article/class:delete" args="<{$vv.class_id}>" act="mini:remove:#mod-<{$vv.class_id}>" title="删除分类" class="button"}>
<{foreach $vv.children as $vvv}>
<{$vvv.class_id}> | |----<{$vvv.title}> | |---- | 添加子分类 <{link ctl="article/class:edit" args="<{$vvv.class_id}>" load="mini:编辑分类" title="编辑分类" class="button"}> <{link ctl="article/class:delete" args="<{$vvv.class_id}>" act="mini:remove:#mod-<{$vvv.class_id}>" title="删除分类" class="button"}>
<{/foreach}> <{/foreach}> <{/foreach}>

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