[%- BLOCK l365control -%] [% IF stationmode %][% WRAPPER playlink %]href="action.html?action=play&mode=[% mode %]&current=[% current %]&id=[% stationid %]&player=[% player | uri %]" target="status"[% END %] [% ELSE %] [% WRAPPER descendlink %]href="index.html?genreID=[% genre.key | uri %]&player=[% player | uri %]"[% END %] [% END %] [% IF stationmode %][% WRAPPER addlink %]href="action.html?action=add&mode=[% mode %]&current=[% current %]&id=[% stationid %]&player=[% player | uri %]" target="status"[% END %] [% END %] [%- END %] [%- WRAPPER contentitem controls = 'l365control' %] [% IF genremode %][% genrename | html %] [% ELSIF stationmode %][% stationname %] - [% connection %]k - [% IF access == "PRIVATE" %] (PRIVATE) [% ELSE %] ([% listeners %]/[% maxlisteners %]) [% END %] [% END %] [%- END %] [%- odd = (not odd) %] [% IF extrainfo %] [%- WRAPPER contentitem %] [% extrainfo %] [% END %] [% END %]