{include file="../../../application/admin/view_new/public/head" /}
{if condition="!$cloud_enabled"}
 {:lang('admin/template_market/disabled_tip')}
{/if} {if condition="$cloud_error"}
 {$cloud_error_msg}
{/if}
 {:lang('admin/template_market/risk_banner')}
 {:lang('menu/template')}  {:lang('menu/theme/config')} {:lang('admin/template_market/active_tip')}：{$active_dir|default='-'}

### {:lang('admin/template_market/cloud_section')}

{volist name="items" id="vo"}
{if condition="!empty($vo.preview)"} {else/} {:lang('admin/template_market/no_preview')} {/if}
{$vo.name} {if condition="$vo.active"}{:lang('admin/template_market/status_active')}{/if} {if condition="$vo.installed && !$vo.active"}{:lang('admin/template_market/status_installed')}{/if}
{$vo.dir} · v{$vo.version|default='1.0'}
{$vo.desc|default=''}
{if condition="!empty($vo.tags)"}
{volist name="vo.tags" id="tag"} {$tag} {/volist}
{/if}
{if condition="!$vo.installed"}
{else/} {if condition="!$vo.active"}
{/if}
{/if}
{/volist} {empty name="items"}
{:lang('admin/template_market/empty_catalog')}
{/empty}

### {:lang('admin/template_market/local_section')}

{volist name="local_templates" id="loc"}
{$loc.name} {if condition="$loc.dir eq $active_dir"}{:lang('admin/template_market/status_active')}{/if}
{$loc.dir} {if condition="$loc.version"}· v{$loc.version}{/if}
{if condition="$loc.dir neq $active_dir"}
{/if}
{/volist}
{include file="../../../application/admin/view_new/public/foot" /}