[% IF simple %]
[% ELSE %]
[% pageHeaderScripts = BLOCK %]
[% END %]
[% bodyscript = 'onload="ajaxProgressRefresh();"' %]
[% extJsScripts = BLOCK %]
[% END %]
[% PROCESS settings/header.html %]
[% END %]
[% nosubmit = 1 %]
[% BLOCK infoItem %]
[% WRAPPER setting title=title %]
[% FOREACH item IN items %]
[% item.name %]
[% END %]
[% END %]
[% END %]
[% PROCESS infoItem title="SERVER_STATUS" items=server.items %]
[% PROCESS infoItem title="INFORMATION_MENU_PERL" items=perl.items %]
[% IF library; PROCESS infoItem title="INFORMATION_MENU_LIBRARY" items=library.items; END %]
[% IF onlinelibrary %]
[% FOREACH service IN onlinelibrary %]
[% PROCESS infoItem title=service.name items=service.items %]
[% END %]
[% END %]
[% IF progress AND NOT simple %]
[% WRAPPER setting title="SCANNER_PROGRESS" %]
[% progress %]
[% IF scanning && !abortScan %]
[% END %]
[% END %]
[% END %]
[% IF players %]
[% WRAPPER setting title = "INFORMATION_MENU_PLAYER" %]
[% "SERVER_STATUS_DESC" | string %]
[% END %]
[% FOREACH client = players.items %]
[% WRAPPER setting title = client.name %]
[% FOREACH item IN client.web.items; item.key %]
[% IF item.values.0 %]
[% item.keys.0 | string %][% stringCOLON %] [% item.values.0 %]
[% END %]
[% END %]
[% END %]
[% END %]
[% END %]
[% UNLESS simple; WRAPPER setting title = "FOLDERS"; END; END %]
[% FOREACH item IN folders.web.items %]
[% IF item.values.0 %]
[% WRAPPER settingSection %]
[% IF simple %][% END %][% item.keys.0 | string %][% IF simple %][% END %]
[% item.values.0 %]
[% END %]
[% END %]
[% END %]
[% FOREACH item IN logs.web.items %]
[% IF item.values.0 %]
[% WRAPPER setting title="SETUP_DEBUG_${item.keys.0}_LOG" desc="SETUP_DEBUG_${item.keys.0}_LOG_DESC" %]
[% END %]
[% END %]
[% END %]
[% FOREACH item = info %]
[% UNLESS item.web.hide %]
[% WRAPPER setting title=item.name %]
[% IF item.type == 'redirect' && item.web.url %]
[% (item.web.value || item.web.url) | html_line_break %]
[% ELSE %]
[% item.web.value | html_line_break %]
[% END %]
[% END %]
[% END %]
[% END %]
[% PROCESS settings/footer.html %]