diff options
Diffstat (limited to 'tpl/default')
-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> |