</td>
</tr>
- <tr>
- <td><b>Redirector</b></td>
- <td>
- <input type="text" name="redirector" id="redirector" size="50" value="{$redirector}"><br>
- (e.g. <i>http://anonym.to/?</i> will mask the HTTP_REFERER)
- </td>
- </tr>
-
<tr>
<td><b>Security:</b></td>
<td>
<tr>
<td valign="top"><b>Enable thumbnails</b></td>
<td>
- <input type="checkbox" name="enableThumbnails" id="enableThumbnails"
- {if="$thumbnails_enabled"}checked{/if}/>
+ <select name="enableThumbnails" id="enableThumbnails" class="align">
+ <option value="all" {if="$thumbnails_mode=='all'"}selected{/if}>
+ {'All'|t}
+ </option>
+ <option value="common" {if="$thumbnails_mode=='common'"}selected{/if}>
+ {'Only common media hosts'|t}
+ </option>
+ <option value="none" {if="$thumbnails_mode=='none'"}selected{/if}>
+ {'None'|t}
+ </option>
+ </select>
<label for="enableThumbnails">
- <strong>Warning:</strong>
- If you have a large database, the first retrieval may take a few minutes.
- It's recommended to visit the picture wall after enabling this feature
+ {if="! $gd_enabled"}
+ {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t}
+ {elseif="$thumbnails_enabled"}
+ <a href="?do=thumbs_update">{'Synchonize thumbnails'|t}</a>
+ {/if}
</label>
</td>
</tr>