diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-07-03 10:55:37 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-07-03 10:55:37 +0000 |
| commit | 13d427d3f65e0e817bd48a04c7449bcd9f577cdc (patch) | |
| tree | d474c3f32977c10beb6c071a07e67ba95a00a7b3 /templates/admin_liberty.tpl | |
| parent | d3e40c090b18d0dd7ba0587b3a529cdf1679663c (diff) | |
| download | liberty-13d427d3f65e0e817bd48a04c7449bcd9f577cdc.tar.gz liberty-13d427d3f65e0e817bd48a04c7449bcd9f577cdc.tar.bz2 liberty-13d427d3f65e0e817bd48a04c7449bcd9f577cdc.zip | |
add more caching time options and move numbers out of {tr} for easier translation
Diffstat (limited to 'templates/admin_liberty.tpl')
| -rw-r--r-- | templates/admin_liberty.tpl | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/templates/admin_liberty.tpl b/templates/admin_liberty.tpl index e7d81c7..4518521 100644 --- a/templates/admin_liberty.tpl +++ b/templates/admin_liberty.tpl @@ -98,15 +98,17 @@ {formlabel label="Liberty Cache" for="liberty_cache"} {forminput} <select id="liberty_cache" name="liberty_cache"> - <option value="0" {if $gBitSystem->getConfig('liberty_cache') eq 0} selected="selected"{/if}>{tr}0 (no cache){/tr}</option> - <option value="60" {if $gBitSystem->getConfig('liberty_cache') eq 60} selected="selected"{/if}>{tr}1 minute{/tr}</option> - <option value="300" {if $gBitSystem->getConfig('liberty_cache') eq 300} selected="selected"{/if}>{tr}5 minutes{/tr}</option> - <option value="600" {if $gBitSystem->getConfig('liberty_cache') eq 600} selected="selected"{/if}>{tr}10 minutes{/tr}</option> - <option value="900" {if $gBitSystem->getConfig('liberty_cache') eq 900} selected="selected"{/if}>{tr}15 minutes{/tr}</option> - <option value="1800" {if $gBitSystem->getConfig('liberty_cache') eq 1800} selected="selected"{/if}>{tr}30 minutes{/tr}</option> - <option value="3600" {if $gBitSystem->getConfig('liberty_cache') eq 3600} selected="selected"{/if}>{tr}1 hour{/tr}</option> - <option value="7200" {if $gBitSystem->getConfig('liberty_cache') eq 7200} selected="selected"{/if}>{tr}2 hours{/tr}</option> - <option value="14400" {if $gBitSystem->getConfig('liberty_cache') eq 14400}selected="selected"{/if}>{tr}4 hours{/tr}</option> + <option value="0" {if $gBitSystem->getConfig('liberty_cache') eq 0} selected="selected"{/if}>0 {tr}(no cache){/tr}</option> + <option value="60" {if $gBitSystem->getConfig('liberty_cache') eq 60} selected="selected"{/if}>1 {tr}minute{/tr}</option> + <option value="300" {if $gBitSystem->getConfig('liberty_cache') eq 300} selected="selected"{/if}>5 {tr}minutes{/tr}</option> + <option value="600" {if $gBitSystem->getConfig('liberty_cache') eq 600} selected="selected"{/if}>10 {tr}minutes{/tr}</option> + <option value="900" {if $gBitSystem->getConfig('liberty_cache') eq 900} selected="selected"{/if}>15 {tr}minutes{/tr}</option> + <option value="1800" {if $gBitSystem->getConfig('liberty_cache') eq 1800} selected="selected"{/if}>30 {tr}minutes{/tr}</option> + <option value="3600" {if $gBitSystem->getConfig('liberty_cache') eq 3600} selected="selected"{/if}>1 {tr}hour{/tr}</option> + <option value="7200" {if $gBitSystem->getConfig('liberty_cache') eq 7200} selected="selected"{/if}>2 {tr}hours{/tr}</option> + <option value="14400" {if $gBitSystem->getConfig('liberty_cache') eq 14400} selected="selected"{/if}>4 {tr}hours{/tr}</option> + <option value="28800" {if $gBitSystem->getConfig('liberty_cache') eq 28800} selected="selected"{/if}>8 {tr}hours{/tr}</option> + <option value="60480" {if $gBitSystem->getConfig('liberty_cache') eq 60480} selected="selected"{/if}>1 {tr}day{/tr}</option> </select> {formhelp note='Cache all parsed content. This will dramatically reduce load on the server if pages are called frequently.' page=''} {/forminput} |
