[% BLOCK home_links %] [%# rearrange these as you see fit. this is the layout of the icons on the main home page %] [%# 'INCLUDE year' is not used, but available %]
[% IF not nofolder %] [% INCLUDE music_folder %] [% END %] [% INCLUDE artwork %] [% INCLUDE artist %] [% INCLUDE new_music %] [% INCLUDE random_mix %]
[% INCLUDE albums %] [% INCLUDE ajax_artwork %] [% INCLUDE playlists %] [% INCLUDE genre %] [%# INCLUDE statistics %] [% INCLUDE favorites %]
[% END %] [% pagetitle = "HOME" | string %] [% pageicon = 'MUSIC' %] [% browse = '1' %] [% music = '1' %][% playlist = '0' %] [%- IF browse_radio -%] [%- thispage = 'radio' -%] [%- ELSE -%] [%- thispage = 'home' -%] [%- END -%] [%- IF ajaxRequest -%]

    [% PROCESS ajaxRequest.txt page = thispage %]

[%- ELSE -%] [% PROCESS pageheader.html class = 'custom' thispage = thispage %] [% IF ! extended_browse %]

[% IF browse_radio %] [% "RADIO" | string %] [% ELSE %] [% "BROWSE" | string %] ([% "MORE" | string %]) [% END %] | [% IF browse_radio %] [% INCLUDE tune_in_form %] [% ELSE %] [% END %]

[% IF ! browse_radio %] [% INCLUDE home_links %] [% ELSE %] [% FOREACH key = additionalLinks.radio.keys %] [% UNLESS loop.index % 2 %]
[% END %]
[% IF loop.index % 2 || loop.last %]
| [% key | string %]
[% END %] [% END %] [% END %]

[% ELSE %]

[% "BROWSE" | string %]

[% IF not nosetup %]
[% END %] [% IF additionalLinks.plugins %]
[% END %]

[% END %] [% IF browse_radio %] [% PROCESS pagefooter.html %] [% ELSE %] [% PROCESS pagefooter.html noBuffer = '1' %] [% END %] [%- END -%] [% BLOCK tune_in_form %]
[% 'RADIO_TUNEIN_RADIOURL' | string %] [% END %] [% BLOCK library_stats %] [%# to add back in on a rainy day... %]

[% "ABOUT_SHORT" | string %] | [% "SERVER_SETTINGS" | string %] | [% "PLAYER_SETTINGS" | string %] |
[% IF song_count %]
[% "LIBRARY_CONTAINS" | string %] [% album_count %] [% "WITH" | string %] [% song_count %] [% "BY" | string %] [% artist_count %]. |
[% END %]

[% END %] [% BLOCK link_head %]

[% END %] [% BLOCK link_foot %]
[% title | string %]

[% END %] [% BLOCK statistics %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'STATISTICS' %] [% END %] [% BLOCK favorites %] [% INCLUDE link_head %] [% FOR links IN additionalLinks %][% END %] [% INCLUDE link_foot title = 'FAVORITES' %] [% END %] [% BLOCK genre %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'GENRES' %] [% END %] [% BLOCK playlists %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'PLAYLISTS' %] [% END %] [% BLOCK albums %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'ALBUMS' %] [% END %] [% BLOCK music_folder %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'SETUP_AUDIODIR' %] [% END %] [% BLOCK ajax_artwork %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'ONE_BY_ONE_ARTWORK' %] [% END %] [% BLOCK artwork %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'ARTWORK' %] [% END %] [% BLOCK artist %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'ARTIST' %] [% END %] [% BLOCK new_music %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'BROWSE_NEW_MUSIC' %] [% END %] [% BLOCK random_mix %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'PLUGIN_RANDOM' %] [% END %] [% BLOCK year %] [% INCLUDE link_head %] [% INCLUDE link_foot title = 'BROWSE_BY_YEAR' %] [% END %]