-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mod_jowclock.xml
88 lines (88 loc) · 4.57 KB
/
mod_jowclock.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
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="2.5" client="site" method="upgrade">
<name>JowClock</name>
<author>Troy T. Hall</author>
<creationDate>05-03-2013</creationDate>
<copyright>JowWow</copyright>
<license>GNU General Public License v3. https://www.gnu.org/licenses/gpl.html</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>http://jowwow.me</authorUrl>
<version>1.1</version>
<releaseDate>05-03-2013</releaseDate>
<releaseType>Fork</releaseType>
<description>A live-clock based on Javascript and PHP. By using PHP together with Javascript this clock can get the time for a specified timezone trough PHPs much more advanced date() function and then keep the clock going with javascript. Supported timezones can be found at www.php.net/manual/en/timezones.php. Based on LeoClock 1.2.4</description>
<files>
<filename module="mod_jowclock">index.html</filename>
<filename module="mod_jowclock">mod_jowclock.php</filename>
<filename module="mod_jowclock">helper.php</filename>
<filename module="mod_jowclock">mod_jowclock.xml</filename>
<filename module="mod_jowclock">license.txt</filename>
<folder>tmpl</folder> <folder>css</folder>
</files>
<languages>
</languages>
<config>
<fields name="params">
<fieldset name="basic">
<field name="timezone" type="text" default="America/Chicago" label="Timezone" description="Specify the timezone to show." />
<field name="show-timezone" type="list" default="yes" label="Display the specified timezone?">
<option value="yes">Yes</option>
<option value="no">No</option>
</field>
<field name="timezone-format" type="list" default="full" label="How should the timezone be displayed if displayed?">
<option value="full">Full with continent.</option>
<option value="city">Just the city.</option>
<option value="custom">Custom Timezone.</option>
</field>
<field name="customTimezone" type="text" default="" label="Custom Timezone" description="Specify a custom string to show as the timezone. Custom Timezone must be selected as Timezone Format." />
<field name="timezone-position" type="list" default="suffix" label="Timezone Position" description="Timezone should be shown before or after the clock?">
<option value="after">After</option>
<option value="before">Before</option>
</field>
<field name="format" type="list" default="24h" label="What time format do you want, 24h or 12h?">
<option value="24h">24h</option>
<option value="12h">12h</option>
</field>
<field name="seconds" type="list" default="yes" label="Display seconds?">
<option value="yes">Yes</option>
<option value="no">No</option>
</field>
<field name="leadingZeros" type="list" default="yes" label="Use leading zeros?">
<option value="yes">Yes</option>
<option value="no">No</option>
</field>
<field name="date" type="list" default="format1" label="Display date?" description="Select whether you want the date to be displayed and in what format">>
<option value="no">No, don't display the date.</option>
<option value="format1">Yes. (YYYY-MM-DD)</option>
<option value="format2">Yes. (YYYY/MM/DD)</option>
<option value="format3">Yes. (DD/MM/YYYY)</option>
<option value="format4">Yes. (MM/DD/YYYY)</option>
<option value="format5">Yes. (16 Jan)</option>
<option value="format6">Yes. (Wed 16 Jan)</option>
<option value="format7">Yes. (Jan 16)</option>
<option value="format8">Yes. (Jan 16, 2013)</option>
<option value="format9">Yes. (Wed Jan 16)</option>
</field>
<field name="layout" type="list" default="horz" label="Use horizontal layout?">
<option value="horz">Yes</option>
<option value="vert">No</option>
</field>
<field name="daytype" type="list" default="short" label="Use short day names?">
<option value="short">Yes</option>
<option value="long">No</option>
</field>
<field name="monthtype" type="list" default="short" label="Use short month names?">
<option value="short">Yes</option>
<option value="long">No</option>
</field>
</fieldset>
<fieldset name="advanced">
<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="0" 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>
</fieldset>
</fields>
</config>
</extension>