From d7995542598b31378637bf457a776b52b556ffde Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 1 Jan 2018 15:40:51 +0100 Subject: Fix an issue preventing the Save button to appear for plugin parameters is a special variable in RainTPL used in loops --- tpl/default/pluginsadmin.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tpl/default/pluginsadmin.html') diff --git a/tpl/default/pluginsadmin.html b/tpl/default/pluginsadmin.html index ca17b435..b2d7cdc5 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}
-- cgit v1.2.3