33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-23 11:29:00 +00:00

Add cache config

This commit is contained in:
Michael Babker 2013-07-14 14:01:44 -05:00
parent e030dd9d5e
commit cacb1c20ee
2 changed files with 16 additions and 0 deletions

View File

@ -21,6 +21,18 @@
description="COM_PATCHTESTER_FIELD_GH_PASSWORD_DESC"
label="COM_PATCHTESTER_FIELD_GH_PASSWORD_LABEL"
/>
<field name="cache" type="radio" class="btn-group" default="1"
description="COM_PATCHTESTER_FIELD_CACHE_DESC"
label="COM_PATCHTESTER_FIELD_CACHE_LABEL" >
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field name="cache_lifetime" type="password" default="60"
description="COM_PATCHTESTER_FIELD_CACHE_LIFETIME_DESC"
label="COM_PATCHTESTER_FIELD_CACHE_LIFETIME_LABEL"
/>
</fieldset>
<fieldset name="permissions" description="JCONFIG_PERMISSIONS_DESC" label="JCONFIG_PERMISSIONS_LABEL">

View File

@ -13,6 +13,10 @@ COM_PATCHTESTER_COMPONENT_DESC="Joomla! Patch Tester Configuration Values"
COM_PATCHTESTER_COMPONENT_LABEL="Joomla! Patch Tester"
COM_PATCHTESTER_CONFIGURATION="Joomla! Patch Tester Settings"
COM_PATCHTESTER_CONFLICT_S="The patch could not be applied because it conflicts with a previously applied patch: %s"
COM_PATCHTESTER_FIELD_CACHE_DESC="Enabling caching will save the GitHub data locally for the specified time"
COM_PATCHTESTER_FIELD_CACHE_LABEL="Enable Caching"
COM_PATCHTESTER_FIELD_CACHE_LIFETIME_DESC="The amount of time (in minutes) before the cache is reset"
COM_PATCHTESTER_FIELD_CACHE_LIFETIME_LABEL="Cache Lifetime"
COM_PATCHTESTER_FIELD_GH_PASSWORD_LABEL="GitHub Account Password"
COM_PATCHTESTER_FIELD_GH_PASSWORD_DESC="Password for the account entered in the "_QQ_"GitHub Account"_QQ_" field"
COM_PATCHTESTER_FIELD_GH_USER_LABEL="GitHub Account"