[%- settingsString = "SETTINGS" FILTER string; moreInfoString = "MOREINFO" FILTER string; -%] [%- BLOCK pluginGroup -%]

[%- content | indent(4) %]

[%- END -%] [%- BLOCK pluginDetails -%] [% pluginName = type == 'update' ? 'update:' _ plugin.name : plugin.name %]
- [% pluginIcon = plugin.icon %] [% IF !pluginIcon.match("^http|^data:image"); pluginIcon = webroot _ pluginIcon; END; %]
  [% plugin.title %] (v[% plugin.version %][% IF plugin.installations %] - [%- plugin.installations; END -%])
  [% IF type != 'update' %] [% END %]
  [% ((plugin.error && "" _ plugin.error _ "") || (type == 'update' && plugin.changes) || plugin.desc) | html_line_break %]
  [% IF plugin.settings %] [% settingsString %][% END %] [% IF plugin.email %] [%- END; plugin.creator || plugin.email; IF plugin.email %][%- END -%] [% IF plugin.homepage || plugin.link %] [% moreInfoString %][%- END -%]
[%- END -%] [%- customButtonBar = BLOCK -%]
[% "SEARCH" | string %][% "COLON" | string %]
[%- END -%]
[% PROCESS settings/header.html %]
[% IF updates.size > 0 %] [% WRAPPER settingSection %]
[% "SETUP_EXTENSIONS_UPDATES" | getstring %]
[%- END -%] [% WRAPPER pluginGroup id="updatePlugins" %] [% FOREACH plugin = updates.sort('title') %] [% PROCESS pluginDetails type = 'update' %] [% END %] [%- END -%] [% END %] [% WRAPPER settingSection %]
[% "SETUP_EXTENSIONS_ACTIVE" | getstring %]
[%- END -%] [% WRAPPER pluginGroup id="activePlugins" %] [% FOREACH plugin = active.sort('title') %] [% PROCESS pluginDetails type = 'enabled' %] [% END %] [%- END -%] [% WRAPPER settingSection %]
[% "SETUP_EXTENSIONS_INACTIVE" | getstring %]
[%- END -%] [% WRAPPER pluginGroup id="inactivePlugins" %] [% FOREACH plugin = inactive.sort('title') %] [% PROCESS pluginDetails type = 'disabled' %] [% END %] [%- END -%] [% FOREACH repo = avail %] [% WRAPPER settingSection %]
[% repo.title %]
[%- END -%] [% WRAPPER pluginGroup id="otherPlugins" _ loop.index %] [% FOREACH plugin = repo.entries.sort('title') %] [% PROCESS pluginDetails type = (repo.weight == 1 ? 'safe' : 'unsafe') %] [% END %] [%- END -%] [%- END -%]
[% WRAPPER setting title="SETUP_EXTENSIONS_AUTO" desc="" %] [% "SETUP_EXTENSIONS_AUTO_DESC" | string %] [% END %] [% WRAPPER setting title="SETUP_EXTENSIONS_REPOS" desc="" %]
[% "SETUP_EXTENSIONS_REPOS_DESC" | string %]
[% "SETUP_EXTENSIONS_REPOS_WARNING" | string %]
[% FOREACH entry = repos %]
[% END %]
[% END %] [% WRAPPER setting title="SETUP_EXTENSIONS_USE_UNSUPPORTED" desc="" %] [% "SETUP_EXTENSIONS_USE_UNSUPPORTED_DESC" | string %] [% END %] [% PROCESS settings/footer.html %]