<{assign var=addvirtualcat value=$___a='添加虚拟分类'|t:'b2c'}>
<{assign var=editvsort value=$___b2c="编辑排序"|t:'b2c'}>
<{assign var=savevsort value=$___b2c="保存排序"|t:'b2c'}>
<{button app="desktop" label=$addvirtualcat icon="btn_add.gif" onclick="new Dialog('index.php?app=b2c&ctl=admin_goods_virtualcat&act=addNew',{title:'{$addvirtualcat}',width:.7,height:.9})" }>
<{button app="desktop" tmplabel=$savevsort label=$editvsort id="edit-vcatsort"}>
<{if $tree_number<=500}> <{button app="desktop" label=$___b2c="展开分类"|t:'b2c' id="showCat-handle" }> <{button app="desktop" label=$___b2c="收起分类"|t:'b2c' id="hideCat-handle" }><{/if}>
<{foreach from=$tree item=item name="item"}>
<{if $tree_number<=500}>
<{if $item.cls=='true'}> <{img src="bundle/handle-hide.gif" alt=$___b2c="收起子分类"|t:'b2c' title=$___b2c="收起子分类"|t:'b2c' class="handle-hide" app='desktop'}>
<{img src="bundle/handle-show.gif" alt=$___b2c="收起子分类"|t:'b2c' title=$___b2c="展开子分类"|t:'b2c' class="handle-show" app='desktop'}>
<{/if}>
<{/if}>
<{$item.cat_name}>
|
<{if $item.disabled == 'true'}>是<{else}>否<{/if}>
|
<{$item.p_order|default:0}>
|
<{assign var="cat_id" value=$item.cat_id}><{img src="bundle/addcate.gif" border="0" alt=$___b2c="添加子分类"|t:'b2c' app='desktop'}><{t}>添加子分类<{/t}>
<{img src="bundle/editcate.gif" border="0" alt=$___b2c="编辑"|t:'b2c' app='desktop'}><{t}>编辑<{/t}>
<{img src="bundle/delecate.gif" border="0" alt=$___b2c="删除"|t:'b2c' app='desktop'}><{t}>删除<{/t}>
<{img src="bundle/showcate.gif" border="0" alt=$___b2c="查看此分类下商品"|t:'b2c' app='desktop'}><{t}>查看商品<{/t}>
<{img src="bundle/zoom_btn.gif" border="0" alt=$___b2c="跳转前台查看该"|t:'b2c' app='desktop'}><{t}>浏览<{/t}>
|
<{/foreach}>