com_extensiondistributor/admin/config.xml

356 lines
9.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<config>
<fieldset
addrulepath="/administrator/components/com_extensiondistributor/models/rules"
addfieldpath="/administrator/components/com_extensiondistributor/models/fields"
name="global_config"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_GLOBAL_LABEL"
description="COM_EXTENSIONDISTRIBUTOR_CONFIG_GLOBAL_DESC">
<field
name="check_in"
type="list"
default="0"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_CHECK_TIMER_LABEL"
description="COM_EXTENSIONDISTRIBUTOR_CONFIG_CHECK_TIMER_DESC">
<option
value="-5 hours">COM_EXTENSIONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_ONE</option>
<option
value="-12 hours">COM_EXTENSIONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_TWO</option>
<option
value="-1 day">COM_EXTENSIONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_THREE</option>
<option
value="-2 day">COM_EXTENSIONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_FOUR</option>
<option
value="-1 week">COM_EXTENSIONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_FIVE</option>
<option
value="0">COM_EXTENSIONDISTRIBUTOR_CONFIG_CHECK_TIMER_OPTION_SIX</option>
</field>
<field type="spacer" name="spacerAuthor" hr="true" />
<field
name="save_history"
type="radio"
class="btn-group btn-group-yesno"
default="1"
label="JGLOBAL_SAVE_HISTORY_OPTIONS_LABEL"
description="JGLOBAL_SAVE_HISTORY_OPTIONS_DESC"
>
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field
name="history_limit"
type="text"
filter="integer"
label="JGLOBAL_HISTORY_LIMIT_OPTIONS_LABEL"
description="JGLOBAL_HISTORY_LIMIT_OPTIONS_DESC"
default="10"
/>
<field type="spacer" name="spacerHistory" hr="true" />
<field name="autorTitle"
type="spacer"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHOR"
/>
<field name="autorName"
type="text"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHOR_NAME_LABEL"
description="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHOR_NAME_DESC"
size="60"
default="Emmanuel Danan"
readonly="true"
class="readonly"
/>
<field name="autorEmail"
type="email"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHOR_EMAIL_LABEL"
description="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHOR_EMAIL_DESC"
size="60"
default="emmanuel.danan@agerix.fr"
readonly="true"
class="readonly"
/>
</fieldset>
<fieldset
name="directories_custom_config"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_DIRECTORIES">
<!-- Note_path Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="note_path" description="COM_EXTENSIONDISTRIBUTOR_CONFIG_NOTE_PATH_DESCRIPTION" class="alert alert-info note_path" close="false" />
<!-- Releases_directory Field. Type: Text. (joomla) -->
<field
type="text"
name="releases_directory"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_RELEASES_DIRECTORY_LABEL"
default="packages"
class="input-xxlarge"
readonly="true"
filter="STRING"
autocomplete="on"
/>
<!-- Jcb_directory Field. Type: Text. (joomla) -->
<field
type="text"
name="jcb_directory"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_JCB_DIRECTORY_LABEL"
default="jcb"
class="input-xxlarge"
readonly="true"
filter="STRING"
autocomplete="on"
/>
<!-- Updates_directory Field. Type: Text. (joomla) -->
<field
type="text"
name="updates_directory"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_UPDATES_DIRECTORY_LABEL"
default="updates"
class="input-xxlarge"
readonly="true"
filter="STRING"
autocomplete="on"
/>
</fieldset>
<fieldset
name="import_custom_config"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_IMPORT">
<!-- Import_directory Field. Type: Text. (joomla) -->
<field
type="text"
name="import_directory"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_IMPORT_DIRECTORY_LABEL"
default="importfolder"
class="input-xxlarge"
readonly="true"
filter="STRING"
autocomplete="on"
/>
<!-- Catid Field. Type: Category. (joomla) -->
<field
type="category"
name="catid"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_CATID_LABEL"
extension="com_extensiondistributor"
description="COM_EXTENSIONDISTRIBUTOR_CONFIG_CATID_DESCRIPTION"
class="input-xxlarge"
published="1"
multiple="false"
/>
<!-- Reltype Field. Type: List. (joomla) -->
<field
type="list"
name="reltype"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_RELTYPE_LABEL"
filter="STRING">
<!-- Option Set. -->
<option value="">
COM_EXTENSIONDISTRIBUTOR_CONFIG_PLEASE_SELECT</option>
<option value="security">
COM_EXTENSIONDISTRIBUTOR_CONFIG_SECURITY</option>
<option value="maintenance">
COM_EXTENSIONDISTRIBUTOR_CONFIG_MAINTENANCE</option>
<option value="newversion">
COM_EXTENSIONDISTRIBUTOR_CONFIG_NEW_VERSION</option>
</field>
<!-- Stability Field. Type: List. (joomla) -->
<field
type="list"
name="stability"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_STABILITY_LABEL"
filter="INT"
required="true"
default="4">
<!-- Option Set. -->
<option value="0">
COM_EXTENSIONDISTRIBUTOR_CONFIG_DEVELOPMENT</option>
<option value="1">
COM_EXTENSIONDISTRIBUTOR_CONFIG_ALPHA</option>
<option value="2">
COM_EXTENSIONDISTRIBUTOR_CONFIG_BETA</option>
<option value="3">
COM_EXTENSIONDISTRIBUTOR_CONFIG_RC</option>
<option value="4">
COM_EXTENSIONDISTRIBUTOR_CONFIG_STABLE</option>
</field>
<!-- Keepfilename Field. Type: Radio. (joomla) -->
<field
type="radio"
name="keepfilename"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_KEEPFILENAME_LABEL"
class="btn-group btn-group-yesno"
default="1">
<!-- Option Set. -->
<option value="1">
COM_EXTENSIONDISTRIBUTOR_CONFIG_YES</option>
<option value="0">
COM_EXTENSIONDISTRIBUTOR_CONFIG_NO</option>
</field>
<!-- Newfilename Field. Type: Text. (joomla) -->
<field
type="text"
name="newfilename"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_NEWFILENAME_LABEL"
default="{type}{_group}_{element}_v{major}_{minor}_{release}_{stability}.zip"
description="COM_EXTENSIONDISTRIBUTOR_CONFIG_NEWFILENAME_DESCRIPTION"
class="input-xxlarge"
filter="STRING"
autocomplete="on"
showon="keepfilename:0"
/>
</fieldset>
<fieldset
name="packages_custom_config"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_PACKAGES">
<!-- Server_name Field. Type: Text. (joomla) -->
<field
type="text"
name="server_name"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_SERVER_NAME_LABEL"
class="input-xxlarge"
required="true"
filter="STRING"
autocomplete="on"
/>
<!-- Updateserver_url Field. Type: Url. (joomla) -->
<field
type="url"
name="updateserver_url"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_UPDATESERVER_URL_LABEL"
class="input-xxlarge"
relative="false"
filter="url"
validated="url"
scheme="http,https"
/>
<!-- Author Field. Type: Text. (joomla) -->
<field
type="text"
name="author"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHOR_LABEL"
class="input-xxlarge"
required="true"
filter="STRING"
autocomplete="on"
/>
<!-- Authoremail Field. Type: Email. (joomla) -->
<field
type="email"
name="authoremail"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHOREMAIL_LABEL"
class="input-xxlarge"
required="true"
filter="STRING"
validate="email"
unique="false"
message="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHOREMAIL_MESSAGE"
hint="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHOREMAIL_HINT"
autocomplete="on"
/>
<!-- Authorurl Field. Type: Url. (joomla) -->
<field
type="url"
name="authorurl"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHORURL_LABEL"
class="input-xxlarge"
required="true"
relative="false"
filter="url"
validated="url"
scheme="http,https"
hint="COM_EXTENSIONDISTRIBUTOR_CONFIG_AUTHORURL_HINT"
/>
<!-- Packager Field. Type: Text. (joomla) -->
<field
type="text"
name="packager"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_PACKAGER_LABEL"
class="input-xxlarge"
required="true"
filter="STRING"
autocomplete="on"
/>
<!-- Packagerurl Field. Type: Url. (joomla) -->
<field
type="url"
name="packagerurl"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_PACKAGERURL_LABEL"
class="input-xxlarge"
required="true"
relative="false"
filter="url"
validated="url"
scheme="http,https"
hint="COM_EXTENSIONDISTRIBUTOR_CONFIG_PACKAGERURL_HINT"
/>
<!-- Copyright Field. Type: Text. (joomla) -->
<field
type="text"
name="copyright"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_COPYRIGHT_LABEL"
class="input-xxlarge"
required="true"
filter="STRING"
autocomplete="on"
/>
<!-- License Field. Type: Text. (joomla) -->
<field
type="text"
name="license"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_LICENSE_LABEL"
class="input-xxlarge"
required="true"
filter="STRING"
autocomplete="on"
/>
<!-- Infourl Field. Type: Url. (joomla) -->
<field
type="url"
name="infourl"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_INFOURL_LABEL"
class="input-xxlarge"
required="true"
relative="false"
filter="url"
validated="url"
scheme="http,https"
/>
<!-- Targetplatform Field. Type: Text. (joomla) -->
<field
type="text"
name="targetplatform"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_TARGETPLATFORM_LABEL"
default="3.(9|10)"
description="COM_EXTENSIONDISTRIBUTOR_CONFIG_TARGETPLATFORM_DESCRIPTION"
class="input-xxlarge"
required="true"
filter="STRING"
autocomplete="on"
/>
<!-- Php_minimum Field. Type: Text. (joomla) -->
<field
type="text"
name="php_minimum"
label="COM_EXTENSIONDISTRIBUTOR_CONFIG_PHP_MINIMUM_LABEL"
default="7.0"
class="input-xxlarge"
required="true"
filter="STRING"
autocomplete="on"
/>
</fieldset>
<fieldset
name="permissions"
label="JCONFIG_PERMISSIONS_LABEL"
description="JCONFIG_PERMISSIONS_DESC">
<field
name="rules"
type="rules"
label="JCONFIG_PERMISSIONS_LABEL"
class="inputbox"
validate="rules"
filter="rules"
component="com_extensiondistributor"
section="component"
/>
</fieldset>
</config>