diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-28 09:41:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-28 09:41:29 +0200 |
commit | ad5f47adbaee1eef85e90950ab8a45fe82959924 (patch) | |
tree | d23a186661db00d36cb2b2287a7bf890fbc62cfb /tpl/vintage/configure.html | |
parent | 8fdd65b88412a0db28c723a486650c434fe5668c (diff) | |
parent | 7b4fea0e39be9e74e9aef13e73af9bbd2b1a6397 (diff) | |
download | Shaarli-ad5f47adbaee1eef85e90950ab8a45fe82959924.tar.gz Shaarli-ad5f47adbaee1eef85e90950ab8a45fe82959924.tar.zst Shaarli-ad5f47adbaee1eef85e90950ab8a45fe82959924.zip |
Merge pull request #687 from ArthurHoaro/web-thumb
Use web-thumbnailer to retrieve thumbnails
Diffstat (limited to 'tpl/vintage/configure.html')
-rw-r--r-- | tpl/vintage/configure.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tpl/vintage/configure.html b/tpl/vintage/configure.html index 479284eb..9466c235 100644 --- a/tpl/vintage/configure.html +++ b/tpl/vintage/configure.html | |||
@@ -128,6 +128,29 @@ | |||
128 | <input type="text" name="apiSecret" id="apiSecret" size="50" value="{$api_secret}" /> | 128 | <input type="text" name="apiSecret" id="apiSecret" size="50" value="{$api_secret}" /> |
129 | </td> | 129 | </td> |
130 | </tr> | 130 | </tr> |
131 | <tr> | ||
132 | <td valign="top"><b>Enable thumbnails</b></td> | ||
133 | <td> | ||
134 | <select name="enableThumbnails" id="enableThumbnails" class="align"> | ||
135 | <option value="all" {if="$thumbnails_mode=='all'"}selected{/if}> | ||
136 | {'All'|t} | ||
137 | </option> | ||
138 | <option value="common" {if="$thumbnails_mode=='common'"}selected{/if}> | ||
139 | {'Only common media hosts'|t} | ||
140 | </option> | ||
141 | <option value="none" {if="$thumbnails_mode=='none'"}selected{/if}> | ||
142 | {'None'|t} | ||
143 | </option> | ||
144 | </select> | ||
145 | <label for="enableThumbnails"> | ||
146 | {if="! $gd_enabled"} | ||
147 | {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t} | ||
148 | {elseif="$thumbnails_enabled"} | ||
149 | <a href="?do=thumbs_update">{'Synchonize thumbnails'|t}</a> | ||
150 | {/if} | ||
151 | </label> | ||
152 | </td> | ||
153 | </tr> | ||
131 | 154 | ||
132 | <tr> | 155 | <tr> |
133 | <td></td> | 156 | <td></td> |