forked from JoomShaper/SP-Weather
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod_sp_weather.xml
81 lines (77 loc) · 3.66 KB
/
mod_sp_weather.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
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.3" client="site" method="upgrade">
<name>SP Weather</name>
<author>JoomShaper.com</author>
<creationDate>Sep 2012</creationDate>
<copyright>Copyright (C) 2010 - 2019 JoomShaper.com. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.joomshaper.com</authorUrl>
<version>2.3</version>
<description>Weather module by JoomShaper.com using openweathermap API.</description>
<languages>
<language tag="en-GB">language/en-GB.mod_sp_weather.ini</language>
</languages>
<files>
<filename module="mod_sp_weather">mod_sp_weather.php</filename>
<folder>tmpl/</folder>
<folder>assets/</folder>
<folder>language/</folder>
<filename>helper.php</filename>
</files>
<config>
<fields name="params">
<fieldset name="basic">
<field name="api_key" type="text" label="MOD_SPWEATHER_APIKEY" description="MOD_SPWEATHER_APIKEY_DESC" />
<field name="api_key_note" type="note" label="MOD_SPWEATHER_APIKEY_DESC" />
<field name="location" type="text" default="London" label="LOCATION" description="LOCATION_DESC" />
<field name="locationTranslated" type="text" default="" label="LOCATION_TRANSLATED" description="LOCATION_TRANSLATED_DESC" />
<field name="city" type="radio" class="btn-group" default="1" label="CITY" description="CITY_DESC">
<option value="0">HIDE</option>
<option value="1">SHOW</option>
</field>
<field name="condition" type="radio" class="btn-group" default="1" label="CONDITION" description="CONDITION_DESC">
<option value="0">HIDE</option>
<option value="1">SHOW</option>
</field>
<field name="humidity" type="radio" class="btn-group" default="1" label="HUMIDITY" description="HUMIDITY_DESC">
<option value="0">HIDE</option>
<option value="1">SHOW</option>
</field>
<field name="wind" type="radio" class="btn-group" default="1" label="WIND" description="WIND_DESC">
<option value="0">HIDE</option>
<option value="1">SHOW</option>
</field>
<field name="forecast" type="list" default="4" label="FORECAST" description="FORECAST_DESC">
<option value="1">1DAY</option>
<option value="2">2DAYS</option>
<option value="3">3DAYS</option>
<option value="4">4DAYS</option>
<option value="5">5DAYS</option>
<option value="6">6DAYS</option>
<option value="7">1WEEK</option>
<option value="disabled">DISABLED</option>
</field>
<field name="tmpl_layout" type="list" default="block" label="LAYOUT" description="LAYOUT_DESC">
<option value="block">BlOCK</option>
<option value="list">LIST</option>
</field>
<field name="separator" type="text" default="/" label="SEPARATOR" description="SEPARATOR_DESC" />
<field name="tempUnit" type="list" default="c" label="UNIT" description="UNIT_DESC">
<option value="c">CELSIUS</option>
<option value="f">FAHRENHEIT</option>
</field>
</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" default="" label="MODSFX" description="MODSFX_DESC" />
<field name="cache" type="hidden" default="0"/>
<field name="useCache" type="list" default="1" label="USECACHE" description="USECACHE_DESC">
<option value="1">ENABLED</option>
<option value="0">DISABLED</option>
</field>
<field name="cacheTime" type="text" default="900" label="CACHETIME" description="CACHETIME_DESC"/>
</fieldset>
</fields>
</config>
</extension>