6
0
mod_cpanelredirect/mod_cpanelredirect.xml
Robot 37a6b67543
Update on v5.0.0 (changes towards the next release)
Here's an update on the current version, which includes changes towards the next release still in development.
2025-02-10 17:05:35 +02:00

84 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="5.0" client="administrator" method="upgrade">
<name>MOD_CPANELREDIRECT</name>
<creationDate>10th February, 2025</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>joomla@vdm.io</authorEmail>
<authorUrl>https://dev.vdm.io</authorUrl>
<copyright>Copyright (C) 2015 Vast Development Method. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<version>5.0.0</version>
<description>MOD_CPANELREDIRECT_XML_DESCRIPTION</description>
<!-- Scripts to run on installation -->
<scriptfile>script.php</scriptfile>
<!-- Language files -->
<languages folder="language">
<language tag="en-GB">en-GB/en-GB.mod_cpanelredirect.ini</language>
<language tag="en-GB">en-GB/en-GB.mod_cpanelredirect.sys.ini</language>
</languages>
<!-- Model files -->
<files>
<filename module="mod_cpanelredirect">mod_cpanelredirect.php</filename>
<filename>index.html</filename>
<folder>language</folder>
<folder>fields</folder>
<folder>rules</folder>
<folder>tmpl</folder>
</files>
<!-- Config parameter -->
<config>
<fields name="params">
<!-- default paths of basic fieldset points to the module -->
<fieldset name="basic" label="MOD_CPANELREDIRECT_DETAILS"
addrulepath="/administrator/modules/mod_cpanelredirect/rules"
addfieldpath="/administrator/modules/mod_cpanelredirect/fields"
>
<!-- Redirect Field. Type: Subform. (joomla) -->
<field
type="subform"
name="redirect"
label="MOD_CPANELREDIRECT_REDIRECT_LABEL"
layout="joomla.form.field.subform.repeatable"
multiple="true"
buttons="add,remove,move"
description="MOD_CPANELREDIRECT_REDIRECT_DESCRIPTION"
icon="list"
max="10"
min="1">
<form hidden="true" name="list_redirect_modal" repeat="true">
<!-- Groups Field. Type: Usergrouplist. (joomla) -->
<field
type="usergrouplist"
name="groups"
label="MOD_CPANELREDIRECT_GROUPS_LABEL"
description="MOD_CPANELREDIRECT_GROUPS_DESCRIPTION"
layout="joomla.form.field.list-fancy-select"
required="true"
multiple="true"
/>
<!-- Url Field. Type: Url. (joomla) -->
<field
type="url"
name="url"
label="MOD_CPANELREDIRECT_URL_LABEL"
size="60"
maxlength="150"
description="MOD_CPANELREDIRECT_URL_DESCRIPTION"
class="text_area"
required="true"
filter="url"
validated="url"
scheme="http,https"
message="MOD_CPANELREDIRECT_URL_MESSAGE"
hint="MOD_CPANELREDIRECT_URL_HINT"
/>
</form>
</field>
</fieldset>
</fields>
</config>
</extension>