{* * $Revision: 1.13 $ * 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. *}
{g->text text={g->text text={g->text text=
{g->text text={g->text text={g->text text=
{g->text text={g->text text=
{$theme.item.title|markup}
{$theme.item.description|markup}
{g->block type="core.ItemInfo" item=$theme.item showSummaries=false showDate=$theme.params.showAlbumDate showSize=$theme.params.showSize showViewCount=$theme.params.showViewCount showOwner=$theme.params.showAlbumOwner class="giInfo"}
{foreach name="hybrid" from=$theme.children key=i item=it} {if ($i % $theme.params.columns == 0)}{/if} {if (($i+1) % $theme.params.columns == 0)} {elseif $smarty.foreach.hybrid.last} {assign var="i" value=$i%$theme.params.columns} {assign var="i" value=$theme.params.columns-$i-1} {""|repeat:$i} {/if} {/foreach} {if $theme.totalPages > 1} {/if}
{capture name="thumbTitle"}{strip} {if $theme.params.thumbTitle == 'title'} {$it.title|markup:strip} {elseif $theme.params.thumbTitle == 'date'} {g->date timestamp=$it.originationTimestamp} {elseif $theme.params.thumbTitle == 'datetime'} {g->date timestamp=$it.originationTimestamp style="datetime"} {elseif $theme.params.thumbTitle == 'titledate'} {$it.title|markup:strip} ({g->date timestamp=$it.originationTimestamp}) {elseif $theme.params.thumbTitle == 'titledatetime'} {$it.title|markup:strip} ({g->date timestamp=$it.originationTimestamp style="datetime"}) {/if} {/strip}{/capture} {if isset($it.image)} {if isset($it.renderItem)} {else} {/if} {capture name="link"} {/capture} {if isset($it.thumbnail) && isset($theme.params.itemFrame)} {g->container type="imageframe.ImageFrame" frame=$theme.params.itemFrame width=$it.thumbnail.width height=$it.thumbnail.height} {$smarty.capture.link} {g->image item=$it image=$it.thumbnail id="%ID%" class="%CLASS% giThumbnail" title=$smarty.capture.thumbTitle} {/g->container} {else} {$smarty.capture.link} {if isset($it.thumbnail)} {g->image item=$it image=$it.thumbnail class="giThumbnail" title=$smarty.capture.thumbTitle} {else} {g->text text="no thumbnail"} {/if} {/if} {elseif ($it.canContainChildren || $it.entityType == 'GalleryLinkItem')} {capture name="link"} {/capture} {if isset($it.thumbnail) && isset($theme.params.albumFrame)} {g->container type="imageframe.ImageFrame" frame=$theme.params.albumFrame width=$it.thumbnail.width height=$it.thumbnail.height} {$smarty.capture.link} {g->image item=$it image=$it.thumbnail id="%ID%" class="%CLASS% giThumbnail" title=$smarty.capture.thumbTitle} {/g->container} {else} {$smarty.capture.link} {if isset($it.thumbnail)} {g->image item=$it image=$it.thumbnail class="giThumbnail" title=$smarty.capture.thumbTitle} {else} {g->text text="no thumbnail"} {/if} {/if} {else} {if isset($it.thumbnail)} {g->image item=$it image=$it.thumbnail class="giThumbnail" title=$smarty.capture.thumbTitle} {else} {g->text text="no thumbnail"} {/if} {/if} {if $theme.params.showText}
{/if} {if isset($it.image) || isset($it.itemLinks)} {g->text text= {if $theme.params.showText}
{if isset($it.summary)}{$it.summary|markup}{/if} {if $it.canContainChildren}{assign var="showOwner" value=$theme.params.showAlbumOwner} {else}{assign var="showOwner" value=$theme.params.showImageOwner}{/if} {if $it.canContainChildren}{assign var="showDate" value=$theme.params.showAlbumDate} {else}{assign var="showDate" value=$theme.params.showImageDate}{/if} {g->block type="core.ItemInfo" item=$it class="giInfo" showSummaries=true showDate=$showDate showSize=$theme.params.showSize showViewCount=$theme.params.showViewCount showOwner=$showOwner} {/if} {if isset($it.image)} {/if} {if $theme.params.showText}
{/if} {if isset($it.itemLinks)} {/if}
{g->block type="core.Pager" class="gbBlock gcBackground1"}
{* Show any other album blocks *} {foreach from=$theme.params.albumBlocks item=block} {g->block type=$block.0 params=$block.1 class="gbBlock"} {/foreach}