{extend name="common/base"/} {block name="style"} {/block} {block name="body"}
{$stats.total}
模板总数
{$stats.available}
可启用
{$stats.error}
不可用
{$cmsVersion}
当前 CMS 版本
模板目录:templates/,当前启用:{$current}。启用时会自动发布模板静态资源到 /skin/<模板名>/,切换后请刷新前台页面。
模板列表 点击「启用」切换前台模板
{volist name="templates" id="tpl"}
{if $tpl.name == $current} {elseif $tpl.error != '' /} {else /} {/if} {$tpl.name} {if $tpl.name == $current}使用中{/if}

{if $tpl.typeTitle != ''}[{$tpl.typeTitle}] {/if}{$tpl.title}

{if $tpl.name == $current} 当前启用 {elseif $tpl.error != '' /} 不可用 {/if}

{$tpl.description|default='暂无模板说明'}

模板版本:
{$tpl.version|default='未提供'}
最低CMS版本:
{$tpl.minCmsVersion|default='不限'}
作者:
{$tpl.author|default='未提供'}
作者网址:
{notempty name="tpl.authorUrl"}{$tpl.authorUrl}{else/}未提供{/notempty}
{if $tpl.error != ''}
{$tpl.error}
{/if}
{if $tpl.name == $current} 正在使用 {elseif $tpl.error != '' /} 无法启用 {else /} 可切换到该模板 {/if}
{/volist}
{empty name="templates"}

templates 目录下暂无模板

{/empty}
{/block} {block name="script"} {/block}