{include="style"}
{if(checkAction('Classtype/changeClass'))}
{/if} {if(checkAction('Classtype/addclass'))}
{fun JZLANG('新增')}
{/if} {if(checkAction('Classtype/addmany'))}
{fun JZLANG('批量新增')}
{/if} {fun JZLANG('批量翻译')}

 | ID | {fun JZLANG('排序')} | {$molds['name']} | {fun JZLANG('模块名')} | {fun JZLANG('导航显示')} | {fun JZLANG('快捷操作')} | {fun JZLANG('操作')}
--- | --- | --- | --- | --- | --- | --- | ---
{foreach $classtypes as $v}
 | {$v['id']} | {if(checkAction('Classtype/editClassOrders'))} {else} {$v['orders']} {/if} | {fun str_repeat(' ',$v['level'])} {if($v['haschild'])}  {else} {if($v['level'])}|——{/if} {/if} {$v['classname']} | {$moldslist[$v['molds']]['name']} {if($admin['classcontrol']==0 ||$admin['isadmin'] || strpos($tids,','.$v['id'].',')!==false)} | {if($v['isclose']==0)} {if(checkAction('Classtype/change_status'))} {else} {if($v['isshow']==1)} {fun JZLANG('显示')} {else} {fun JZLANG('隐藏')} {/if} {/if} {else} 已关闭 {/if} | {if(checkAction('Classtype/addclass'))} {fun JZLANG('添加下级')} {/if} {if(checkAction('Fields/index'))} {fun JZLANG('字段管理')} {/if} {if($v['molds']=='article')} {if(checkAction('Article/addarticle'))} {fun JZLANG('新增文章')} {/if} {else if($v['molds']=='product')} {if(checkAction('Product/addproduct'))} {fun JZLANG('新增商品')} {/if} {else} {if($v['molds']!='message' && $v['molds']!='page')} {if(checkAction('Extmolds/addmolds/molds/'.$v['molds']))} {fun JZLANG('新增内容')} {/if} {/if} {/if} | {if(checkAction('Classtype/editclass'))} {fun JZLANG('编辑')} {/if} {fun JZLANG('预览')} {if(checkAction('Classtype/deleteclass'))} {fun JZLANG('删除')} {/if} {else} | {if($v['isshow']==1)} {fun JZLANG('显示')} {else} {fun JZLANG('隐藏')} {/if} | - | - {/if}
{/foreach}

{include="lang"}