daily-scripture-module/mod_dailyscripture.xml
2022-01-05 21:40:59 +02:00

148 lines
4.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="4" client="site" method="upgrade">
<name>MOD_DAILYSCRIPTURE</name>
<creationDate>5th January, 2022</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>joomla@vdm.io</authorEmail>
<authorUrl>https://www.vdm.io/</authorUrl>
<copyright>Copyright (C) 2015. All Rights Reserved</copyright>
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
<version>1.0.0</version>
<description>MOD_DAILYSCRIPTURE_XML_DESCRIPTION</description>
<!-- Language files -->
<languages folder="language">
<language tag="en-GB">en-GB/en-GB.mod_dailyscripture.ini</language>
<language tag="en-GB">en-GB/en-GB.mod_dailyscripture.sys.ini</language>
</languages>
<!-- Model files -->
<files>
<filename module="mod_dailyscripture">mod_dailyscripture.php</filename>
<filename>README.md</filename>
<filename>helper.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="basic"
addrulepath="/modules/mod_dailyscripture/rules"
addfieldpath="/modules/mod_dailyscripture/fields"
>
<!-- Type Field. Type: List. (joomla) -->
<field
type="list"
name="type"
label="MOD_DAILYSCRIPTURE_TYPE_LABEL"
description="MOD_DAILYSCRIPTURE_TYPE_DESCRIPTION"
class="list_class"
multiple="false"
default="1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYSCRIPTURE_DIRECT_FROM_GITHUB</option>
<option value="2">
MOD_DAILYSCRIPTURE_DIRECT_FROM_TELEGRAM</option>
</field>
<!-- Link Field. Type: Radio. (joomla) -->
<field
type="radio"
name="link"
label="MOD_DAILYSCRIPTURE_LINK_LABEL"
description="MOD_DAILYSCRIPTURE_LINK_DESCRIPTION"
class="btn-group btn-group-yesno"
default="1"
showon="type:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYSCRIPTURE_YES</option>
<option value="0">
MOD_DAILYSCRIPTURE_NO</option>
</field>
<!-- Width Field. Type: Number. (joomla) -->
<field
type="number"
name="width"
label="MOD_DAILYSCRIPTURE_WIDTH_LABEL"
default="100"
class="text_area"
min="10"
max="100"
step="10"
showon="type:2"
/>
<!-- Author_photo Field. Type: List. (joomla) -->
<field
type="list"
name="author_photo"
label="MOD_DAILYSCRIPTURE_AUTHOR_PHOTO_LABEL"
class="list_class"
multiple="false"
default="1"
showon="type:2">
<!-- Option Set. -->
<option value="1">
MOD_DAILYSCRIPTURE_AUTO</option>
<option value="2">
MOD_DAILYSCRIPTURE_ALWAYS_SHOW</option>
<option value="3">
MOD_DAILYSCRIPTURE_ALWAYS_HIDE</option>
</field>
<!-- Color Field. Type: List. (joomla) -->
<field
type="list"
name="color"
label="MOD_DAILYSCRIPTURE_COLOR_LABEL"
class="list_class"
multiple="false"
default="1"
showon="type:2">
<!-- Option Set. -->
<option value="1">
MOD_DAILYSCRIPTURE_DEFAULT</option>
<option value="2">
MOD_DAILYSCRIPTURE_CYAN</option>
<option value="3">
MOD_DAILYSCRIPTURE_GREEN</option>
<option value="4">
MOD_DAILYSCRIPTURE_YELLOW</option>
<option value="5">
MOD_DAILYSCRIPTURE_RED</option>
<option value="6">
MOD_DAILYSCRIPTURE_WHITE</option>
<option value="7">
MOD_DAILYSCRIPTURE_CUSTOM</option>
</field>
<!-- Custom_color Field. Type: Color. (joomla) -->
<field
type="color"
name="custom_color"
default="1"
label="MOD_DAILYSCRIPTURE_CUSTOM_COLOR_LABEL"
showon="type:2[AND]color:7"
/>
<!-- Theme Field. Type: Radio. (joomla) -->
<field
type="radio"
name="theme"
label="MOD_DAILYSCRIPTURE_THEME_LABEL"
class="btn-group btn-group-yesno"
default="1"
showon="type:2">
<!-- Option Set. -->
<option value="1">
MOD_DAILYSCRIPTURE_LIGHT_THEME</option>
<option value="2">
MOD_DAILYSCRIPTURE_DARK_THEME</option>
</field>
</fieldset>
</fields>
</config>
</extension>