{* * $Revision: 15342 $ * 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. *} {**} {literal} {/literal} {assign var="firstItem" value=true} {if !count($theme.children)} {else} {* !count($theme.children) *} {foreach from=$theme.children item=child} {if !$child.canContainChildren} {if $firstItem} {assign var="firstItem" value=false}
{if !($user.isRegisteredUser)} {* alternate link code for Lightbox JS *} {*end alternate link code for Lightbox JS *} {else} {/if} {if isset($child.thumbnail)} {g->image item=$child image=$child.thumbnail} {else} {g->text text="no thumbnail"} {/if}

{$child.keywords|markup}

{$theme.item.title|markup}

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

{$theme.item.description|markup}

{/if}
{* class="gallery-albums" *}
{/if} {/if} {* Navigator *} {if $theme.totalPages > 1} {g->block type="core.Navigator" navigator=$theme.navigator prefix="« " suffix=" »" currentPage=$theme.currentPage totalPages=$theme.totalPages} {/if} {if $user.isRegisteredUser} {* 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 removes all blocks containing edit links *} {g->block type="core.EmergencyEditItemLink" class="gbBlock" checkBlocks="album"} {/if}