{extend name='main'} {block name="button"} {if auth("add_msg")}
{/if} {/block} {block name="content"}

{notempty name='list'}
ID | 标题 | 语言 | 更新时间 | 最后编辑 {if auth("edit_home_msg")} | 操作 {/if}
--- | --- | --- | --- | --- | ---
{/notempty}
{foreach $list as $key=>$vo}
{$vo.id} | {$vo.title} | {$vo.lang} | {$vo.addtime|format_datetime} | {$vo.author} | {if auth("edit_home_msg")} 编辑 {/if}
{/foreach}

{/block}