{include file="crumbs.html"}
{$message} {if $allow.install}

<#Install new theme#>:

{if $submit and !$confirm} {* show a confirmation message and button to actually install the specified theme *}
{$url|escape}
 

<#Please confirm theme installation!#>

<#Are you sure you want to install this theme?#> /

<#Themes should only be installed from trusted sources!#>

{if $newtheme.theme_exists}

<#Warning#>: This theme already exists on the local server. If you choose to install this theme it will overwrite the existing theme on your server. This is ok if you're installing a newer version.

{/if}
 
{if $newtheme.image}
No preview available
{/if}
{$newtheme.name|escape} {if $newtheme.parent}(<#parent#>: {$newtheme.parent|escape}){/if}
{$newtheme.title|escape}
{$newtheme.version|escape}
{if $newtheme._author.email} {$newtheme.author|escape} {else} {$newtheme.author|escape} {/if}
{if $newtheme._file.size}{$newtheme._file.size|abbrnum}{else}<#Unknown#>{/if}
{if $newtheme._file.type}{$newtheme._file.type|upper|escape}{else}<#Unknown#>{/if}
{$newtheme.description|escape}
{else} {* Provide input to specify URL to get theme from *}

<#Enter the URL location of the theme.xml for the theme you want to install.#> <#For more information see the #> Theme Documentation

{if $theme_dirs}

<#You can also reinstall a local theme in the list below.#>

<#These themes are already in your themes directory but are not installed in your database.#>

{/if} {/if}
{else} {* Server environment will not allow themes to be installed *}

<#Themes can not be installed!#>

<#Your server environment will not allow new themes to be installed due to the following reasons.#>

    {if !$allow.url}
  • <#allow_url_fopen INI setting is disabled.#> See: php:allow_url_fopen
  • {/if} {if !$allow.write}
  • <#Theme directory {$conf.theme.template_dir|escape} is not writable by web server.#> <#Please fix permissions.#>
  • {/if}
{/if}
{foreach from=$themes item='t'} {include file='themes_row.html' t=$t} {foreach from=$t.children item='c'} {include file='themes_row.html' t=$c child=true} {/foreach} {foreachelse} {/foreach}

<#Preview#>

<#Theme#>

<#Version#>

<#Author#>

<#Controls#>

<#No Themes Installed#>
{* end ps-main-content *}
{* end ps-main *}
{* end ps-page-container *}