{* * $Revision: 15975 $ * 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. *}
{if !empty($theme.imageViews)} {assign var="image" value=$theme.imageViews[$theme.imageViewsIndex]} {/if} {*{$theme.item.description|markup}
{/if} {if $user.isRegisteredUser} {* Download *} {if !empty($theme.sourceImage) && (count($theme.imageViews) > 1 || $theme.sourceImage.mimeType != $theme.item.mimeType)}{if $theme.sourceImage.mimeType != $theme.item.mimeType} {g->text text="Download %s in original format" arg1=$theme.sourceImage.itemTypeName.1} {else} {g->text text="Download %s" arg1=$theme.sourceImage.itemTypeName.1} {/if} {if !empty($theme.sourceImage.width)} {g->text text="(%dx%d)" arg1=$theme.sourceImage.width arg2=$theme.sourceImage.height} {/if}
{/if} {* Show any other album blocks (comments, exif etc) *} {foreach from=$theme.params.photoBlocks item=block} {g->block type=$block.0 params=$block.1} {/foreach} {* Guest preview mode *} {g->block type="core.GuestPreview" class="gbBlock"} {* Our emergency edit link, if the user removes all blocks containing edit links *} {g->block type="core.EmergencyEditItemLink" class="gbBlock" checkBlocks="photo"} {/if}