1<?xml version="1.0"?>
2<!-- This Source Code Form is subject to the terms of the Mozilla Public
3   - License, v. 2.0. If a copy of the MPL was not distributed with this
4   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5
6<?xml-stylesheet type="text/css" href="chrome://messenger/skin/messenger.css"?>
7<?xml-stylesheet type="text/css" href="chrome://calendar/skin/calendar-event-dialog.css"?>
8<?xml-stylesheet type="text/css" href="chrome://calendar/skin/shared/calendar-timezone-highlighter.css"?>
9<?xml-stylesheet type="text/css" href="chrome://calendar/skin/shared/widgets/minimonth.css"?>
10<?xml-stylesheet type="text/css" href="chrome://calendar/skin/shared/datetimepickers.css"?>
11<?xml-stylesheet type="text/css" href="chrome://messenger/skin/themeableDialog.css"?>
12
13<!DOCTYPE window [
14  <!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd" > %dtd1;
15  <!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
16  <!ENTITY % dtd3 SYSTEM "chrome://calendar/locale/calendar-event-dialog.dtd" > %dtd3;
17  <!ENTITY % dtd4 SYSTEM "chrome://calendar/locale/preferences/timezones.dtd" > %dtd4;
18]>
19
20<window id="calendar-event-dialog-timezone"
21        title="&timezone.title.label;"
22        windowtype="Calendar:EventDialog:Timezone"
23        onload="onLoad()"
24        persist="screenX screenY width height"
25        lightweightthemes="true"
26        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
27        xmlns:html="http://www.w3.org/1999/xhtml">
28
29<dialog>
30
31  <!-- Javascript includes -->
32  <script src="chrome://calendar/content/widgets/calendar-minimonth.js"/>
33  <script src="chrome://calendar/content/calendar-event-dialog-timezone.js"/>
34  <script src="chrome://calendar/content/calendar-dialog-utils.js"/>
35  <script src="chrome://calendar/content/calendar-ui-utils.js"/>
36  <script src="chrome://calendar/content/widgets/datetimepickers.js"/>
37  <script src="chrome://messenger/content/dialogShadowDom.js"/>
38
39  <hbox align="center">
40    <spacer flex="1"/>
41    <datetimepicker id="timezone-time" disabled="true"/>
42  </hbox>
43
44  <menulist id="timezone-menulist" oncommand="updateTimezone()">
45    <menupopup id="timezone-menupopup" style="height: 460px;"/>
46  </menulist>
47
48  <stack id="timezone-stack">
49    <html:img src="chrome://calendar/skin/shared/timezone_map.png"
50              alt="" />
51    <html:img id="highlighter"
52              src="chrome://calendar/skin/shared/timezones.png"
53              alt=""
54              class="timezone-highlight"
55              tzid="+0000" />
56  </stack>
57</dialog>
58</window>
59