{* ICON *} {if $item_type eq 'app'} {else}   {/if} {* PRODUCT NAME *} {if $item_type eq 'plugin' || $item_type eq 'theme' } {* theme or plugin *} {if !empty($item.icons) && false} {else} {/if} {if $item_type eq 'plugin'} {sprintf('[`Plugin "%s"`]',{$item.name|default:$item_id|escape})} {elseif $item_type eq 'theme' } {sprintf('[`Theme "%s"`]',{$item.name|default:$item_id|escape})} {else} {$item.name|default:$item_id|escape} {/if} {else} {* apps and system plugins *} {if $item_type eq 'systemplugin'} {sprintf('[`Plugin "%s"`]',{$item.name|default:$item_id|escape})} {else} {$item.name|default:$item_id|escape} {/if} {/if} {if !empty($item.vendor_name)} {$item.vendor_name|escape} {/if} {* UPDATE INFO & CHANGELOG *} {if $item.version} {$item.version} {/if} {if $item.installed.version} {$item.installed.version|string_format:'[`Your current version is %s.`]'} {/if} {* changelog text *} {if !empty($item.changelog)}
{foreach $item.changelog as $record} {$record.content|nl2br} {if !$record@last}

{/if} {if $record@first && !$record@last} [`more`] {/if} {if !$record@first && $record@last} {/if} {/foreach}
{/if} {* UPDATE BUTTON *} {if $item.applicable} {if !empty($item.commercial) && empty($item.purchased)} {* not allowed to install the app, i.e. expired *} {if $item_type eq 'app'} {$link="apps/`$item.id`"} {elseif $item_type eq 'theme'} {$link="themes/`$item.id`"} {elseif $item_type eq 'plugin'} {$link="plugins/`$item.app`/`$item.id`"} {/if} {if !empty($item.domains) && count($item.domains)>1}

{sprintf('[`To get the update, you need to have separate %s app license for every individual domain the app is used on: %s`]', $item.name,implode(', ',(array)$item.domains))}

{else} {if !empty($item.domains)}{$_domain=reset($item.domains)}{else}{$_domain=$domain}{/if}

{sprintf('[`License for this app is either expired or not valid for this domain (%s)`]',$_domain)}

{/if} {else} {/if} {/if} {include file="../../includes/requirements.html" inline}