<{include file="admin/theme/tmpl/pagehead.html"}>
<{button type="button" label="添加新页面" icon="btn_add.gif" app="desktop" id="add_newpage"}>
<{button type="button" label=$___site="清除模板缓存"|t:'site' class="btn-primary" id="clean_cache"}>

<{t}>页面类型<{/t}> | <{t}>文件名<{/t}> | <{t}>设置默认<{/t}><{help}> 什么是默认页面? 当一个页面有多个模板文件时，我们的系统在输出时会用默认页面进行渲染。 <{/help}> | <{t}>操作<{/t}>
--- | --- | --- | ---
<{if $list}> <{assign var=index value=0}> <{foreach from=$types item=titem key=basename name="tmpl_type"}> <{if $list.$basename}> <{assign var=index value=$index+1}> <{foreach from=$list.$basename item=item key=key name=_list}> class="odd"<{/if}>> <{if $env.foreach._list.first}> | <{$titem}> <{/if}> | <{$item.tmpl_path}> style="display:none;"<{/if}>>(默认) | 设为默认 | <{img app='desktop' src="bundle/page_edit.gif"}> <{t}>可视化编辑<{/t}> <{img app='desktop' src="bundle/page_script.gif"}> <{t}>源码编辑<{/t}> <{img app='desktop' src="bundle/page_new.gif"}> <{t}>添加相似<{/t}> <{if $item.tmpl_name != 'default.html'}> <{img app='desktop' src='bundle/delete.gif'}> <{t}>删除<{/t}> <{/if}> <{/foreach}> <{/if}> <{/foreach}> <{/if}>