diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-04-06 18:21:47 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-05 20:34:22 +0200 |
commit | 787faa42f3a2bcbf83a7853f23f3667a6febf9da (patch) | |
tree | c24e9da3affe84820cf40c4d1904c2621de6d828 /tpl | |
parent | 8b5b7dcc831a0ff1c660a0c0bca5d3cec376a5fc (diff) | |
download | Shaarli-787faa42f3a2bcbf83a7853f23f3667a6febf9da.tar.gz Shaarli-787faa42f3a2bcbf83a7853f23f3667a6febf9da.tar.zst Shaarli-787faa42f3a2bcbf83a7853f23f3667a6febf9da.zip |
Take code review into account
Upgrade web-thumbnailer and display thumbs right after download
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/default/configure.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html index b91fc07e..5695ae8e 100644 --- a/tpl/default/configure.html +++ b/tpl/default/configure.html | |||
@@ -249,8 +249,12 @@ | |||
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 | {'Warning: '|t} |
252 | {'It\'s recommended to visit the picture wall after enabling this feature.'|t} | 252 | {if="$gd_enabled"} |
253 | {'If you have a large database, the first retrieval may take a few minutes.'|t} | 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} | ||
257 | {/if} | ||
254 | </span> | 258 | </span> |
255 | </label> | 259 | </label> |
256 | </div> | 260 | </div> |
@@ -258,7 +262,7 @@ | |||
258 | <div class="pure-u-lg-{$ratioInput} pure-u-{$ratioInputMobile}"> | 262 | <div class="pure-u-lg-{$ratioInput} pure-u-{$ratioInputMobile}"> |
259 | <div class="form-input"> | 263 | <div class="form-input"> |
260 | <input type="checkbox" name="enableThumbnails" id="enableThumbnails" | 264 | <input type="checkbox" name="enableThumbnails" id="enableThumbnails" |
261 | {if="$thumbnails_enabled"}checked{/if}/> | 265 | {if="$thumbnails_enabled"}checked{/if} {if="!$gd_enabled"}disabled{/if} /> |
262 | </div> | 266 | </div> |
263 | </div> | 267 | </div> |
264 | </div> | 268 | </div> |