#c// ###################################################################
#c// Album Theme created by shawn@teq.org
#c// ###################################################################
Album: <: pAlbum_Name() :>
<: Meta() :>
<: 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) % 4)) { _:>
<: } :>
#c # End album loop
<: Next_Child_Album() :>
<: } :>
#c # End if albums
<: } :>
#c # Are there any images? (There might only be Child_Albums!)
<: if (Images()) { _:>
#c # Loop on the images
<: while(Images()) { _:>
<: pImage() :>
<: pImage_Caption() :>
|
<: if (!(Image_Cnt() % 4)) { _:>
<: } :>
#c # End while images
<: Next_Image() :>
<: } :>
#c # End if images
<: } :>
<: if (isHeader()) { _:>
<:pHeader():>
<: } _:>
<: Credit() :>