X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fdefault%2Fpluginsadmin.html;h=fa26c8593d534799613eb29bdfeea9fedbf19fb2;hb=7e9bd977eec3c996119626a4bb2828fc08979db8;hp=ca17b435cd3fdff42cca0d5d1b65269ca406ce6b;hpb=286757ab29660916f6b66d1fc0ad3b53aef337c8;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/default/pluginsadmin.html b/tpl/default/pluginsadmin.html index ca17b435..fa26c859 100644 --- a/tpl/default/pluginsadmin.html +++ b/tpl/default/pluginsadmin.html @@ -137,9 +137,9 @@ {if="count($enabledPlugins)==0"}

{'No plugin enabled.'|t}

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

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

@@ -161,7 +161,7 @@
{/if} {/loop} - {if="$counter===0"} + {if="$nbParameters===0"}

{'No parameter available.'|t}

{else}
@@ -176,7 +176,7 @@ {include="page.footer"} - +