-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_dailyscripture.xml
211 lines (207 loc) · 6.14 KB
/
mod_dailyscripture.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="4" client="site" method="upgrade">
<name>MOD_DAILYSCRIPTURE</name>
<creationDate>9th November, 2023</creationDate>
<author>Llewellyn van der Merwe</author>
<authorEmail>[email protected]</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.5</version>
<description>MOD_DAILYSCRIPTURE_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_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>
<!-- 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"
/>
<!-- 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="2">
MOD_DAILYSCRIPTURE_GETBIBLE</option>
<option value="1">
MOD_DAILYSCRIPTURE_TELEGRAM</option>
<option value="0">
MOD_DAILYSCRIPTURE_NONE</option>
</field>
<!-- 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"
showon="type:2[OR]show_comments:1">
<!-- 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[OR]show_comments:1[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[OR]show_comments:1">
<!-- Option Set. -->
<option value="1">
MOD_DAILYSCRIPTURE_LIGHT_THEME</option>
<option value="2">
MOD_DAILYSCRIPTURE_DARK_THEME</option>
</field>
</fieldset>
<!-- 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"
>
<!-- 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>
</fields>
</config>
</extension>