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/vintage/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/vintage/configure.html')
-rw-r--r-- | tpl/vintage/configure.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tpl/vintage/configure.html b/tpl/vintage/configure.html index e47c71ad..fc3a563b 100644 --- a/tpl/vintage/configure.html +++ b/tpl/vintage/configure.html | |||
@@ -132,11 +132,13 @@ | |||
132 | <td valign="top"><b>Enable thumbnails</b></td> | 132 | <td valign="top"><b>Enable thumbnails</b></td> |
133 | <td> | 133 | <td> |
134 | <input type="checkbox" name="enableThumbnails" id="enableThumbnails" | 134 | <input type="checkbox" name="enableThumbnails" id="enableThumbnails" |
135 | {if="$thumbnails_enabled"}checked{/if}/> | 135 | {if="$thumbnails_enabled"}checked{/if} {if="!$gd_enabled"}disabled{/if}> |
136 | <label for="enableThumbnails"> | 136 | <label for="enableThumbnails"> |
137 | <strong>Warning:</strong> | 137 | {if="! $gd_enabled"} |
138 | If you have a large database, the first retrieval may take a few minutes. | 138 | {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t} |
139 | It's recommended to visit the picture wall after enabling this feature | 139 | {elseif="$thumbnails_enabled"} |
140 | <a href="?do=thumbs_update">{'Synchonize thumbnails'|t}</a> | ||
141 | {/if} | ||
140 | </label> | 142 | </label> |
141 | </td> | 143 | </td> |
142 | </tr> | 144 | </tr> |