[%- pagetitle = browseby | string -%]
[%- WRAPPER leftside.html -%]
[%- IF pageinfo.totalpages > 1 && pageinfo.totalalphapages != 1 %]
[%- FILTER indent(2) %]
[%- PROCESS pagebar pagebarid = 'topbrowselistpagebar' %]
[%- END %]
[%- END %]
[%- IF coverArt %]
[%- END %]
[%- IF browseby == 'BROWSE_BY_ARTWORK' and level == 0;
contentwrapper = 'galleryitem';
ELSE;
contentwrapper = 'contentitem';
END;
%]
[%- WRAPPER contentcontainer listid = 'browselist' %]
[%- IF browse_items %]
[%- FOREACH item = browse_items %]
[%- WRAPPER $contentwrapper
lineclass = 'browseline'
controls = 'browsecontrols'
itemobj = item.itemobj
attributes = item.attributes
mixerlinks = item.mixerlinks
odd = item.odd %]
[%- PROCESS iteminfo IF contentwrapper == 'contentitem' -%]
[%- END %][%# end contentitem wrapper %]
[%- END %][%# end for browse_items %]
[%- ELSE %][%# no browse_items %]
[% "EMPTY" | string %]
[%- END %][%# end if browse_items %]
[%- END %][%# end contentcontainer wrapper %]
[%- IF pageinfo.totalpages > 1 && pageinfo.totalalphapages != 1 %]
[%- FILTER indent(2) %]
[%- PROCESS pagebar pagebarid = 'bottombrowselistpagebar' %]
[%- END %]
[%- END %]
[%- END -%]