| 1 | <div class="titrePage"> |
|---|
| 2 | <h2>GThumb+</h2> |
|---|
| 3 | </div> |
|---|
| 4 | |
|---|
| 5 | <form action="" method="post"> |
|---|
| 6 | |
|---|
| 7 | <fieldset id="GThumb"> |
|---|
| 8 | <legend>{'Configuration'|@translate}</legend> |
|---|
| 9 | <table> |
|---|
| 10 | <tr> |
|---|
| 11 | <td align="right">{'Thumbnails max height'|@translate} : </td> |
|---|
| 12 | <td><input type="text" size="2" maxlength="3" name="height" value="{$HEIGHT}"> px</td></td> |
|---|
| 13 | </tr> |
|---|
| 14 | |
|---|
| 15 | <tr> |
|---|
| 16 | <td align="right">{'Margin between thumbnails'|@translate} : </td> |
|---|
| 17 | <td><input type="text" size="2" maxlength="3" name="margin" value="{$MARGIN}"> px</td> |
|---|
| 18 | </tr> |
|---|
| 19 | |
|---|
| 20 | <tr> |
|---|
| 21 | <td align="right">{'Number of photos per page'|@translate} : </td> |
|---|
| 22 | <td><input type="text" size="2" maxlength="3" name="nb_image_page" value="{$NB_IMAGE_PAGE}"></td> |
|---|
| 23 | </tr> |
|---|
| 24 | |
|---|
| 25 | <tr> |
|---|
| 26 | <td align="right">{'Double the size of the first thumbnail'|@translate} : </td> |
|---|
| 27 | <td><input type="radio" name="big_thumb" value="1" {if $BIG_THUMB}checked="checked"{/if}> {'Yes'|@translate} |
|---|
| 28 | <input type="radio" name="big_thumb" value="0" {if !$BIG_THUMB}checked="checked"{/if}> {'No'|@translate} |
|---|
| 29 | </td> |
|---|
| 30 | </tr> |
|---|
| 31 | |
|---|
| 32 | <tr> |
|---|
| 33 | <td align="right">{'Cache the big thumbnails (recommended)'|@translate} : </td> |
|---|
| 34 | <td><input type="radio" name="cache_big_thumb" value="1" {if $CACHE_BIG_THUMB}checked="checked"{/if}> {'Yes'|@translate} |
|---|
| 35 | <input type="radio" name="cache_big_thumb" value="0" {if !$CACHE_BIG_THUMB}checked="checked"{/if}> {'No'|@translate} |
|---|
| 36 | </td> |
|---|
| 37 | </tr> |
|---|
| 38 | |
|---|
| 39 | <tr> |
|---|
| 40 | <td align="right">{'Scale thumbnails'|@translate} : </td> |
|---|
| 41 | <td><input type="radio" name="method" value="crop" {if $METHOD == 'crop'}checked="checked"{/if}> {'Crop'|@translate} |
|---|
| 42 | <input type="radio" name="method" value="resize" {if $METHOD == 'resize'}checked="checked"{/if}> {'Resize'|@translate} |
|---|
| 43 | </td> |
|---|
| 44 | </tr> |
|---|
| 45 | |
|---|
| 46 | </table> |
|---|
| 47 | </fieldset> |
|---|
| 48 | |
|---|
| 49 | <p><input type="submit" name="submit" value="{'Submit'|@translate}"></p> |
|---|
| 50 | </form> |
|---|
| 51 | |
|---|
| 52 | <fieldset id="cacheinfo"> |
|---|
| 53 | <legend>{'Cache Informations'|@translate}</legend> |
|---|
| 54 | <p> |
|---|
| 55 | {$NB_ELEMENTS}, {$ELEMENTS_SIZE}<br> |
|---|
| 56 | <a href="admin.php?page=plugin-GThumb&pwg_token={$PWG_TOKEN}&deletecache=true" onclick="return confirm('{'Are you sure?'|@translate}');">{'Clear the cache'|@translate}</a> |
|---|
| 57 | </p> |
|---|
| 58 | </fieldset> |
|---|
| 59 | |
|---|
| 60 | {html_head}{literal} |
|---|
| 61 | <style type="text/css"> |
|---|
| 62 | #GThumb td { padding-bottom: 12px; } |
|---|
| 63 | #cacheinfo p { text-align:left; line-height:20px; margin:20px } |
|---|
| 64 | </style> |
|---|
| 65 | {/literal}{/html_head} |
|---|