{extend name='admin@main'} {block name="button"} {if auth("add")} 添 加 {/if} {if auth("remove")} 删 除 {/if} {/block} {block name="content"}