From 787faa42f3a2bcbf83a7853f23f3667a6febf9da Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 6 Apr 2018 18:21:47 +0200 Subject: Take code review into account Upgrade web-thumbnailer and display thumbs right after download --- tpl/default/configure.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tpl') 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 @@ {'Enable thumbnails'|t}
{'Warning: '|t} - {'It\'s recommended to visit the picture wall after enabling this feature.'|t} - {'If you have a large database, the first retrieval may take a few minutes.'|t} + {if="$gd_enabled"} + {'It\'s recommended to visit the picture wall after enabling this feature.'|t} + {'If you have a large database, the first retrieval may take a few minutes.'|t} + {else} + {'You need to enable the extension php-gd to use thumbnails.'|t} + {/if} @@ -258,7 +262,7 @@
+ {if="$thumbnails_enabled"}checked{/if} {if="!$gd_enabled"}disabled{/if} />
-- cgit v1.2.3