[%- playerid = playerid || player -%] [%- BLOCK pluginLink -%] [% IF enabled && settings.length > 0 %] [% 'SETTINGS' | string %] [% END %] [%- END -%]
[% IF pageHeaderScripts && NOT extJsScripts %] [% pageHeaderScripts %] [% ELSE %] [% extJsScripts %] [% END %]
[% IF needsClient || (pageLink.size > 0 && !noSettingsList) %]

[%- IF needsClient %]
[% END %] [%- IF !noSettingsList %]
[% END %]

[% END -%]
[% IF warning %]
[% warning %]
[% END %]
[% IF noSettingsList %][% END %] [% IF playerid %][% END %] [% IF player %][% END %]