{if !empty($app_themes)}
[`Installed themes`]
{foreach $app_themes as $_theme} {$_name = $_theme->getName()} {$_cover_image = $_theme->getCover()} {if empty($_cover_image)} {$_cover_image = "`$wa_url`wa-content/img/design/themes/no-image.png"} {/if} {$_theme_id = $_theme->id} {$_theme_url = "`$design_url`theme=`$_theme_id`"} {$_is_active = in_array($_theme_id, $used_app_themes)}
{$_name|escape}
{if !empty($_is_active)} [`Used`] {else} [`Not used`] {/if}
{/foreach}
{elseif isset($app_themes)}
[`No installed themes.`]
{/if}