{include file="$blogtemplate/header.template"}
{assign var="postDate" value=$album->getTimestamp()}

{$locale->tr("albums")}

{$album->getName()}

{$locale->tr("resources")} ({$album->getNumResources()}) | {$locale->tr("created")} {$locale->formatDate($postDate,"%d %b, %Y")}

{$album->getDescription()}


 
{$locale->tr(

{$locale->tr("parent")}

{assign var=children value=$album->getChildren()} {foreach from=$children item=childalbum}
{$childalbum->getName()}

{$childalbum->getName()} ({$childalbum->getNumResources()})

{/foreach} {foreach from=$resources item=resource}
{if $resource->hasPreview()} {**} {$resource->getDescription()}

{$resource->getFileName()}

{else} {if $resource->isSound()} Sound {elseif $resource->isVideo()} Video {elseif $resource->isZip()} Zip {else} File {/if}

{$resource->getFileName()}

{/if} {assign var=metadata value=$resource->getMetadataReader()}

{$metadata->getRoundedSize()}

{if $resource->isImage()}

{$metadata->getWidth()} x {$metadata->getHeight()}

{elseif $resource->isSound()}

{$metadata->getFormat()|upper} {$metadata->getSampleRate()} bps

{elseif $resource->isVideo()}

{$metadata->getFormat()|upper} {$metadata->getWidth()} x {$metadata->getHeight()}, {$metadata->getLengthString()}

{elseif $resource->isZip()}

{$metadata->getTotalFiles()} {$locale->tr("files")}

{/if}
{/foreach}
 
{pager style="links"}
{include file="$blogtemplate/panel.template"} {include file="$blogtemplate/footer.template"}