{* * $Revision: 1.32 $ * 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="Delete Items"}

{if (isset($status.deleted))}
{if ($status.deleted.count == 0)}

{g->text text="No items were selected for deletion"} {else}

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

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

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

{else}

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

{foreach from=$ItemDelete.peers item=peer} {/foreach}
{if isset($peer.thumbnail)} {g->image item=$peer image=$peer.thumbnail maxSize=50 class="giThumbnail"} {else}   {/if} {if isset($ItemDelete.peerTypes.data[$peer.id])} {g->text text="(data)"} {/if} {if isset($ItemDelete.peerTypes.album[$peer.id])} {if isset($ItemDelete.peerDescendentCounts[$peer.id])} {g->text one="(album containing %d item)" many="(album containing %d items)" count=$ItemDelete.peerDescendentCounts[$peer.id] arg1=$ItemDelete.peerDescendentCounts[$peer.id]} {else} {g->text text="(empty album)"} {/if} {/if}
{foreach from=$ItemDelete.selectedIds item=selectedId} {/foreach}
{if ($ItemDelete.page > 1)} {/if} {if ($ItemDelete.page < $ItemDelete.numPages)} {/if}
{if $ItemDelete.canCancel} {/if} {/if}