-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_telegram_bot_message.xml
108 lines (93 loc) · 4.05 KB
/
mod_telegram_bot_message.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
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.1" client="site" method="upgrade">
<name>Telegram bot message</name>
<author>Mykhailo Kulyk</author>
<creationDate>September 2022</creationDate>
<copyright>(C) 2006 Open Source Matters, Inc.</copyright>
<license>GNU General Public License v3.0; see LICENSE.txt</license>
<authorEmail>info@profisite.com.ua</authorEmail>
<authorUrl>www.profisite.com.ua</authorUrl>
<version>1.0.0</version>
<description></description>
<namespace path="src">Joomla\Module\TelegramBotMessage</namespace>
<files>
<folder>assets</folder>
<folder>forms</folder>
<folder>services</folder>
<folder>src</folder>
<folder>tmpl</folder>
<filename module="mod_telegram_bot_message">helper.php</filename>
<filename module="mod_telegram_bot_message">joomla.asset.json</filename>
</files>
<languages folder="languages">
<language tag="en-GB">en-GB/mod_telegram_bot_message.sys.ini</language>
<language tag="en-GB">en-GB/mod_telegram_bot_message.ini</language>
<language tag="ru-RU">ru-RU/mod_telegram_bot_message.sys.ini</language>
<language tag="ru-RU">ru-RU/mod_telegram_bot_message.ini</language>
<language tag="uk-UA">uk-UA/mod_telegram_bot_message.sys.ini</language>
<language tag="uk-UA">uk-UA/mod_telegram_bot_message.ini</language>
</languages>
<config>
<fields name="params">
<fieldset name="basic">
<field name="chat_id" type="text"
default=""
label="MOD_TELEGRAM_BOT_MESSAGE_CHAT_ID_LABEL"
size="5"
filter="integer"
/>
<field name="token" type="text"
default=""
label="MOD_TELEGRAM_BOT_MESSAGE_TOKEN_LABEL"
size="5"
/>
<field
name="use_captcha"
type="radio"
layout="joomla.form.field.radio.switcher"
label="MOD_TELEGRAM_BOT_MESSAGE_USE_CAPTCHA_LABEL"
default="1"
filter="integer"
>
<option value="0">JHIDE</option>
<option value="1">JSHOW</option>
</field>
</fieldset>
<fieldset name="advanced">
<field
name="layout"
type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL"
description="JFIELD_ALT_MODULE_LAYOUT_DESC"
validate="moduleLayout"
/>
<field
name="moduleclass_sfx"
type="textarea"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
rows="3"
/>
<field
name="cache"
type="list"
label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC"
default="1"
filter="integer"
>
<option value="1">JGLOBAL_USE_GLOBAL</option>
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
</field>
<field
name="cache_time"
type="number"
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
description="COM_MODULES_FIELD_CACHE_TIME_DESC"
default="900"
filter="integer"
/>
</fieldset>
</fields>
</config>
</extension>