diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-07-05 20:29:55 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-05 20:34:22 +0200 |
commit | b302b3c584b84f22f0e6f187b072180ecbacdfab (patch) | |
tree | 297f72d8fcf6d158ebbb8198dee4e35a30ab0d7e /tpl/vintage/configure.html | |
parent | fcba541e2f12c85ac56c6915ba1319fbdd3e6962 (diff) | |
download | Shaarli-b302b3c584b84f22f0e6f187b072180ecbacdfab.tar.gz Shaarli-b302b3c584b84f22f0e6f187b072180ecbacdfab.tar.zst Shaarli-b302b3c584b84f22f0e6f187b072180ecbacdfab.zip |
Thumbnails: add a common mode to only retrieve thumbs from popular media websites
Diffstat (limited to 'tpl/vintage/configure.html')
-rw-r--r-- | tpl/vintage/configure.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tpl/vintage/configure.html b/tpl/vintage/configure.html index fc3a563b..9466c235 100644 --- a/tpl/vintage/configure.html +++ b/tpl/vintage/configure.html | |||
@@ -131,8 +131,17 @@ | |||
131 | <tr> | 131 | <tr> |
132 | <td valign="top"><b>Enable thumbnails</b></td> | 132 | <td valign="top"><b>Enable thumbnails</b></td> |
133 | <td> | 133 | <td> |
134 | <input type="checkbox" name="enableThumbnails" id="enableThumbnails" | 134 | <select name="enableThumbnails" id="enableThumbnails" class="align"> |
135 | {if="$thumbnails_enabled"}checked{/if} {if="!$gd_enabled"}disabled{/if}> | 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> | ||
136 | <label for="enableThumbnails"> | 145 | <label for="enableThumbnails"> |
137 | {if="! $gd_enabled"} | 146 | {if="! $gd_enabled"} |
138 | {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t} | 147 | {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t} |