<{t}>对选择的<{/t}><{$count}><{t}>个条目应用标签<{/t}>
<{foreach from=$tags item=t}>
<{if $t.tag_id|in_array:$intersect}> <{img src="bundle/tag_all.gif" class="icon" stat="0"}> <{assign var=used_status value=0}> <{elseif $t.tag_id|in_array:$used_tag}> <{img src="bundle/tag_part.gif" class="icon" stat="2"}> <{assign var=used_status value=2}> <{else}> <{img src="bundle/tag_none.gif" class="icon" stat="1"}> <{assign var=used_status value=1}> <{/if}> title="<{$t.tag_abbr}>"<{/if}> class="tag-label" <{if $t.tag_bgcolor}> style="color:<{$t.tag_fgcolor}>;background-color:<{$t.tag_bgcolor}>"<{/if}>> <{$t.tag_name}> <{if $t.rel_count}> (<{$t.rel_count}>)<{/if}>
<{/foreach}>
<{button type="button" app="desktop" icon="add.gif" label=$___desktop="增加新标签"|t:'desktop' onclick="$('new-tag-tmpl').getFirst().clone().inject('tag_setter');"}>
<{img src="bundle/tag_all.gif" class="icon" stat="0"}> <{img src="bundle/delete.gif" class="del-tag lnk" alt=$___desktop="删除"|t:'desktop' onclick="$(this).getParent('.item').dispose()"}>
<{area inject=".mainFoot"}>
<{button label=$___desktop="保存"|t:'desktop' class="btn-primary" onclick="$('tag_from').fireEvent('submit',new Event(event))" }>
<{/area}>