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

{$album->getName()}

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

{$album->getDescription()}


{assign var="counter" value=1} {assign var=children value=$album->getChildren()} {foreach from=$children item=childalbum}
Folder
{$childalbum->getName()} ({$childalbum->getNumResources()})
{assign var="counter" value="`$counter+1`"}
{/foreach} {assign var=resources value=$album->getResources()} {foreach from=$resources item=resource}
{if $resource->hasPreview()} {$resource->getDescription()}
{$resource->getFileName()}
{else} {if $resource->isSound()} Audio {elseif $resource->isVideo()} Video {elseif $resource->isZip()} Compressed {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} {assign var="counter" value="`$counter+1`"}
{/foreach}
{if #auth# == 1} {include file="$blogtemplate/panel_simp.template"} {else} {include file="$blogtemplate/panel_simp.template"} {/if} {include file="$blogtemplate/footer.template"}