{* * $Revision: 1.8 $ * 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. *}

{$theme.item.title|markup}

{if !count($theme.children)} {else} {assign var="firstAlbum" value=true} {assign var="currentYear" value=""} {foreach from=$theme.children item=child} {if $child.canContainChildren} {if $firstAlbum} {/if} {assign var="firstItem" value=true} {foreach from=$theme.children item=child} {if !$child.canContainChildren} {if $firstItem} {/if} {/if} {* Navigator *} {if $theme.totalPages > 1} {g->block type="core.Navigator" navigator=$theme.navigator prefix="« " suffix=" »" currentPage=$theme.currentPage totalPages=$theme.totalPages} {/if} {* Description *} {if !empty($theme.item.description)}

{$theme.item.description|markup}

{/if} {* Show any other album blocks (comments, etc) *} {foreach from=$theme.params.albumBlocks item=block} {g->block type=$block.0 params=$block.1} {/foreach} {* System Links only on the root page *} {if empty($theme.parents)} {/if} {* 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" checkAlbumBlocks=true}