-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_2extend-gcse.xml
113 lines (101 loc) · 2.95 KB
/
mod_2extend-gcse.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
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* @copyright Copyright (c) 2014 R2H B.V. (http://www.r2h.nl). All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
-->
<extension type="module" version="3.0" client="site" method="upgrade">
<name>2Extend - Google Custom Search Element</name>
<author>Rick Spaan</author>
<creationDate>August 2014</creationDate>
<copyright>Copyright (c) 2014 2extend-gcse. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>http://www.r2h.nl</authorUrl>
<version>1.0.0</version>
<description>
<![CDATA[
<h4>Google Custom Search Element</h4>
<p>Go to: <a href="https://www.google.com/cse/create/new" target="_blank">Webmaster Tools Google Custom Search page</a> to create a key.</p>
]]>
</description>
<files>
<filename module="mod_2extend-gcse">mod_2extend-gcse.php</filename>
<filename>helper.php</filename>
<filename>index.html</filename>
<folder>tmpl</folder>
</files>
<media folder="media" destination="mod_2extend-gcse">
<folder>css</folder>
<folder>images</folder>
<folder>js</folder>
<filename>index.html</filename>
</media>
<languages>
<language tag="en-GB">en-GB.mod_2extend-gcse.ini</language>
<language tag="en-GB">en-GB.mod_2extend-gcse.sys.ini</language>
</languages>
<config>
<fields name="params">
<fieldset name="basic">
<field
name="gcsekey"
type="text"
default=""
label="Custom Search Key"
description="Add the Google Custom Search API key" />
</fieldset>
<fieldset name="options"
label="Options">
<field name="gcsestyle"
type="filelist"
default="black.css"
label="Select a file"
description=""
directory="media/mod_2extend-gcse/css"
filter="\.css"
exclude=""
stripext="" />
</fieldset>
<fieldset name="advanced">
<field
name="layout"
type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL"
description="JFIELD_ALT_MODULE_LAYOUT_DESC"
/>
<field
name="moduleclass_sfx"
type="text"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
/>
<field
name="cache"
type="list"
default="1"
label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC"
>
<option value="1">JGLOBAL_USE_GLOBAL</option>
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
</field>
<field
name="cache_time"
type="text"
default="900"
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
description="COM_MODULES_FIELD_CACHE_TIME_DESC"
/>
<field
name="cachemode"
type="hidden"
default="static"
>
<option value="static"></option>
</field>
</fieldset>
</fields>
</config>
</extension>