{* * $Revision: 15690 $ * 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} {if !empty($theme.params.sidebarBlocks)} {/if}
{g->theme include="sidebar.tpl"}
{if !empty($theme.item.title)}

{$theme.item.title|markup}

{/if} {if !empty($theme.item.description)}

{$theme.item.description|markup}

{/if}
{g->block type="core.ItemInfo" item=$theme.item showDate=true showOwner=$theme.params.showImageOwner class="giInfo"} {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 !empty($theme.navigator)}
{g->block type="core.Navigator" navigator=$theme.navigator reverseOrder=true}
{/if} {if $theme.pageUrl.view != 'core.ShowItem' && $theme.params.dynamicLinks == 'jumplink'} {/if} {* Download link for item in original format *} {if !empty($theme.sourceImage) && $theme.sourceImage.mimeType != $theme.item.mimeType} {/if} {* Show any other photo blocks (comments, exif etc) *} {foreach from=$theme.params.photoBlocks item=block} {g->block type=$block.0 params=$block.1} {/foreach} {if !empty($theme.navigator)}
{g->block type="core.Navigator" navigator=$theme.navigator reverseOrder=true}
{/if} {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="sidebar,photo"}