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

{if isset($status.moved)}

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

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

{g->text text="There was a problem processing your request."}

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

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

{else}

{g->text text="Source"}

{g->text text="Choose the items you want to move"} {if ($ItemMove.numPages > 1) } {g->text text="(page %d of %d)" arg1=$ItemMove.page arg2=$ItemMove.numPages}
{g->text text="Items selected here will remain selected when moving between pages."} {if !empty($ItemMove.selectedIds)}
{g->text one="One item selected on other pages." many="%d items selected on other pages." count=$ItemMove.selectedIdCount arg1=$ItemMove.selectedIdCount} {/if} {/if}

{foreach from=$ItemMove.peers item=peer} {assign var="peerItemId" value=$peer.id} {/foreach}
{if isset($peer.thumbnail)} {g->image item=$peer image=$peer.thumbnail maxSize=50 class="giThumbnail"} {else}   {/if} {if isset($ItemMove.peerTypes.data.$peerItemId)} {g->text text="(data)"} {/if} {if isset($ItemMove.peerTypes.album.$peerItemId)} {if isset($ItemMove.peerDescendentCounts.$peerItemId)} {g->text one="(album containing %d item)" many="(album containing %d items)" count=$ItemMove.peerDescendentCounts.$peerItemId arg1=$ItemMove.peerDescendentCounts.$peerItemId} {else} {g->text text="(empty album)"} {/if} {/if} {if !empty($form.error.source.$peerItemId.permission.delete)}
{g->text text="You are not allowed to move this item away from here."}
{/if} {if !empty($form.error.source.$peerItemId.permission.addAlbumItem)}
{g->text text="You are not allowed to move an album to the chosen destination."}
{/if} {if !empty($form.error.source.$peerItemId.permission.addDataItem)}
{g->text text="You are not allowed to move an item to the chosen destination."}
{/if} {if !empty($form.error.source.$peerItemId.selfMove)}
{g->text text="You cannot move an album into its own subtree."}
{/if}
{if ($ItemMove.page > 1)} {/if} {if ($ItemMove.page < $ItemMove.numPages)} {/if}

{g->text text="Destination"}

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

{if !empty($form.error.destination.permission)}
{g->text text="You don't have the permission to add items in this album"}
{/if} {if !empty($form.error.destination.empty)}
{g->text text="No destination chosen"}
{/if}
{foreach from=$ItemMove.selectedIds item=selectedId} {/foreach} {if $ItemMove.canCancel} {/if} {/if}