{include="includes"}
{include="page.header"}

## {'Plugin administration'|t}

### {'Enabled Plugins'|t}

{if="count($enabledPlugins)==0"}

{'No plugin enabled.'|t}

{else}

{'Disable'|t} | {'Name'|t} | {'Description'|t} | {'Order'|t}
--- | --- | --- | ---
{loop="$enabledPlugins"}
| {function="str_replace('_', ' ', $key)"} | {$value.description} | {if="count($enabledPlugins)>1"} ▲ ▼ {/if}
{$value.description}
{/loop}
{'Disable'|t} | {'Name'|t} | {'Description'|t} | {'Order'|t}

{/if}

### {'Disabled Plugins'|t}

{if="count($disabledPlugins)==0"}

{'No plugin disabled.'|t}

{else}

{'Enable'|t} | {'Name'|t} | {'Description'|t}
--- | --- | ---
{loop="$disabledPlugins"}
| {function="str_replace('_', ' ', $key)"} | {$value.description}
{$value.description}
{/loop}
{'Enable'|t} | {'Name'|t} | {'Description'|t}

{/if}
{"More plugins available"|t} {"in the documentation"|t}.

## {'Plugin configuration'|t}

{if="count($enabledPlugins)==0"}

{'No plugin enabled.'|t}

{else} {$nbParameters=0} {loop="$enabledPlugins"} {$nbParameters=$nbParameters+count($value.parameters)} {if="count($value.parameters) > 0"}

### {function="str_replace('_', ' ', $key)"}

{loop="$value.parameters"}

`{$key}` {if="isset($value.desc)"} · {$value.desc} {/if}

{/loop}
{/if} {/loop} {if="$nbParameters===0"}

{'No parameter available.'|t}

{else}
{/if} {/if}
{include="page.footer"}