diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-06-08 12:50:49 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-05 20:34:22 +0200 |
commit | 28f26524609338316cc6e51c743058e6e8c7b12b (patch) | |
tree | e03f1e5dde3779a47a682cf1461151fbd687e4bb /tpl/default/configure.html | |
parent | 787faa42f3a2bcbf83a7853f23f3667a6febf9da (diff) | |
download | Shaarli-28f26524609338316cc6e51c743058e6e8c7b12b.tar.gz Shaarli-28f26524609338316cc6e51c743058e6e8c7b12b.tar.zst Shaarli-28f26524609338316cc6e51c743058e6e8c7b12b.zip |
Add a page to update all thumbnails through AJAX requests in both templates
Diffstat (limited to 'tpl/default/configure.html')
-rw-r--r-- | tpl/default/configure.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html index 5695ae8e..dca9503b 100644 --- a/tpl/default/configure.html +++ b/tpl/default/configure.html | |||
@@ -248,12 +248,10 @@ | |||
248 | <label for="enableThumbnails"> | 248 | <label for="enableThumbnails"> |
249 | <span class="label-name">{'Enable thumbnails'|t}</span><br> | 249 | <span class="label-name">{'Enable thumbnails'|t}</span><br> |
250 | <span class="label-desc"> | 250 | <span class="label-desc"> |
251 | {'Warning: '|t} | 251 | {if="! $gd_enabled"} |
252 | {if="$gd_enabled"} | ||
253 | {'It\'s recommended to visit the picture wall after enabling this feature.'|t} | ||
254 | {'If you have a large database, the first retrieval may take a few minutes.'|t} | ||
255 | {else} | ||
256 | {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t} | 252 | {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t} |
253 | {elseif="$thumbnails_enabled"} | ||
254 | <a href="?do=thumbs_update">{'Synchonize thumbnails'|t}</a> | ||
257 | {/if} | 255 | {/if} |
258 | </span> | 256 | </span> |
259 | </label> | 257 | </label> |