{* * $Revision: 15342 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}

{g->text text="Download %s" arg1=$AdminRepositoryDownload.pluginName}

{if isset($form.error)}

{if isset($form.error.nothingSelected)} {g->text text="No packages have been selected."} {/if}

{/if}

{g->text text="Download a package in order to use this plugin. You can upgrade by choosing a newer version of the package to download. Language packages are optional, You only need to download the ones that you want to use on your site."}

{g->text text="Base Packages"}

{foreach from=$AdminRepositoryDownload.upgradeData item=item}

{if $item.base.relation == "older"} {g->text text="%s: version %s (build %s)" arg1="`$item.repositoryName`" arg2=$item.base.newVersion arg3=$item.base.newBuild} {elseif $item.base.relation == "newer"} {g->text text="%s: version %s (build %s) %sdowngrading is not supported!%s" arg1="`$item.repositoryName`" arg2=$item.base.newVersion arg3=$item.base.newBuild arg4="" arg5=""} {else} {g->text text="%sCurrently Installed%s: version %s (build %s)" arg1="" arg2="" arg3=$item.base.newVersion arg4=$item.base.newBuild} {assign var="currentlyInstalled" value=$item.repository} {/if}

{/foreach}

{g->text text="Language Packages"}

{foreach from=$AdminRepositoryDownload.upgradeData item=item}

{if !empty($item.languages)} {g->text text="(%sselect all%s%sselect none%s)" arg1="" arg2="" arg3="" arg4=""} {foreach from=$item.languages key=code item=pack}
{counter assign="langId"} {capture assign="label"} {assign var="checked" value=""} {/capture} {$label} {/foreach} {else} {* !empty($item.languages) *} {g->text text="No compatible language packages available"} {/if}

{/foreach} {if !isset($currentlyInstalled)}
{g->text text="You must select a base package before choosing language packs."}
{/if}