[pLog-svn] r3107 - in plog/trunk: locale templates/admin
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Fri Mar 24 03:13:27 GMT 2006
Author: jondaley
Date: 2006-03-24 03:12:35 +0000 (Fri, 24 Mar 2006)
New Revision: 3107
Modified:
plog/trunk/locale/locale_en_UK.php
plog/trunk/templates/admin/globalsettings_templates.template
Log:
add in 'hidden' option from 1.0.3 for client side http caching.
Modified: plog/trunk/locale/locale_en_UK.php
===================================================================
--- plog/trunk/locale/locale_en_UK.php 2006-03-24 02:45:22 UTC (rev 3106)
+++ plog/trunk/locale/locale_en_UK.php 2006-03-24 03:12:35 UTC (rev 3107)
@@ -1004,4 +1004,7 @@
$messages['error_no_trackback_links_sent'] = 'Warning: No Trackbacks were sent.';
$messages['logout_destination_url'] = 'URL where users will be sent when logging out, like for examplethe front page of your service. Leave empty in order to use the default value (the login page) [Default = empty]';
+
+$messages['help_http_cache_lifetime'] = 'Lifetime in seconds of the client side cache (browsers will not return to the server for this long, and pages will be served from the local cache. This greatly speeds up the browsing experience, but will delay post and comment visibility. [Default = 1800]';
+
?>
\ No newline at end of file
Modified: plog/trunk/templates/admin/globalsettings_templates.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_templates.template 2006-03-24 02:45:22 UTC (rev 3106)
+++ plog/trunk/templates/admin/globalsettings_templates.template 2006-03-24 03:12:35 UTC (rev 3107)
@@ -62,4 +62,10 @@
<input class="radio" type="radio" id="config[template_http_cache_enabled]" name="config[template_http_cache_enabled]" value="1" {if $template_http_cache_enabled == 1 } checked="checked" {/if} />{$locale->tr("yes")}
<input class="radio" type="radio" id="config[template_http_cache_enabled]" name="config[template_http_cache_enabled]" value="0" {if $template_http_cache_enabled == 0 } checked="checked" {/if} />{$locale->tr("no")}
</div>
- </div>
\ No newline at end of file
+ <!-- http_cache_lifetime -->
+ <div class="field">
+ <label for="config[http_cache_lifetime]">http_cache_lifetime</label>
+ <div class="formHelp">{$locale->tr("help_http_cache_lifetime")}</div>
+ <input style="width:100%" type="text" id="config[http_cache_lifetime]" name="config[http_cache_lifetime]" value="{$http_cache_lifetime}"/>
+ </div>
+ </div>
More information about the pLog-svn
mailing list