aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/pluginsadmin.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2018-01-01 15:46:04 +0100
committerGitHub <noreply@github.com>2018-01-01 15:46:04 +0100
commitfcbc67edf072cc88a329fd6b73b002c3e2474971 (patch)
treea8c112bf2503f6de16c40d01305024bbd56f8653 /tpl/default/pluginsadmin.html
parentd77bdb432a5ad69b9167c6eada5d8713446daaeb (diff)
parentd7995542598b31378637bf457a776b52b556ffde (diff)
downloadShaarli-fcbc67edf072cc88a329fd6b73b002c3e2474971.tar.gz
Shaarli-fcbc67edf072cc88a329fd6b73b002c3e2474971.tar.zst
Shaarli-fcbc67edf072cc88a329fd6b73b002c3e2474971.zip
Merge pull request #1044 from ArthurHoaro/hotfix/plugins-parameter-button
Fix an issue preventing the Save button to appear for plugin parameters
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">