diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-06-18 21:24:43 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-06-18 21:24:43 +0000 |
| commit | 5021c38881a1004bc9b2e46cd07a750e498e2095 (patch) | |
| tree | 95dae7cb37f403256a2c6e8aa32e2504b4f2c788 /templates/admin_liberty.tpl | |
| parent | c591c260df2ba0af9c7d8813c9c4d23f2eff9ef0 (diff) | |
| download | liberty-5021c38881a1004bc9b2e46cd07a750e498e2095.tar.gz liberty-5021c38881a1004bc9b2e46cd07a750e498e2095.tar.bz2 liberty-5021c38881a1004bc9b2e46cd07a750e498e2095.zip | |
liberty based caching: caching done to file, added call to parser expunge function during LibertyContent::expunge() call
Modified Files:
liberty/LibertyContent.php
liberty/admin/admin_liberty_inc.php
liberty/plugins/format.tikiwiki.php
liberty/templates/admin_liberty.tpl
Diffstat (limited to 'templates/admin_liberty.tpl')
| -rw-r--r-- | templates/admin_liberty.tpl | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/templates/admin_liberty.tpl b/templates/admin_liberty.tpl index 01db877..bfffecf 100644 --- a/templates/admin_liberty.tpl +++ b/templates/admin_liberty.tpl @@ -13,13 +13,32 @@ {/forminput} </div> {/foreach} - <div class="row"> - {formlabel label="Auto-Display Attachment Thumbnails" for="liberty_auto_display_attachment_thumbs"} - {forminput} - {html_options options=$thumbSizes name="liberty_auto_display_attachment_thumbs" selected=$gBitSystem->getConfig('liberty_auto_display_attachment_thumbs')} - {formhelp note='This will automatically display thumbnails of all attachments of a given page (usually in the top right corner of the page). You can still display the items inline as well.' page=''} - {/forminput} - </div> + + <div class="row"> + {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> + </select> + {formhelp note='Cache all parsed content. This will dramatically reduce load on the server if pages are called frequently.' page=''} + {/forminput} + </div> + + <div class="row"> + {formlabel label="Auto-Display Attachment Thumbnails" for="liberty_auto_display_attachment_thumbs"} + {forminput} + {html_options options=$thumbSizes name="liberty_auto_display_attachment_thumbs" selected=$gBitSystem->getConfig('liberty_auto_display_attachment_thumbs')} + {formhelp note='This will automatically display thumbnails of all attachments of a given page (usually in the top right corner of the page). You can still display the items inline as well.' page=''} + {/forminput} + </div> </div> <div class="row"> |
