[%- pageicon = icons.MUSICMAGIC_MOODS -%] [%- pagetitle = "MUSICMAGIC_MOODS" | string -%] [%- pwd_list = BLOCK -%]/ [% "MUSICMAGIC_MOODS" | string %] [% END -%] [%- IF !ajaxUpdate; PROCESS pageheader.html; END %] [% IF browselist_header %][% browselist_header %][% END %] [% IF browselist_pagebar %]

[% browselist_pagebar %]

[% END %] [% WRAPPER contentcontainer %] [% odd = 1 %] [% FOREACH mood = mood_list.keys %] [% BLOCK controls %] [% itemobj = { url = "mood://${mood}" title = mood }; PROCESS favoritescontrol isFavorite = mood_list.${mood}.isFavorite %] [% WRAPPER playlink %][% IF browserTarget %][% target = browserTarget %][% END %] href="musicmagic_mix.html?player=[% player | uri %]&mood=[% mood %]&p0=play" [% END %] [% WRAPPER addlink noTarget=1 %] href="musicmagic_mix.html?player=[% player | uri %]&mood=[% mood %]&p0=append" [% END %] [% END %] [% WRAPPER contentitem controls='controls' %] [% mood %] [% END %] [% odd = (not odd) %] [% END %] [% END %] [% IF browselist_pagebar %]

[% browselist_pagebar %]

[% END %] [% IF !ajaxUpdate; PROCESS pagefooter.html; END %]