[% 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 %][% END %] [% END %] [% END %]
[% ELSE %]
[% "BROWSE" | string %]
[% "BROWSE_MUSIC" | string | upper %]
[% "HELP" | string | upper %]
[% "RADIO" | string | upper %]
[% IF not nosetup %]
[% "SETTINGS" | string | upper %]
[% END %] [% IF additionalLinks.plugins %]
[% "PLUGINS" | string | upper %]
[% 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... %] [% IF song_count %] [% END %]
[% "ABOUT_SHORT" | string %] |  [% "SERVER_SETTINGS" | string %] |  [% "PLAYER_SETTINGS" | string %]
[% "LIBRARY_CONTAINS" | string %] [% album_count %] [% "WITH" | string %] [% song_count %] [% "BY" | string %] [% artist_count %].
[% END %] [% BLOCK link_head %]
[% END %] [% BLOCK link_foot %]
[% END %] [% BLOCK statistics %] [% INCLUDE link_head %] stats [% INCLUDE link_foot title = 'STATISTICS' %] [% END %] [% BLOCK favorites %] [% INCLUDE link_head %] [% FOR links IN additionalLinks %][% END %] favorites [% INCLUDE link_foot title = 'FAVORITES' %] [% END %] [% BLOCK genre %] [% INCLUDE link_head %] genre [% INCLUDE link_foot title = 'GENRES' %] [% END %] [% BLOCK playlists %] [% INCLUDE link_head %] playlist [% INCLUDE link_foot title = 'PLAYLISTS' %] [% END %] [% BLOCK albums %] [% INCLUDE link_head %] album [% INCLUDE link_foot title = 'ALBUMS' %] [% END %] [% BLOCK music_folder %] [% INCLUDE link_head %] music folder [% INCLUDE link_foot title = 'SETUP_AUDIODIR' %] [% END %] [% BLOCK ajax_artwork %] [% INCLUDE link_head %] artwork [% INCLUDE link_foot title = 'ONE_BY_ONE_ARTWORK' %] [% END %] [% BLOCK artwork %] [% INCLUDE link_head %] artwork [% INCLUDE link_foot title = 'ARTWORK' %] [% END %] [% BLOCK artist %] [% INCLUDE link_head %] artist [% INCLUDE link_foot title = 'ARTIST' %] [% END %] [% BLOCK new_music %] [% INCLUDE link_head %] new [% INCLUDE link_foot title = 'BROWSE_NEW_MUSIC' %] [% END %] [% BLOCK random_mix %] [% INCLUDE link_head %] random [% INCLUDE link_foot title = 'PLUGIN_RANDOM' %] [% END %] [% BLOCK year %] [% INCLUDE link_head %] by year [% INCLUDE link_foot title = 'BROWSE_BY_YEAR' %] [% END %]