{* * $Revision: 16235 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *}

{g->text text="Upload Complete"}

{if isset($ItemAddConfirmation.count)} {g->text one="Successfully added %d file." many="Successfully added %d files." count=$ItemAddConfirmation.count arg1=$ItemAddConfirmation.count} {else} {g->text text="No files added."} {/if}

{foreach from=$ItemAddConfirmation.status.addedFiles item=entry} {if $entry.exists} {capture name="itemLink"} {$entry.fileName} {/capture} {g->text text="Added %s" arg1=$smarty.capture.itemLink} {else} {g->text text="Failed to add %s" arg1=$entry.fileName} {/if}
{if !empty($entry.warnings)}
{foreach from=$entry.warnings item=warning} {$warning}
{/foreach}
{/if} {/foreach}
{g->text text="Add more files"}