aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/pluginsadmin.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-01-01 15:40:51 +0100
committerArthurHoaro <arthur@hoa.ro>2018-01-01 15:40:51 +0100
commitd7995542598b31378637bf457a776b52b556ffde (patch)
treea8c112bf2503f6de16c40d01305024bbd56f8653 /tpl/default/pluginsadmin.html
parentd77bdb432a5ad69b9167c6eada5d8713446daaeb (diff)
downloadShaarli-d7995542598b31378637bf457a776b52b556ffde.tar.gz
Shaarli-d7995542598b31378637bf457a776b52b556ffde.tar.zst
Shaarli-d7995542598b31378637bf457a776b52b556ffde.zip
Fix an issue preventing the Save button to appear for plugin parameters
is a special variable in RainTPL used in loops
Diffstat (limited to 'tpl/default/pluginsadmin.html')
-rw-r--r--tpl/default/pluginsadmin.html6
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">