[%- FILTER null %] [%- optionForm = BLOCK -%]
[%- END -%] [%- BLOCK addBrowseLinks -%] [%- IF links -%] [%- FOREACH item = order %] [% item | getstring | html %] [%- END -%] [%- FOREACH link = links; IF !order.grep(link.key).size %] [% link.key | getstring | html %] [%- END; END -%] [%- END -%] [%- END -%] [% BLOCK addCaseLinks -%] [%- IF links -%] [%- FOREACH link = links -%] [% IF link.key == "SQUEEZENETWORK_SWITCH" %][% cookie = 0 %][% END %] case "[% link.key %]": url = "[% link.value %]" [% IF cookie %]homestring = "[% link.key | getstring %]" cookie = [% cookie %][% END %] break [%- END -%] [%- END -%] [%- END %] [%- END -%] [%- IF ajaxRequest -%]

    [% PROCESS ajaxHome.txt %]

[%- ELSIF optionOnly -%] [% optionForm %] [%- ELSE -%] [% IF page != 'help' %] [% search = '0' %][% browse = '1' %][% music = '0' %][% home = '1' %][% playlist = '0' %] [% ELSE %] [% pagetitle = "HELP" | string %] [% END %] [% IF page != 'help' %] [% pageHeaderScripts = BLOCK %]
[% END %] [% IF warn %] [% bodyscript = 'onload="doLoad(1);loadBrowser(1);"' %] [% ELSE %] [% bodyscript = 'onload="loadBrowser(1);"' %] [% END %] [% END %] [%- PROCESS pageheader.html %] [% IF page == 'help' %]

[% IF additionalLinks.help %] [% FOREACH link = additionalLinks.help %]
- [% link.key | string %]
[% END %]
- Fishbone Skin style changes
[% END %]

[% ELSE %]
[% "RESCANNING_SHORT" | string %] [% IF progress.obj.total %][% progress.name _ "_PROGRESS" | string %][% END %] ([% IF progress.obj.total %][% progress.obj.done %][% END %] [% "OF" | string %] [% IF progress.obj.total %][% progress.obj.total %][% END %]) [% "HOME" | string %] / [% IF not nosetup && not noserver %] [% "SERVER_SETTINGS" | string %] / [% END %] [% "HELP" | string %]
[% optionForm %] [% "SEARCH" | string %]
[% END %] [% PROCESS pagefooter.html %] [% END %]