config.xml
1.85 KB
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
<?xml version="1.0" encoding="utf-8"?>
<config>
<fieldset
name="templates"
label="COM_TEMPLATES_SUBMENU_TEMPLATES"
description="COM_TEMPLATES_CONFIG_FIELDSET_DESC">
<field
name="template_positions_display"
type="radio"
label="COM_TEMPLATES_CONFIG_POSITIONS_LABEL"
description="COM_TEMPLATES_CONFIG_POSITIONS_DESC"
class="btn-group btn-group-yesno"
default="0"
>
<option value="1">JENABLED</option>
<option value="0">JDISABLED</option>
</field>
<field
name="upload_limit"
type="number"
label="COM_TEMPLATES_CONFIG_UPLOAD_LABEL"
description="COM_TEMPLATES_CONFIG_UPLOAD_DESC"
default="10"
extension="com_templates"
/>
<field
name="warning"
type="note"
label="COM_TEMPLATES_CONFIG_SUPPORTED_LABEL"
description="COM_TEMPLATES_CONFIG_SUPPORTED_DESC"
/>
<field
name="image_formats"
type="text"
label="COM_TEMPLATES_CONFIG_IMAGE_LABEL"
description="COM_TEMPLATES_CONFIG_IMAGE_DESC"
default="gif,bmp,jpg,jpeg"
extension="com_templates"
/>
<field
name="source_formats"
type="text"
label="COM_TEMPLATES_CONFIG_SOURCE_LABEL"
description="COM_TEMPLATES_CONFIG_SOURCE_DESC"
default="txt,less,ini,xml,js,php,css,sass,scss"
extension="com_templates"
/>
<field
name="font_formats"
type="text"
label="COM_TEMPLATES_CONFIG_FONT_LABEL"
description="COM_TEMPLATES_CONFIG_FONT_DESC"
default="woff,ttf,otf"
extension="com_templates"
/>
<field
name="compressed_formats"
type="hidden"
default="zip"
extension="com_templates"
/>
</fieldset>
<fieldset
name="permissions"
label="JCONFIG_PERMISSIONS_LABEL"
description="JCONFIG_PERMISSIONS_DESC"
>
<field
name="rules"
type="rules"
label="JCONFIG_PERMISSIONS_LABEL"
filter="rules"
validate="rules"
component="com_templates"
section="component"
/>
</fieldset>
</config>