|
|
{if (isset($links) || isset($theme.itemLinks))}
{if !isset($links)}{assign var="links" value=$theme.itemLinks}{/if}
{foreach from=$links item=itemLink}
{if $itemLink.moduleId == "slideshow"}
|
{elseif $itemLink.moduleId == "comment"}
{if $itemLink.params.view == "comment.ShowAllComments"}
|
{/if}
{/if}
{/foreach}
{/if}
{if $theme.params.navigatorPhotoTop}
|
{g->theme include="navigator.tpl"}
|
|
{/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
width=$image.width height=$image.height}
{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 $theme.params.showMicroThumbs}
{g->theme include="navigatorMicroThumbs.tpl"}
{/if}
{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"}
{* Show the photo blocks chosen for this theme *}
{foreach from=$theme.params.photoUpperBlocks item=block}
{g->block type=$block.0 params=$block.1}
{/foreach}
|
{if $theme.params.navigatorPhotoBottom}
|
{g->theme include="navigator.tpl"}
|
|
{/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, etc) *}
{foreach from=$theme.params.photoBlocks item=block}
{if !$theme.params.photoProperties || $block.0 != 'exif.ExifInfo'}
{g->block type=$block.0 params=$block.1}
{/if}
{/foreach}
{* Our emergency edit link, if the user removes all blocks containing edit links *}
{g->block type="core.EmergencyEditItemLink" class="gbBlock"
checkBlocks="sidebar,photo,photoUpper"}