2022-01-04 15:41:07 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2023-11-17 09:53:10 +00:00
|
|
|
<extension type="module" version="3.1" client="site" method="upgrade">
|
2022-01-04 15:41:07 +00:00
|
|
|
<name>MOD_DAILYSCRIPTURE</name>
|
2023-11-20 14:40:40 +00:00
|
|
|
<creationDate>20th November, 2023</creationDate>
|
2022-01-04 15:41:07 +00:00
|
|
|
<author>Llewellyn van der Merwe</author>
|
2022-01-04 16:09:08 +00:00
|
|
|
<authorEmail>joomla@vdm.io</authorEmail>
|
2023-07-26 09:21:40 +00:00
|
|
|
<authorUrl>https://getbible.net</authorUrl>
|
2022-01-04 15:41:07 +00:00
|
|
|
<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>
|
2023-11-10 08:52:15 +00:00
|
|
|
<version>1.2.1</version>
|
2022-01-04 15:41:07 +00:00
|
|
|
<description>MOD_DAILYSCRIPTURE_XML_DESCRIPTION</description>
|
|
|
|
|
2023-04-05 23:22:46 +00:00
|
|
|
<!-- Scripts to run on installation -->
|
|
|
|
<scriptfile>script.php</scriptfile>
|
|
|
|
|
2022-01-04 15:41:07 +00:00
|
|
|
<!-- 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>
|
2022-01-04 15:56:26 +00:00
|
|
|
<filename>README.md</filename>
|
2022-01-04 15:41:07 +00:00
|
|
|
<filename>helper.php</filename>
|
|
|
|
<filename>index.html</filename>
|
|
|
|
<folder>language</folder>
|
|
|
|
<folder>fields</folder>
|
|
|
|
<folder>rules</folder>
|
|
|
|
<folder>tmpl</folder>
|
|
|
|
</files>
|
|
|
|
|
|
|
|
<!-- Config parameter -->
|
2023-07-26 09:21:40 +00:00
|
|
|
<config>
|
2022-01-04 15:41:07 +00:00
|
|
|
<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"
|
|
|
|
>
|
2022-01-05 19:40:59 +00:00
|
|
|
<!-- 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>
|
2023-04-05 23:22:46 +00:00
|
|
|
<!-- Show_comments Field. Type: Radio. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="radio"
|
|
|
|
name="show_comments"
|
|
|
|
label="MOD_DAILYSCRIPTURE_SHOW_COMMENTS_LABEL"
|
|
|
|
description="MOD_DAILYSCRIPTURE_SHOW_COMMENTS_DESCRIPTION"
|
|
|
|
class="btn-group btn-group-yesno"
|
|
|
|
default="0">
|
|
|
|
<!-- Option Set. -->
|
|
|
|
<option value="1">
|
|
|
|
MOD_DAILYSCRIPTURE_YES</option>
|
|
|
|
<option value="0">
|
|
|
|
MOD_DAILYSCRIPTURE_NO</option>
|
|
|
|
</field>
|
|
|
|
<!-- Comments_limit Field. Type: Number. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="number"
|
|
|
|
name="comments_limit"
|
|
|
|
label="MOD_DAILYSCRIPTURE_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_DAILYSCRIPTURE_COMMENTS_COLORFUL_LABEL"
|
|
|
|
class="btn-group btn-group-yesno"
|
|
|
|
default="0"
|
|
|
|
showon="show_comments:1">
|
|
|
|
<!-- Option Set. -->
|
|
|
|
<option value="1">
|
|
|
|
MOD_DAILYSCRIPTURE_YES</option>
|
|
|
|
<option value="0">
|
|
|
|
MOD_DAILYSCRIPTURE_NO</option>
|
|
|
|
</field>
|
|
|
|
<!-- Comments_height Field. Type: Number. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="number"
|
|
|
|
name="comments_height"
|
|
|
|
label="MOD_DAILYSCRIPTURE_COMMENTS_HEIGHT_LABEL"
|
|
|
|
description="MOD_DAILYSCRIPTURE_COMMENTS_HEIGHT_DESCRIPTION"
|
|
|
|
class="text_area"
|
|
|
|
min="300"
|
|
|
|
max="2000"
|
|
|
|
step="10"
|
|
|
|
showon="show_comments:1"
|
|
|
|
/>
|
2023-11-10 08:28:35 +00:00
|
|
|
<!-- Link Field. Type: List. (joomla) -->
|
2022-01-04 15:41:07 +00:00
|
|
|
<field
|
2023-11-10 08:28:35 +00:00
|
|
|
type="list"
|
2022-01-04 15:41:07 +00:00
|
|
|
name="link"
|
|
|
|
label="MOD_DAILYSCRIPTURE_LINK_LABEL"
|
|
|
|
description="MOD_DAILYSCRIPTURE_LINK_DESCRIPTION"
|
2023-11-10 08:28:35 +00:00
|
|
|
class="list_class"
|
|
|
|
multiple="false"
|
2022-01-05 19:40:59 +00:00
|
|
|
default="1"
|
|
|
|
showon="type:1">
|
2022-01-04 15:41:07 +00:00
|
|
|
<!-- Option Set. -->
|
2023-07-26 09:21:40 +00:00
|
|
|
<option value="2">
|
|
|
|
MOD_DAILYSCRIPTURE_GETBIBLE</option>
|
2023-11-10 08:28:35 +00:00
|
|
|
<option value="3">
|
|
|
|
MOD_DAILYSCRIPTURE_LOCAL_GETBIBLE</option>
|
2022-01-04 15:41:07 +00:00
|
|
|
<option value="1">
|
2023-07-26 09:21:40 +00:00
|
|
|
MOD_DAILYSCRIPTURE_TELEGRAM</option>
|
2022-01-04 15:41:07 +00:00
|
|
|
<option value="0">
|
2023-07-26 09:21:40 +00:00
|
|
|
MOD_DAILYSCRIPTURE_NONE</option>
|
2022-01-04 15:41:07 +00:00
|
|
|
</field>
|
2023-11-10 08:28:35 +00:00
|
|
|
<!-- Local_link Field. Type: Text. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="text"
|
|
|
|
name="local_link"
|
|
|
|
label="MOD_DAILYSCRIPTURE_LOCAL_LINK_LABEL"
|
|
|
|
size="50"
|
|
|
|
maxlength="150"
|
|
|
|
description="MOD_DAILYSCRIPTURE_LOCAL_LINK_DESCRIPTION"
|
|
|
|
class="text_area"
|
|
|
|
filter="STRING"
|
|
|
|
message="MOD_DAILYSCRIPTURE_LOCAL_LINK_MESSAGE"
|
|
|
|
hint="MOD_DAILYSCRIPTURE_LOCAL_LINK_HINT"
|
|
|
|
autocomplete="on"
|
|
|
|
showon="type:1[AND]link:3"
|
|
|
|
/>
|
2022-01-05 19:40:59 +00:00
|
|
|
<!-- Width Field. Type: Number. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="number"
|
|
|
|
name="width"
|
|
|
|
label="MOD_DAILYSCRIPTURE_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_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"
|
2023-04-05 23:22:46 +00:00
|
|
|
showon="type:2[OR]show_comments:1">
|
2022-01-05 19:40:59 +00:00
|
|
|
<!-- 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"
|
2023-04-05 23:22:46 +00:00
|
|
|
showon="type:2[AND]color:7[OR]show_comments:1[AND]color:7"
|
2022-01-05 19:40:59 +00:00
|
|
|
/>
|
|
|
|
<!-- Theme Field. Type: Radio. (joomla) -->
|
|
|
|
<field
|
|
|
|
type="radio"
|
|
|
|
name="theme"
|
|
|
|
label="MOD_DAILYSCRIPTURE_THEME_LABEL"
|
|
|
|
class="btn-group btn-group-yesno"
|
|
|
|
default="1"
|
2023-04-05 23:22:46 +00:00
|
|
|
showon="type:2[OR]show_comments:1">
|
2022-01-05 19:40:59 +00:00
|
|
|
<!-- Option Set. -->
|
|
|
|
<option value="1">
|
|
|
|
MOD_DAILYSCRIPTURE_LIGHT_THEME</option>
|
|
|
|
<option value="2">
|
|
|
|
MOD_DAILYSCRIPTURE_DARK_THEME</option>
|
|
|
|
</field>
|
2022-01-04 15:41:07 +00:00
|
|
|
</fieldset>
|
2023-07-26 09:21:40 +00:00
|
|
|
<!-- default paths of info fieldset points to the module -->
|
|
|
|
<fieldset name="info" label="MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE"
|
|
|
|
addrulepath="/modules/mod_dailyscripture/rules"
|
|
|
|
addfieldpath="/modules/mod_dailyscripture/fields"
|
|
|
|
>
|
2023-04-05 23:22:46 +00:00
|
|
|
<!-- Daily_scripture_note Field. Type: Note. A None Database Field. (joomla) -->
|
|
|
|
<field type="note" name="daily_scripture_note" label="MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_LABEL" description="MOD_DAILYSCRIPTURE_DAILY_SCRIPTURE_NOTE_DESCRIPTION" heading="h4" class="alert alert-success daily_scripture_note" />
|
|
|
|
</fieldset>
|
2022-01-04 15:41:07 +00:00
|
|
|
</fields>
|
|
|
|
</config>
|
|
|
|
</extension>
|