{$album->getName()}
{$album->getDescription()}
.. |
{assign var="counter" value=1}
{assign var=children value=$album->getChildren()}
{foreach from=$children item=childalbum}
{$childalbum->getName()} ({$childalbum->getNumResources()}) {assign var="counter" value="`$counter+1`"} |
{if $counter%4}
{if $resource->hasPreview()}
{**}
{$resource->getFileName()} {else} {if $resource->isSound()} {elseif $resource->isVideo()} {elseif $resource->isZip()} {else} {/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`"} |
{if $counter%4 == 0}
|