daily-light-module/mod_dailylight.xml
Robot 5a2c9bf31d
Update on v1.1.3 (beta for next version)
Here's an update on the current version, which includes changes towards the next release still in beta.
2024-01-22 10:24:54 +02:00

311 lines
8.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.10" client="site" method="upgrade">
<name>MOD_DAILYLIGHT</name>
<creationDate>22nd January, 2024</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>joomla@vdm.io</authorEmail>
<authorUrl>https://getbible.net</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.1.3</version>
<description>MOD_DAILYLIGHT_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_dailylight.ini</language>
<language tag="en-GB">en-GB/en-GB.mod_dailylight.sys.ini</language>
</languages>
<!-- Model files -->
<files>
<filename module="mod_dailylight">mod_dailylight.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_dailylight/rules"
addfieldpath="/modules/mod_dailylight/fields"
>
<!-- Time_of_day Field. Type: List. (joomla) -->
<field
type="list"
name="time_of_day"
label="MOD_DAILYLIGHT_TIME_OF_DAY_LABEL"
description="MOD_DAILYLIGHT_TIME_OF_DAY_DESCRIPTION"
class="list_class"
multiple="false"
default="3">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_MORNING</option>
<option value="2">
MOD_DAILYLIGHT_EVENING</option>
<option value="3">
MOD_DAILYLIGHT_BOTH</option>
</field>
<!-- Type Field. Type: List. (joomla) -->
<field
type="list"
name="type"
label="MOD_DAILYLIGHT_TYPE_LABEL"
description="MOD_DAILYLIGHT_TYPE_DESCRIPTION"
class="list_class"
multiple="false"
default="1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_DIRECT_FROM_GITHUB</option>
<option value="2">
MOD_DAILYLIGHT_DIRECT_FROM_TELEGRAM</option>
</field>
<!-- Show_header Field. Type: Radio. (joomla) -->
<field
type="radio"
name="show_header"
label="MOD_DAILYLIGHT_SHOW_HEADER_LABEL"
class="btn-group btn-group-yesno"
default="1"
showon="type:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_YES</option>
<option value="0">
MOD_DAILYLIGHT_NO</option>
</field>
<!-- Show_name_header Field. Type: Radio. (joomla) -->
<field
type="radio"
name="show_name_header"
label="MOD_DAILYLIGHT_SHOW_NAME_HEADER_LABEL"
class="btn-group btn-group-yesno"
default="1"
showon="type:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_YES</option>
<option value="0">
MOD_DAILYLIGHT_NO</option>
</field>
<!-- Show_section_header Field. Type: Radio. (joomla) -->
<field
type="radio"
name="show_section_header"
label="MOD_DAILYLIGHT_SHOW_SECTION_HEADER_LABEL"
class="btn-group btn-group-yesno"
default="1"
showon="type:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_YES</option>
<option value="0">
MOD_DAILYLIGHT_NO</option>
</field>
<!-- Show_body Field. Type: Radio. (joomla) -->
<field
type="radio"
name="show_body"
label="MOD_DAILYLIGHT_SHOW_BODY_LABEL"
class="btn-group btn-group-yesno"
default="1"
showon="type:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_YES</option>
<option value="0">
MOD_DAILYLIGHT_NO</option>
</field>
<!-- Show_references Field. Type: Radio. (joomla) -->
<field
type="radio"
name="show_references"
label="MOD_DAILYLIGHT_SHOW_REFERENCES_LABEL"
class="btn-group btn-group-yesno"
default="1"
showon="type:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_YES</option>
<option value="0">
MOD_DAILYLIGHT_NO</option>
</field>
<!-- Show_comments Field. Type: Radio. (joomla) -->
<field
type="radio"
name="show_comments"
label="MOD_DAILYLIGHT_SHOW_COMMENTS_LABEL"
description="MOD_DAILYLIGHT_SHOW_COMMENTS_DESCRIPTION"
class="btn-group btn-group-yesno"
default="0">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_YES</option>
<option value="0">
MOD_DAILYLIGHT_NO</option>
</field>
<!-- Comments_limit Field. Type: Number. (joomla) -->
<field
type="number"
name="comments_limit"
label="MOD_DAILYLIGHT_COMMENTS_LIMIT_LABEL"
class="text_area"
min="1"
max="20"
step="1"
showon="show_comments:1"
/>
<!-- Comments_colorful Field. Type: Radio. (joomla) -->
<field
type="radio"
name="comments_colorful"
label="MOD_DAILYLIGHT_COMMENTS_COLORFUL_LABEL"
class="btn-group btn-group-yesno"
default="0"
showon="show_comments:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_YES</option>
<option value="0">
MOD_DAILYLIGHT_NO</option>
</field>
<!-- Comments_height Field. Type: Number. (joomla) -->
<field
type="number"
name="comments_height"
label="MOD_DAILYLIGHT_COMMENTS_HEIGHT_LABEL"
description="MOD_DAILYLIGHT_COMMENTS_HEIGHT_DESCRIPTION"
class="text_area"
min="300"
max="2000"
step="10"
showon="show_comments:1"
/>
<!-- Link Field. Type: List. (joomla) -->
<field
type="list"
name="link"
label="MOD_DAILYLIGHT_LINK_LABEL"
description="MOD_DAILYLIGHT_LINK_DESCRIPTION"
class="list_class"
multiple="false"
default="1"
showon="type:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_TELEGRAM</option>
<option value="0">
MOD_DAILYLIGHT_NONE</option>
</field>
<!-- Show_date_footer Field. Type: Radio. (joomla) -->
<field
type="radio"
name="show_date_footer"
label="MOD_DAILYLIGHT_SHOW_DATE_FOOTER_LABEL"
class="btn-group btn-group-yesno"
default="0"
showon="type:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_YES</option>
<option value="0">
MOD_DAILYLIGHT_NO</option>
</field>
<!-- Width Field. Type: Number. (joomla) -->
<field
type="number"
name="width"
label="MOD_DAILYLIGHT_WIDTH_LABEL"
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_DAILYLIGHT_AUTHOR_PHOTO_LABEL"
class="list_class"
multiple="false"
default="1"
showon="type:2">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_AUTO</option>
<option value="2">
MOD_DAILYLIGHT_ALWAYS_SHOW</option>
<option value="3">
MOD_DAILYLIGHT_ALWAYS_HIDE</option>
</field>
<!-- Color Field. Type: List. (joomla) -->
<field
type="list"
name="color"
label="MOD_DAILYLIGHT_COLOR_LABEL"
class="list_class"
multiple="false"
default="1"
showon="type:2[OR]show_comments:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_DEFAULT</option>
<option value="2">
MOD_DAILYLIGHT_CYAN</option>
<option value="3">
MOD_DAILYLIGHT_GREEN</option>
<option value="4">
MOD_DAILYLIGHT_YELLOW</option>
<option value="5">
MOD_DAILYLIGHT_RED</option>
<option value="6">
MOD_DAILYLIGHT_WHITE</option>
<option value="7">
MOD_DAILYLIGHT_CUSTOM</option>
</field>
<!-- Custom_color Field. Type: Color. (joomla) -->
<field
type="color"
name="custom_color"
default="1"
label="MOD_DAILYLIGHT_CUSTOM_COLOR_LABEL"
showon="type:2[AND]color:7[OR]show_comments:1[AND]color:7"
/>
<!-- Theme Field. Type: Radio. (joomla) -->
<field
type="radio"
name="theme"
label="MOD_DAILYLIGHT_THEME_LABEL"
class="btn-group btn-group-yesno"
default="1"
showon="type:2[OR]show_comments:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYLIGHT_LIGHT_THEME</option>
<option value="2">
MOD_DAILYLIGHT_DARK_THEME</option>
</field>
</fieldset>
<!-- default paths of info fieldset points to the module -->
<fieldset name="info" label="MOD_DAILYLIGHT_DAILY_LIGHT"
addrulepath="/modules/mod_dailylight/rules"
addfieldpath="/modules/mod_dailylight/fields"
>
<!-- Daily_light_note Field. Type: Note. A None Database Field. (joomla) -->
<field type="note" name="daily_light_note" label="MOD_DAILYLIGHT_DAILY_LIGHT_NOTE_LABEL" description="MOD_DAILYLIGHT_DAILY_LIGHT_NOTE_DESCRIPTION" heading="h4" class="alert alert-success daily_light_note" />
</fieldset>
</fields>
</config>
</extension>