X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=tpl%2Fdefault%2Fconfigure.html;h=5695ae8edde02d716f9aabe8dafaf379ab98e48c;hb=787faa42f3a2bcbf83a7853f23f3667a6febf9da;hp=b91fc07ed07a0f8faa05cb0a77f969fe0d77686d;hpb=8b5b7dcc831a0ff1c660a0c0bca5d3cec376a5fc;p=github%2Fshaarli%2FShaarli.git
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 @@