[% IF useExtJS && !macaddress; extJsScripts = BLOCK %]
[% END; ELSIF !macaddress; pageHeaderScripts = BLOCK %]
[% END; ELSIF !useExtJS; pageHeaderScripts = BLOCK %]
[% END; END %] [% PROCESS settings/header.html %] [% IF prefs %] [% WRAPPER setting title="SETUP_PLAYERNAME" desc="SETUP_PLAYERNAME_DESC" %] [%- IF playericon %][% END %] [% END %] [% WRAPPER setting title="SETUP_PLAYER_TIMEZONE" desc="SETUP_PLAYER_TIMEZONE_DESC" %] [% IF playerManagesTZ %]
[% "SETUP_PLAYER_TIMEZONE_DESC_MANAGED" | string %]
[% IF playerTimezone %][% playerTimezone | html %][% ELSE %]—[% END %] [% ELSIF timezoneNames.size %]
[% ELSE %] [% END %] [% END %] [% IF prefs.pref_titleFormat; WRAPPER setting title="SETUP_TITLEFORMAT" desc="SETUP_PLAYER_TITLEFORMATS_DESC" %] [% FOREACH format = prefs.pref_titleFormat %]
[% END %] [% END; END %] [% IF prefs.exists('pref_playingDisplayModes') %] [% WRAPPER setting title="SETUP_PLAYINGDISPLAYMODE" desc="SETUP_PLAYINGDISPLAYMODE_DESC" %] [% FOREACH format = prefs.pref_playingDisplayModes %]
[% END %] [% END %] [% END %] [% IF prefs.exists('pref_visualModes') %] [% WRAPPER setting title="SETUP_VISUALIZERMODE" desc="SETUP_VISUALIZERMODE_DESC" %] [% FOREACH format = prefs.pref_visualModes %]
[% END %] [% END %] [% END %] [% IF prefs.exists('pref_screensaver') %] [% WRAPPER settingSection %] [% desc="SETUP_SCREENSAVER_DESC" %] [% FOREACH saver = [ 'screensaver', 'idlesaver', 'offsaver', 'alarmsaver' ] %] [% uppersaver = saver | upper %] [% WRAPPER settingGroup title="SETUP_" _ uppersaver %]
[% END %] [% desc = '' %] [% END %] [% IF saveropts.alarmsaver.size == 0 %] [% WRAPPER settingGroup title="" %]
[% "SETUP_NO_SCREENSAVERS" | string %]
[% END %] [% END %] [% WRAPPER settingGroup title="SETUP_SCREENSAVERTIMEOUT" desc="" %] [% END %] [% END %] [% END %] [% IF prefs.exists('pref_playtrackalbum') %] [% WRAPPER setting title="SETUP_PLAYTRACKALBUM" desc="SETUP_PLAYTRACKALBUM_DESC" %]
[% END %] [% END %] [% IF defeatDestructiveTouchToPlay.defined %] [% WRAPPER setting title="SETUP_DEFEAT_DESTRUCTIVE_TTP" desc="SETUP_DEFEAT_DESTRUCTIVE_TTP_DESC" %]
[% END %] [% END %] [% WRAPPER setting title="SETUP_RESET_PLAYER" desc="SETUP_RESET_PLAYER_DESC" %] [% END %] [% IF !macaddress; WRAPPER setting title="FORGET_PLAYER" desc="FORGET_PLAYER_DESC" %]

[% IF useAJAX %] [% "FORGET_PLAYER_LINK" | string %] [% ELSIF useExtJS %] [% "FORGET_PLAYER_LINK" | string %] [% ELSE %] [% "FORGET_PLAYER_LINK" | string %] [% END %]

[% END; END %] [% WRAPPER setting title="INFORMATION_MENU_PLAYER" desc="" %] [% FOREACH item IN playerinfo; item.key %] [% IF item.values.0 %]

[% item.keys.0 | string %][% stringCOLON %] [% item.values.0 %]

[% END %] [% END %] [% END %] [% ELSE %]
[% PROCESS status_noclients.html ajaxUpdate=1 %]
[% END %] [% PROCESS settings/footer.html %]