{* * $Revision: 1.25 $ * 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="Link an Item"}

{if isset($status.linked)}

{g->text one="Successfully linked %d item" many="Successfully linked %d items" count=$status.linked.count arg1=$status.linked.count}

{/if}
{if empty($ItemCreateLink.peers)}

{g->text text="This album contains no items to link."}

{else}

{g->text text="Source"}

{g->text text="Choose the items you want to link"} {if ($ItemCreateLink.numPages > 1) } {g->text text="(page %d of %d)" arg1=$ItemCreateLink.page arg2=$ItemCreateLink.numPages} {/if}

{if !empty($form.error.sources.empty)}

{g->text text="No sources chosen"}

{/if} {foreach from=$ItemCreateLink.peers item=peer} {/foreach}
{if isset($peer.thumbnail)} {g->image item=$peer image=$peer.thumbnail maxSize=50 class="giThumbnail"} {else}   {/if}
{if ($ItemCreateLink.page > 1)} {/if} {if ($ItemCreateLink.page < $ItemCreateLink.numPages)} {/if}

{g->text text="Destination"}

{g->text text="Choose a new album for the link"}

{if !empty($form.error.destination.empty)}
{g->text text="No destination chosen"}
{/if}
{foreach from=$ItemCreateLink.selectedIds item=selectedId} {/foreach} {if $ItemCreateLink.canCancel} {/if} {/if}