diff options
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/pluginsadmin.html | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
137 | {if="count($enabledPlugins)==0"} | 137 | {if="count($enabledPlugins)==0"} |
138 | <p class="center">{'No plugin enabled.'|t}</p> | 138 | <p class="center">{'No plugin enabled.'|t}</p> |
139 | {else} | 139 | {else} |
140 | {$counter=0} | 140 | {$nbParameters=0} |
141 | {loop="$enabledPlugins"} | 141 | {loop="$enabledPlugins"} |
142 | {$counter=$counter+count($value.parameters)} | 142 | {$nbParameters=$nbParameters+count($value.parameters)} |
143 | {if="count($value.parameters) > 0"} | 143 | {if="count($value.parameters) > 0"} |
144 | <div class="plugin_parameters"> | 144 | <div class="plugin_parameters"> |
145 | <h3 class="window-subtitle">{function="str_replace('_', ' ', $key)"}</h3> | 145 | <h3 class="window-subtitle">{function="str_replace('_', ' ', $key)"}</h3> |
@@ -161,7 +161,7 @@ | |||
161 | </div> | 161 | </div> |
162 | {/if} | 162 | {/if} |
163 | {/loop} | 163 | {/loop} |
164 | {if="$counter===0"} | 164 | {if="$nbParameters===0"} |
165 | <p class="center">{'No parameter available.'|t}</p> | 165 | <p class="center">{'No parameter available.'|t}</p> |
166 | {else} | 166 | {else} |
167 | <div class="center"> | 167 | <div class="center"> |