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

{$theme.item.title|markup}

*} {assign var="firstItem" value=true} {* Description *} {if !empty($theme.item.description)}

{$theme.item.description|markup}

{/if} {if !count($theme.children)} {else} {assign var="firstAlbum" value=true} {* Ponemos un valor raro para que no coincida con el caso en que no hay nada en el campo keyword *} {assign var="currentKeywords" value="-----------------"} {* *} {foreach from=$theme.children item=child} {if $child.canContainChildren} {* Keywords separator *} {capture name=keywords}{$child.keywords}{/capture} {if $smarty.capture.keywords != $currentKeywords} {if !$firstAlbum} {* class="gallery-album" *} {* class="gallery-albums" *}
{/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}