<{assign var=addImageMessage value=$___b2c="添加封面"|t:'b2c'}>
<{assign var=editsort value=$___b2c="编辑排序"|t:'b2c'}>
<{assign var=savesort value=$___b2c="保存排序"|t:'b2c'}>
<{button app="desktop" label=$addImageMessage icon="btn_add.gif" onclick="new Dialog('index.php?app=weixin&ctl=admin_message_image&act=image_view',{title:'{$addImageMessage}',width:580,height:550})" }>
<{button app="desktop" tmplabel=$savesort label=$editsort id="edit-catsort"}>
<{if $tree_number<=1000}>
<{button app="desktop" label=$___b2c="展开图文"|t:'b2c' id="showCat-handle" icon="btn_unfolded.gif"}>
<{button app="desktop" label=$___b2c="收起图文"|t:'b2c' id="hideCat-handle" icon="btn_folded.gif" }>
<{/if}>
<{foreach from=$list item=item name="item"}>
<{if $item.has_children=='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}>
<{$item.name|t:'weixin'}>
|
<{$item.title|t:'weixin'}> |
<{$item.ordernum|default:0}>
|
<{if $item.parent_id == '0'}>
<{assign var="id" value=$item.id}>
<{img src="bundle/addcate.gif" border="0" alt=$___b2c="添加图文"|t:'b2c' app='desktop'}>
<{t}>添加图文<{/t}>
<{else}>
<{/if}>
<{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}>
|
<{/foreach}>