{* * $Revision: 1.11 $ * 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.title|markup}

{if !empty($theme.imageViews)} {capture name="fallback"} {g->text text="Download %s" arg1=$theme.sourceImage.itemTypeName.1} {/capture} {if ($image.viewInline)} {else} {$smarty.capture.fallback} {/if} {else} {g->text text="There is nothing to view for this item."} {/if} {* Navigation image map *} {if $theme.params.enableImageMap} {if isset($theme.navigator.back)} {$theme.item.title|default:$theme.item.pathComponent|markup:strip} {/if} {if isset($theme.navigator.next)} {$theme.item.title|default:$theme.item.pathComponent|markup:strip} {/if} {/if}
{* Navigator *} {if !empty($theme.navigator)} {g->callback type="core.LoadPeers" item=$theme.item windowSize=1} {g->block type="core.Navigator" navigator=$theme.navigator prefix="« " suffix=" »" currentItem=$block.core.LoadPeers.thisPeerIndex totalItems=$block.core.LoadPeers.peerCount} {/if}
{* Description *} {if !empty($theme.item.description) && ($theme.item.description != $theme.item.title)}

{$theme.item.description|markup}

{/if} {* 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 all blocks containing edit links *} {g->block type="core.EmergencyEditItemLink" class="gbBlock" checkPhotoBlocks=true}