{* ------------------ 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} {if $fimage} | {/if} | Title | {if $ftag}{/if} {if $fbutton} | {/if} {if $fcount} | Plays | {/if} {if $ftime}{/if} | ||
---|---|---|---|---|---|---|---|---|
{else} | {/if} {/if} {if $fimage} | {/if} | {if $i.artistlibraryurl} {$i.artist} | {else} {$i.artist} {/if} {if $ftag} {if $i.tagged}{else} | {/if} {/if} {if $fbutton} | {if $page->ownedbyme} {if $type == 'tagged'} {/if} {/if} | {/if} {if $fcount}{$i.freq} | {/if} {if $ftime}{$i.time} | {/if}