{* * $Revision: 1.6 $ * 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="Repository"}

{if !empty($status.error)}

{$status.error} {g->text text="Please make sure that your internet connection is set up properly or try again later."}

{/if} {if !empty($status)}

{if isset($status.indexUpdated)} {g->text text="The repository index has been successfully updated."} {elseif isset($status.noUpgradeAvailable)} {g->text text="All plugins are already up-to-date."} {/if}

{/if}
{if ($AdminRepository.mode == 'commonTasks')} {g->text text="Common Tasks"} {else} {g->text text="Common Tasks"} {/if} {if ($AdminRepository.mode == 'browseModules')} {g->text text="Modules"} {else} {g->text text="Modules"} {/if} {if ($AdminRepository.mode == 'browseThemes')} {g->text text="Themes"} {else} {g->text text="Themes"} {/if}
{if ($AdminRepository.mode == 'commonTasks')}

{g->text text="Warning: Experimental feature!"}

{g->text text="The repository features are currently experimental, and no actual repository has been set up yet, so none of these features will work at this time."}

{g->text text="Update Index"}

{g->text text="The Gallery repository contains the latest modules and themes extensively tested by the Gallery team. The repository index contains information about available plugins, such as the latest versions, available languages and compatibility. The index must be synchronized periodically with the Gallery server so you are informed about any available updates. No personal information is sent to the Gallery server during updating. On slower connections the process might take a minute or two."}

{if isset($indexMetaData)}

{capture assign="updateDate"}{g->date style="datetime" timestamp=$indexMetaData.timestamp}{/capture} {g->text text="As of the last update on %s, the repository contains %s modules and %s themes. Its contents can be viewed on the Modules and Themes tabs." arg1=$updateDate arg2=$indexMetaData.moduleCount arg3=$indexMetaData.themeCount}

{else}

{g->text text="The index has never been updated. Click on the Update button to see what updates are available."}

{/if}
{if isset($indexMetaData)} {if $coreUpgradeAvailable}

{g->text text="Upgrade Gallery"}

{g->text text="A new version of Gallery is available, but it cannot be upgraded through this interface. Upgrading it might make some of your current plugins stop working, but others that rely on the features of the new version may become available. Here are the recommended steps for upgrading:"}

  1. {g->text text="Review plugin compatibility (on the Themes and Modules tabs)"}
  2. {g->text text="%sDownload%s Gallery core" arg1="" arg2=""}
  3. {g->text text="Read the %supgrade instructions%s and perform the upgrade" arg1="" arg2=""}

{else}

{g->text text="Gallery Up-To-Date"}

{g->text text="Gallery cannot be upgraded through this interface. When a new version becomes available, upgrade instructions will be presented here."}

{/if}

{g->text text="Upgrade All Plugins"}

{g->text text="Gallery can automatically upgrade your themes and modules to the latest available versions. No new plugins will be downloaded."}

{/if} {/if} {if ($AdminRepository.mode == 'browseThemes' || $AdminRepository.mode == 'browseModules')}
{if !isset($browseData)}

{g->text text="Once the repository index has been downloaded, a list of available plugins will be presented. It can be downloaded by clicking on the Update button on the Common Tasks tab."}

{else}

{g->text text="The following plugins are available. Click on the action beside the plugin you're interested in to see what's available in the repository."} {if $coreUpgradeAvailable} {if $showIncompatible} {g->text text="Incompatible plugins are marked with an exclamation icon."} {else} {capture name="listLink"}{/capture} {g->text text="A new core module version is available. There may be plugins that are incompatible with the installed core module, which are not shown here. You can view a %scomplete list%s of plugins, including incompatible ones, which are marked with a red icon." arg1=$smarty.capture.listLink arg2=""} {/if} {/if}

{assign var="group" value=""} {foreach from=$browseData key=pluginId item=plugin} {if $group != $plugin.groupLabel} {if !empty($group)} {/if} {if $plugin.type == 'themes'} {else} {/if} {/if} {assign var="group" value=$plugin.groupLabel} {/foreach}
 

{$plugin.groupLabel}

  {g->text text="Theme Name"} {g->text text="Module Name"} {g->text text="Latest"} {g->text text="Installed"} {g->text text="Description"} {g->text text="Actions"}
{if !$plugin.isCompatible} {g->text text= {/if} {$plugin.name} {$plugin.repositoryVersion} {$plugin.localVersion} {$plugin.description} {if !$plugin.isCompatible}
{g->text text="Incompatible plugin!"} {if $plugin.api.required.core != $plugin.api.provided.core}
{g->text text="Core API Required: %s (available: %s)" arg1=$plugin.api.required.core arg2=$plugin.api.provided.core} {/if} {if $plugin.api.required.plugin != $plugin.api.provided.plugin}
{g->text text="Plugin API Required: %s (available: %s)" arg1=$plugin.api.required.plugin arg2=$plugin.api.provided.plugin} {/if}
{/if}
{if !empty($plugin.action) && $plugin.isCompatible} {strip} {$plugin.action} {/strip} {else}   {/if}
{/if}
{/if}