<{button type="button" class="btn-has-icon" label=$___b2c="新增注册项"|t:'b2c' app="desktop" icon="btn_add.gif" onclick="new Dialog('index.php?app=b2c&ctl=admin_member_attr&act=add_page',{height:263,width:500,title:'{$b2cs}'})"}>
<{help}><{t}>您可以在此处自定义商店顾客在前台注册会员时需要填写的表单项目，系统自带注册项不允许删除，但您可以设置显示状态为不可见<{/t}><{/help}>
<{t}>注册项名称<{/t}>
<{t}>注册项类型<{/t}>
<{t}>编辑<{/t}>
<{t}>删除<{/t}>
<{t}>显示<{/t}>
<{foreach from=$tree item=item name="item" key='row'}>

<{$item.attr_name|t:'b2c'}>: | <{if $item.attr_type =='date'}> <{if $item.attr_required eq 'true'}>*<{/if}> <{/if}> <{if $item.attr_type =='text'}> <{input class="inputstyle" name=$item.attr_id }><{if $item.attr_required eq 'true'}>*<{/if}> <{/if}> <{if $item.attr_type =='region'}> <{/if}> <{if $item.attr_type ==gender}> <{t}>男<{/t}> <{t}>女<{/t}> <{/if}> <{if $item.attr_type =='select'}> <{if $item.attr_required eq 'true'}>*<{/if}> <{/if}> <{if $item.attr_type =='cal'}> <{input class="cal" type='date' name=$item.attr_id }><{if $item.attr_required eq 'true'}>*<{/if}> <{/if}> <{if $item.attr_type =='checkbox'}> <{foreach from=$item.attr_option item=checkbox name="checkbox" }> <{$checkbox}> <{/foreach}> <{if $item.attr_required eq 'true'}>*<{/if}> <{/if}>

<{$item.attr_tyname}>
<{assign var=p value=$___b2c='系统默认'|t:'b2c'}> <{img src="/bundle/editcate.gif" border="0" alt=$___b2c="编辑"|t:'b2c'}>
<{if $item.attr_tyname !=$p}><{img src="/bundle/delecate.gif" border="0" alt=$___b2c="删除"|t:'b2c'}><{else}> <{/if}>
<{if $item.attr_show == "false"}> <{img src="/bundle/hidden.gif"}> <{else}> <{img src="/bundle/visible.gif"}> <{/if}>
<{/foreach}>
<{area inject='.mainFoot'}>
<{/area}>