#c options: -no_image_pages
#c// ###################################################################
#c// Album Theme created by dkl@tessellated.net
#c// ###################################################################
<: $col_perc = int(100/Option('columns'))."%"; :>//
Album: <: pAlbum_Name() :>
<: Meta() :>
#c # Are there any images? (There might only be Child_Albums!)
<: if (Images()) { $saw_images = 1; _:>
<: } _:>// End if images
<: pJoin_Parent_Albums(":"); :>
|
updated <: print `date` :>
|
<: if (isHeader()) { _:>
<:pHeader():>
<: } _:>
#c # Are there more albums below this one?
<: if (Child_Albums()) { _:>
more:
|
#c # Loop on all the albums
<: while (Child_Albums()) { _:>
<: pChild_Album() :>
|
#c # And start a new row every fourth one
<: if (!((Child_Album_Cnt()+1) % Option('columns'))) { _:>
<: } :>
#c # End album loop
<: Next_Child_Album() :>
<: } :>
#c # End if albums
<: } :>
<: if ($saw_images) { _:>
#c # End if images
<: } :>
<: if (isFooter()) { _:>
<:pFooter():>
<: } _:>
<: Credit() :>