{* * Revision: 16/06/2007 * 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.detailMode)}

{$theme.item.description|markup}

{/if}
{if ($theme.detailMode)} {g->block type="core.ItemInfo" item=$theme.item showDate=true showOwner=true class="giInfo"} {g->block type="core.PhotoSizes" class="giInfo"} {/if}
{if !empty($theme.navigator)}
{g->block type="core.Navigator" navigator=$theme.navigator reverseOrder=true}
{/if}
{if !empty($theme.imageViews)} {capture name="fallback"} {g->text text="Download %s" arg1=$theme.sourceImage.itemTypeName.1} {/capture} {if ($image.viewInline)} {if isset($theme.photoFrame)} {g->container type="imageframe.ImageFrame" frame=$theme.photoFrame} {g->image id="%ID%" item=$theme.item image=$image fallback=$smarty.capture.fallback class="%CLASS%"} {/g->container} {else} {g->image item=$theme.item image=$image fallback=$smarty.capture.fallback} {/if} {else} {$smarty.capture.fallback} {/if} {else} {g->text text="There is nothing to view for this item."} {/if}
{if count($theme.imageViews) > 1} {if !empty($theme.sourceImage)}

text text="width=%d,height=%d" arg1=$theme.sourceImage.width+20 arg2=$theme.sourceImage.height+20}, resizable=yes,scrollbars=yes' );"> {g->text text="View Full Picture"} {if !empty($theme.sourceImage.width)} ({g->text text="%dx%d" arg1=$theme.sourceImage.width arg2=$theme.sourceImage.height}) ({g->text text="Javascript New Window"}) {/if}

{/if} {/if} {* Download link for item in original format *} {if !empty($theme.sourceImage) && $theme.sourceImage.mimeType != $theme.item.mimeType} {/if} {if ($theme.detailMode)} {* Show any other album blocks (comments, exif etc) *} {foreach from=$theme.params.photoBlocks item=block} {g->block type=$block.0 params=$block.1} {/foreach} {/if} {if !empty($theme.navigator)}
{g->block type="core.Navigator" navigator=$theme.navigator reverseOrder=true}
{/if} {g->theme include="displaytoggle.tpl"}