">
{: [[s/.wml'/.html'/g]]
<: $CHILD_ALBUM_COLS = 3; :>//
<: $IMAGE_COLS = Get_Opt("columns"); :>//
#
{#HEADER#:<: Meta() :>:##}
#
<: pJoin_Parent_Albums(":"); :>
|
#
#
# |
<: if (isHeader()) { _:>
<:pHeader():>
<: } _:>
#c # Are there more albums below this one?
<: if (Child_Albums()) { _:>
|
More albums:
|
#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) % $CHILD_ALBUM_COLS)) { _:>
<: } :>
#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() % Get_Opt('columns')) && Images_Left()) { _:>
<: } :>
#c # End while images
<: Next_Image() :>
<: } :>
#c # End if images
<: } :>
<: if (isFooter()) { _:>
<:pFooter():>
<: } _:>
:}
:##}{#FOOTER#:
<: Credit() :>