{* ------------------ artistlist.tpl ------------------ Dynamic smarty template intended to be used on any page with a list of artists. @param array items Array of artists ((artist, streamable, image, artistlibraryurl, artisturl, tagged, tag, freq, time) .. ) @param string class Additional CSS table classes @param bool thead Show table header @param bool fstream Show streamable field, used by $i.streamable @param bool fimage Show image field, used by $i.image @param bool ftag Show tag field, used by $i.tag @param bool fbutton Show button field, used by button if list is owned by user @param bool fcount Show count field, used by $i.freq) @param boot ftime Show timestamp field, used by $i.time) @param string type Type of list, 'tagged' (used to show correct button) *} {if $thead} {if $fstream} {/if} {if $fimage} {/if} {if $ftag} {/if} {if $fbutton} {/if} {if $fcount} {/if} {if $ftime} {/if} {/if} {foreach from=$items item=i} {if $fstream} {if $i.streamable} {else} {/if} {/if} {if $fimage} {/if} {else} {$i.artist} {/if} {if $ftag} {if $i.tagged} {else} {/if} {/if} {if $fbutton} {/if} {if $fcount} {/if} {if $ftime} {/if} {/foreach}
TitlePlays
[ Artist Image ] {if $i.artistlibraryurl} {$i.artist} {if $page->ownedbyme} {if $type == 'tagged'}
{/if} {/if}
{$i.freq} {$i.time}