2002-03-15 17:41:22 +03:00
|
|
|
<?xml version="1.0"?>
|
2002-03-14 22:54:03 +03:00
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
|
|
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
-
|
|
|
|
- The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
- 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
- the License. You may obtain a copy of the License at
|
|
|
|
- http://www.mozilla.org/MPL/
|
|
|
|
-
|
|
|
|
- Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
- for the specific language governing rights and limitations under the
|
|
|
|
- License.
|
|
|
|
-
|
|
|
|
- The Original Code is OEone Calendar Code, released October 31st, 2001.
|
|
|
|
-
|
|
|
|
- The Initial Developer of the Original Code is
|
|
|
|
- OEone Corporation.
|
|
|
|
- Portions created by the Initial Developer are Copyright (C) 2001
|
|
|
|
- the Initial Developer. All Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s): Garth Smedley <garths@oeone.com>
|
|
|
|
- Mike Potter <mikep@oeone.com>
|
|
|
|
- Colin Phillips <colinp@oeone.com>
|
|
|
|
- Chris Charabaruk <coldacid@meldstar.com>
|
2002-03-28 18:03:39 +03:00
|
|
|
- Karl Guertin <grayrest@grayrest.com>
|
2002-04-02 23:51:22 +04:00
|
|
|
- Dan Parent <danp@oeone.com>
|
2002-07-30 23:19:50 +04:00
|
|
|
- ArentJan Banck <ajbanck@planet.nl>
|
2002-03-14 22:54:03 +03:00
|
|
|
-
|
|
|
|
- Alternatively, the contents of this file may be used under the terms of
|
|
|
|
- either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
- in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
- of those above. If you wish to allow use of your version of this file only
|
|
|
|
- under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
- use your version of this file under the terms of the MPL, indicate your
|
|
|
|
- decision by deleting the provisions above and replace them with the notice
|
|
|
|
- and other provisions required by the LGPL or the GPL. If you do not delete
|
|
|
|
- the provisions above, a recipient may use your version of this file under
|
|
|
|
- the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
-
|
|
|
|
- ***** END LICENSE BLOCK ***** -->
|
|
|
|
|
|
|
|
<!-- Style sheets -->
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://calendar/skin/calendar.css" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/communicator.css" type="text/css"?>
|
|
|
|
|
|
|
|
<!-- Overlays -->
|
|
|
|
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://calendar/content/calendarMenuOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://calendar/content/datepicker/datepicker-overlay.xul"?>
|
|
|
|
|
|
|
|
<?xul-overlay href="chrome://calendar/content/calendarDayView.xul"?>
|
|
|
|
<?xul-overlay href="chrome://calendar/content/calendarWeekView.xul"?>
|
|
|
|
<?xul-overlay href="chrome://calendar/content/calendarMonthView.xul"?>
|
|
|
|
|
|
|
|
<!-- DTDs -->
|
|
|
|
|
|
|
|
<!-- DTD File with all strings specific to the calendar -->
|
|
|
|
<!DOCTYPE window
|
|
|
|
[
|
|
|
|
<!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd" > %dtd1;
|
|
|
|
<!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
|
2002-04-03 22:33:55 +04:00
|
|
|
<!ENTITY % calendarMenuOverlayDTD SYSTEM "chrome://calendar/locale/calendarMenuOverlay.dtd" > %calendarMenuOverlayDTD;
|
2002-03-14 22:54:03 +03:00
|
|
|
]>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- The Window -->
|
|
|
|
|
|
|
|
<window
|
|
|
|
id="calendar-window"
|
|
|
|
title="&window.title;"
|
|
|
|
onload="calendarInit()"
|
|
|
|
onunload="calendarFinish()"
|
2002-03-22 21:11:07 +03:00
|
|
|
windowtype="calendarMainWindow"
|
2002-03-14 22:54:03 +03:00
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2002-03-28 18:03:39 +03:00
|
|
|
persist="screenX screenY width height sizemode">
|
2002-03-14 22:54:03 +03:00
|
|
|
|
2002-07-02 21:07:38 +04:00
|
|
|
<commandset id="calendar_commands">
|
2002-06-05 23:24:28 +04:00
|
|
|
<command id="new_command" oncommand="newEventCommand()"/>
|
2002-07-25 21:05:46 +04:00
|
|
|
<command id="delete_command" oncommand="unifinderDeleteCommand( )" disabled="true"/>
|
|
|
|
<command id="delete_command_no_confirm" oncommand="unifinderDeleteCommand( true )" disabled="true"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<command id="modify_command" oncommand="unifinderEditCommand()" disabled="true"/>
|
|
|
|
<command id="send_event_command" oncommand="sendEvent()" disabled="true"/>
|
2002-08-16 00:14:46 +04:00
|
|
|
<command id="print_command" oncommand="print()" disabled="true"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<command id="cut_command" oncommand="cutToClipboard()" disabled="true"/>
|
|
|
|
<command id="copy_command" oncommand="copyToClipboard()" disabled="true"/>
|
|
|
|
<command id="paste_command" oncommand="pasteFromClipboard()"/>
|
|
|
|
<command id="select_all_command" oncommand="selectAllEvents()"/>
|
|
|
|
|
2002-07-03 21:10:50 +04:00
|
|
|
<command id="new_todo_command" oncommand="newToDoCommand()"/>
|
2002-07-30 23:19:50 +04:00
|
|
|
<command id="delete_todo_command" oncommand="unifinderDeleteToDoCommand()"/>
|
2002-07-03 21:10:50 +04:00
|
|
|
|
2002-08-22 18:33:32 +04:00
|
|
|
<command id="new_server_command" oncommand="gCalendarWindow.calendarManager.launchAddCalendarDialog()"/>
|
|
|
|
<command id="delete_server_command" oncommand="gCalendarWindow.calendarManager.deleteCalendar()"/>
|
|
|
|
|
2002-06-05 23:24:28 +04:00
|
|
|
<command id="next_command" oncommand="gCalendarWindow.currentView.goToNext()"/>
|
|
|
|
<command id="previous_command" oncommand="gCalendarWindow.currentView.goToPrevious()"/>
|
|
|
|
<command id="go_today_command" oncommand="gCalendarWindow.goToToday()"/>
|
|
|
|
|
|
|
|
<command id="day_view_command" oncommand="gCalendarWindow.switchToDayView()" disabled="true"/>
|
|
|
|
<command id="week_view_command" oncommand="gCalendarWindow.switchToWeekView()" disabled="true"/>
|
|
|
|
<command id="month_view_command" oncommand="gCalendarWindow.switchToMonthView()" disabled="true"/>
|
|
|
|
|
|
|
|
<command id="import_command" oncommand="loadEventsFromFile()"/>
|
|
|
|
<command id="export_command" oncommand="saveEventsToFile()"/>
|
2002-07-03 21:10:50 +04:00
|
|
|
|
2002-08-23 20:33:29 +04:00
|
|
|
<command id="refresh_remote_calendars" oncommand="gCalendarWindow.calendarManager.refreshAllRemoteCalendars()"/>
|
|
|
|
|
2002-07-03 21:10:50 +04:00
|
|
|
<command id="close_calendar_command" oncommand="closeCalendar()"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
</commandset>
|
2002-03-21 20:21:12 +03:00
|
|
|
|
|
|
|
<keyset>
|
2002-07-25 21:05:46 +04:00
|
|
|
<key id="delete_key" keycode="VK_DELETE" observes="delete_command_no_confirm"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<key id="new_event_key" key="N" modifiers="control" observes="new_command"/>
|
2002-07-05 22:41:18 +04:00
|
|
|
<key id="new_todo_key" key="M" modifiers="control" observes="new_todo_command"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<key id="modify_event_key" key="E" modifiers="control" observes="modify_command"/>
|
2002-08-16 00:14:46 +04:00
|
|
|
<key id="print_key" key="P" modifiers="control" observes="print_command"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<key id="import_key" key="I" modifiers="control" observes="import_command"/>
|
|
|
|
<key id="export_key" key="O" modifiers="control" observes="export_command"/>
|
|
|
|
|
|
|
|
<key id="key_selectAll" key="A" modifiers="control" observes="select_all_command"/>
|
|
|
|
<key id="key_cut" key="X" modifiers="control" observes="cut_command"/>
|
2002-06-06 17:13:35 +04:00
|
|
|
<key id="key_copy" key="C" modifiers="control" observes="copy_command"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<key id="key_paste" key="V" modifiers="control" observes="paste_command"/>
|
|
|
|
|
|
|
|
<key id="view_day_key" keycode="VK_F1" observes="day_view_command"/>
|
|
|
|
<key id="view_week_key" keycode="VK_F2" observes="week_view_command"/>
|
|
|
|
<key id="view_month_key" keycode="VK_F3" observes="month_view_command"/>
|
|
|
|
|
|
|
|
<key id="go_forward_key" keycode="VK_PAGE_UP" observes="previous_command"/>
|
|
|
|
<key id="go_backward_key" keycode="VK_PAGE_DOWN" observes="next_command"/>
|
|
|
|
<key id="go_to_today_key" key="T" modifiers="control" observes="go_today_command"/>
|
2002-03-21 20:21:12 +03:00
|
|
|
</keyset>
|
|
|
|
|
2002-06-05 18:56:34 +04:00
|
|
|
<keyset id="tasksKeys"/>
|
|
|
|
|
2002-03-14 22:54:03 +03:00
|
|
|
<!-- Javascript DTD To Variable -->
|
|
|
|
<script type="application/x-javascript">
|
|
|
|
var confirmDeleteEvent = "&calendar.confirm.deleteevent;";
|
|
|
|
var confirmDeleteUntitledEvent = "&calendar.confirm.deleteuntitledevent;";
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<!-- Javascript includes -->
|
|
|
|
|
2002-08-22 18:33:32 +04:00
|
|
|
<!-- NEEDED FOR MULTIPLE CALENDAR SUPPORT -->
|
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendarManager.js"/>
|
|
|
|
|
2002-05-06 23:27:50 +04:00
|
|
|
<!-- NEEDED FOR CLIPBOARD SUPPORT -->
|
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendarClipboard.js"/>
|
|
|
|
|
2002-05-22 21:13:35 +04:00
|
|
|
<!-- NEEDED FOR IMPORT / EXPORT SUPPORT -->
|
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendarImportExport.js"/>
|
|
|
|
|
2002-04-02 23:51:22 +04:00
|
|
|
<!-- NEEDED FOR MAIL SUPPORT -->
|
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendarMail.js"/>
|
2002-04-04 02:14:18 +04:00
|
|
|
|
2002-08-26 19:15:52 +04:00
|
|
|
<!-- NEEDED FOR PUBLICATION SUPPORT -->
|
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendarPublish.js"/>
|
|
|
|
|
2002-03-14 22:54:03 +03:00
|
|
|
<!-- NEEDED FOR DATE UTILS -->
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/dateUtils.js"/>
|
|
|
|
|
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendar.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendarEvent.js"/>
|
2002-04-01 23:52:51 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendarSelection.js"/>
|
2002-04-10 18:38:06 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/calendarWindow.js"/>
|
2002-05-06 23:11:19 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/unifinder.js"/>
|
2002-06-27 21:59:51 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/unifinderToDo.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://calendar/content/pref/rootCalendarPref.js"/>
|
|
|
|
|
2002-03-14 22:54:03 +03:00
|
|
|
|
2002-08-22 18:33:32 +04:00
|
|
|
<!-- GENERAL CONTEXT MENU -->
|
2002-03-28 18:03:39 +03:00
|
|
|
<popup id="context-menu">
|
2002-06-05 23:24:28 +04:00
|
|
|
<menuitem label="&calendar.context.newevent.label;" accesskey="&calendar.context.newevent.accesskey;" observes="new_command"/>
|
2002-07-05 22:41:18 +04:00
|
|
|
<menuitem label="&calendar.context.newtodo.label;" accesskey="&calendar.context.newtodo.accesskey;" observes="new_todo_command"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<menuitem label="&calendar.context.modifyevent.label;" accesskey="&calendar.context.modifyevent.accesskey;" observes="modify_command" />
|
|
|
|
<menuitem label="&calendar.context.deleteevent.label;" accesskey="&calendar.context.deleteevent.accesskey;" observes="delete_command"/>
|
2002-05-23 20:41:33 +04:00
|
|
|
|
|
|
|
<menuseparator/>
|
2002-07-25 16:32:36 +04:00
|
|
|
<menuitem label="&calendar.context.cutevent.label;" accesskey="&calendar.context.cutevent.accesskey;" observes="cut_command"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<menuitem label="&calendar.context.copyevent.label;" accesskey="&calendar.context.copyevent.accesskey;" observes="copy_command"/>
|
|
|
|
<menuitem label="&calendar.context.pasteevent.label;" accesskey="&calendar.context.pasteevent.accesskey;" observes="paste_command"/>
|
2002-03-28 17:31:09 +03:00
|
|
|
<menuseparator/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<menuitem label="&calendar.context.selectall.label;" accesskey="&calendar.context.selectall.accesskey;" observes="select_all_command"/>
|
2002-03-28 17:31:09 +03:00
|
|
|
<menuseparator/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<menuitem label="&calendar.context.gototoday.label;" accesskey="&calendar.context.gototoday.accesskey;" observes="go_today_command"/>
|
2002-05-23 20:41:33 +04:00
|
|
|
<menuseparator/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<menuitem label="&calendar.context.dayview.label;" accesskey="&calendar.context.dayview.accesskey;" observes="day_view_command"/>
|
|
|
|
<menuitem label="&calendar.context.weekview.label;" accesskey="&calendar.context.weekview.accesskey;" observes="week_view_command"/>
|
|
|
|
<menuitem label="&calendar.context.monthview.label;" accesskey="&calendar.context.monthview.accesskey;" observes="month_view_command"/>
|
2002-05-23 20:41:33 +04:00
|
|
|
|
2002-03-28 17:31:09 +03:00
|
|
|
<menuseparator/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<menuitem label="&calendar.context.emailevent.label;" accesskey="&calendar.context.emailevent.accesskey;" observes="send_event_command"/>
|
2002-05-23 20:41:33 +04:00
|
|
|
|
2002-04-03 22:33:55 +04:00
|
|
|
<menuseparator/>
|
2002-05-23 20:41:33 +04:00
|
|
|
<menuitem label="&calendar.context.reload.label;" accesskey="&calendar.context.reload.accesskey;" oncommand="window.location = 'chrome://calendar/content/calendar.xul';"/>
|
2002-08-22 18:33:32 +04:00
|
|
|
|
2002-03-28 18:03:39 +03:00
|
|
|
</popup>
|
2002-03-14 22:54:03 +03:00
|
|
|
|
2002-08-22 18:33:32 +04:00
|
|
|
<!-- TASK ITEM CONTEXT MENU -->
|
2002-07-30 23:19:50 +04:00
|
|
|
<popup id="taskitem-context-menu">
|
2002-08-22 18:33:32 +04:00
|
|
|
<!--
|
2002-08-02 18:53:59 +04:00
|
|
|
<menuitem label="&calendar.context.modifytask.label;" accesskey="&calendar.context.modifytask.accesskey;" observes="modify_command"/>
|
|
|
|
<menuitem label="&calendar.context.emailtask.label;" accesskey="&calendar.context.emailtask.accesskey;" observes="send_event_command"/>
|
|
|
|
<menuseparator/>
|
2002-08-22 18:33:32 +04:00
|
|
|
-->
|
2002-07-30 23:19:50 +04:00
|
|
|
<menuitem label="&calendar.context.deletetask.label;" accesskey="&calendar.context.deletetask.accesskey;" observes="delete_todo_command"/>
|
2002-08-22 18:33:32 +04:00
|
|
|
<menu label="&calendar.context.progress.label;" accesskey="&calendar.context.progress.accesskey;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="0%" oncommand="contextChangeProgress( event, 0 );"/>
|
|
|
|
<menuitem label="25%" oncommand="contextChangeProgress( event, 25 );"/>
|
|
|
|
<menuitem label="50%" oncommand="contextChangeProgress( event, 50 );"/>
|
|
|
|
<menuitem label="75%" oncommand="contextChangeProgress( event, 75 );"/>
|
|
|
|
<menuitem label="100%" oncommand="contextChangeProgress( event, 100 );"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&calendar.context.priority.label;" accesskey="&calendar.context.priority.accesskey;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&priority.level.none;" oncommand="contextChangePriority( event, 0 );"/>
|
|
|
|
<menuitem label="&priority.level.low;" oncommand="contextChangePriority( event, 9 );"/>
|
|
|
|
<menuitem label="&priority.level.medium;" oncommand="contextChangePriority( event, 5 );"/>
|
|
|
|
<menuitem label="&priority.level.high;" oncommand="contextChangePriority( event, 1 );"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
2002-07-30 23:19:50 +04:00
|
|
|
</popup>
|
|
|
|
|
2002-08-23 20:33:29 +04:00
|
|
|
<!-- CALENDAR LIST CONTEXT MENU -->
|
|
|
|
<popup id="calendarlist-context-menu">
|
|
|
|
<menuitem label="&calendar.context.newserver.label;" observes="new_server_command"/>
|
|
|
|
<menuitem label="&calendar.context.refreshserver.label;" observes="refresh_remote_calendars"/>
|
|
|
|
</popup>
|
|
|
|
|
|
|
|
|
2002-03-28 18:03:39 +03:00
|
|
|
<popup id="oe-date-picker-popup" position="after_start" oncommand="gCalendarWindow.goToDay( date )" value=""/>
|
2002-03-14 22:54:03 +03:00
|
|
|
|
2002-01-10 07:19:19 +03:00
|
|
|
<commandset id="commands"/>
|
2002-03-14 22:54:03 +03:00
|
|
|
|
2002-03-21 20:21:12 +03:00
|
|
|
<toolbox id="calendar-toolbox" class="toolbox-top" deferattached="true">
|
|
|
|
<!-- Menu -->
|
2002-08-27 00:53:52 +04:00
|
|
|
<menubar id="main-menubar" persist="collapsed"/>
|
2002-03-21 20:21:12 +03:00
|
|
|
|
2002-08-27 00:53:52 +04:00
|
|
|
<toolbar class="toolbar-primary chromeclass-toolbar" id="calendar-bar" persist="collapsed" tbalign="stretch">
|
2002-08-16 21:41:09 +04:00
|
|
|
<!--<toolbarbutton class="toolbarbutton-1" id="calendar-new-task-button" label="&calendar.newtask.button.label;" tooltiptext="&calendar.newtask.button.tooltip;" observes="new_todo_command"/>-->
|
2002-06-05 23:24:28 +04:00
|
|
|
<toolbarbutton class="toolbarbutton-1" id="calendar-new-event-button" label="&calendar.newevent.button.label;" tooltiptext="&calendar.newevent.button.tooltip;" observes="new_command"/>
|
|
|
|
<toolbarbutton class="toolbarbutton-1" id="calendar-edit-event-button" label="&calendar.edit.button.label;" tooltiptext="&calendar.edit.button.tooltip;" observes="modify_command"/>
|
|
|
|
<toolbarbutton class="toolbarbutton-1" id="calendar-delete-event-button" label="&calendar.delete.button.label;" tooltiptext="&calendar.delete.button.tooltip;" observes="delete_command"/>
|
2002-03-21 20:21:12 +03:00
|
|
|
<toolbarseparator class="toolbarseparator-primary"/>
|
2002-04-09 00:29:01 +04:00
|
|
|
<toolbarbutton class="toolbarbutton-1" id="calendar-choose-date-button" label="&calendar.choosedate.button.label;" tooltiptext="&calendar.choosedate.button.tooltip;" onmousedown="prepareChooseDate()" popup="oe-date-picker-popup"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<toolbarbutton class="toolbarbutton-1" id="calendar-go-to-today-button" label="&calendar.gototoday.button.label;" tooltiptext="&calendar.gototoday.button.tooltip;" observes="go_today_command"/>
|
2002-03-21 20:21:12 +03:00
|
|
|
<toolbarseparator class="toolbarseparator-primary"/>
|
2002-06-05 23:24:28 +04:00
|
|
|
<toolbarbutton class="toolbarbutton-1" id="calendar-day-view-button" label="&calendar.dayview.button.label;" tooltiptext="&calendar.dayview.button.tooltip;" observes="day_view_command"/>
|
|
|
|
<toolbarbutton class="toolbarbutton-1" id="calendar-week-view-button" label="&calendar.weekview.button.label;" tooltiptext="&calendar.weekview.button.tooltip;" observes="week_view_command"/>
|
|
|
|
<toolbarbutton class="toolbarbutton-1" id="calendar-month-view-button" label="&calendar.monthview.button.label;" tooltiptext="&calendar.monthview.button.tooltip;" observes="month_view_command"/>
|
2002-03-21 20:21:12 +03:00
|
|
|
<spacer flex="1"/>
|
|
|
|
<hbox id="throbber-box" align="center">
|
|
|
|
<button id="navigator-throbber" oncommand="goClickThrobber('browser.throbber.url')"
|
|
|
|
tooltiptext="&throbber.tooltip;"/>
|
|
|
|
</hbox>
|
|
|
|
</toolbar>
|
|
|
|
</toolbox>
|
2002-03-14 22:54:03 +03:00
|
|
|
|
2002-08-27 00:53:52 +04:00
|
|
|
<tooltip id="savetip" onpopupshowing="return( checkTooltip() );"/>
|
2002-03-14 22:54:03 +03:00
|
|
|
|
|
|
|
<!-- V I S I B L E C O N T E N T -->
|
|
|
|
|
2002-08-23 00:15:15 +04:00
|
|
|
<vbox id="calendar-top-box" flex="1" context="context-menu" >
|
2002-05-06 23:11:19 +04:00
|
|
|
|
2002-08-16 21:41:09 +04:00
|
|
|
<!-- Calendar Controls-->
|
|
|
|
|
|
|
|
<hbox id="calendar-content-box" flex="1">
|
2002-03-14 22:54:03 +03:00
|
|
|
|
2002-08-26 19:19:06 +04:00
|
|
|
<vbox id="left-hand-content" flex="1" persist="width">
|
2002-08-16 21:41:09 +04:00
|
|
|
<vbox id="left-hand-above-splitter" flex="1">
|
2002-08-22 18:33:32 +04:00
|
|
|
<listbox id="list-calendars-listbox" class="unifinder-tree-class" flex="1"
|
2002-08-23 20:33:29 +04:00
|
|
|
ondragover="return( false );" contextmenu="calendarlist-context-menu">
|
|
|
|
<listhead>
|
2002-08-28 00:06:09 +04:00
|
|
|
<listheader flex="1" crop="end" label="Calendars"/>
|
2002-08-23 20:33:29 +04:00
|
|
|
</listhead>
|
2002-08-22 18:33:32 +04:00
|
|
|
<listcols>
|
|
|
|
<listcol flex="1"/>
|
|
|
|
</listcols>
|
|
|
|
</listbox>
|
2002-04-08 19:32:23 +04:00
|
|
|
</vbox>
|
2002-08-26 19:15:52 +04:00
|
|
|
<splitter id="calendar-todo-splitter" collapse="after" persist="state"
|
2002-08-26 19:19:06 +04:00
|
|
|
class="chromeclass-extrachrome" orient="vertical">
|
2002-08-16 21:41:09 +04:00
|
|
|
<grippy/>
|
|
|
|
</splitter>
|
2002-08-26 19:19:06 +04:00
|
|
|
<vbox id="left-hand-below-splitter" flex="1" persist="height">
|
2002-08-16 21:41:09 +04:00
|
|
|
<box align="left">
|
2002-08-28 00:06:09 +04:00
|
|
|
<label flex="1" crop="end" style="font-weight: bold" value="&calendar.unifinder.todoitems.label;"/>
|
2002-08-16 21:41:09 +04:00
|
|
|
</box>
|
|
|
|
<box align="center">
|
2002-08-28 00:06:09 +04:00
|
|
|
<checkbox id="only-completed-checkbox" label="&calendar.unifinder.hidecompletedtodos.label;" flex="1" crop="end" oncommand="toDoUnifinderRefresh( event )" persist="checked"/>
|
2002-08-16 21:41:09 +04:00
|
|
|
</box>
|
|
|
|
|
2002-08-27 00:53:52 +04:00
|
|
|
<tree id="unifinder-todo-tree" flex="1" enableColumnDrag="false">
|
2002-08-16 21:41:09 +04:00
|
|
|
<treecols id="unifinder-todo-tree-cols">
|
|
|
|
<treecol id="unifinder-todo-tree-col-completed"
|
2002-08-27 17:31:25 +04:00
|
|
|
persist="hidden ordinal width" width="18"
|
2002-08-16 21:41:09 +04:00
|
|
|
label="&calendar.unifinder.tree.done.label;">
|
2002-08-22 18:33:32 +04:00
|
|
|
<image id="checkboximg" contextmenu="taskitem-context-menu"/>
|
2002-08-16 21:41:09 +04:00
|
|
|
</treecol>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="unifinder-todo-tree-col-priority"
|
2002-08-27 17:31:25 +04:00
|
|
|
persist="hidden ordinal width" width="18"
|
2002-08-16 21:41:09 +04:00
|
|
|
label="&calendar.unifinder.tree.priority.label;">
|
2002-08-22 18:33:32 +04:00
|
|
|
<image id="priorityimg" contextmenu="taskitem-context-menu"/>
|
2002-08-16 21:41:09 +04:00
|
|
|
</treecol>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="unifinder-todo-tree-col-title"
|
|
|
|
persist="hidden ordinal width" flex="1"
|
|
|
|
label="&calendar.unifinder.tree.title.label;" />
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="unifinder-todo-tree-col-startdate"
|
|
|
|
persist="hidden ordinal width"
|
|
|
|
hidden="true"
|
|
|
|
flex="1" label="&calendar.unifinder.tree.startdate.label;"/>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="unifinder-todo-tree-col-duedate"
|
|
|
|
persist="hidden ordinal width"
|
|
|
|
hidden="true"
|
|
|
|
flex="1" label="&calendar.unifinder.tree.duedate.label;"/>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="unifinder-todo-tree-col-completeddate"
|
|
|
|
persist="hidden ordinal width"
|
|
|
|
hidden="true"
|
|
|
|
flex="1" label="&calendar.unifinder.tree.completeddate.label;"/>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="unifinder-todo-tree-col-percentcomplete"
|
|
|
|
persist="hidden ordinal width"
|
|
|
|
hidden="true"
|
|
|
|
flex="1" label="&calendar.unifinder.tree.percentcomplete.label;"/>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="unifinder-todo-tree-col-categories"
|
|
|
|
persist="hidden ordinal width"
|
|
|
|
hidden="true"
|
|
|
|
flex="1" label="&calendar.unifinder.tree.categories.label;"/>
|
|
|
|
</treecols>
|
2002-03-28 18:03:39 +03:00
|
|
|
|
2002-08-27 00:53:52 +04:00
|
|
|
<treechildren tooltip="savetip" onmousemove="changeToolTipTextForToDo( event )"
|
2002-08-16 21:41:09 +04:00
|
|
|
onclick="unifinderClickToDo( event )"
|
|
|
|
ondblclick="unifinderDoubleClickToDo( event )"
|
|
|
|
onmousedown="unifinderMouseDownToDo( event )"
|
|
|
|
context="taskitem-context-menu">
|
|
|
|
</treechildren>
|
|
|
|
</tree>
|
|
|
|
</vbox>
|
|
|
|
</vbox>
|
|
|
|
|
2002-08-26 19:15:52 +04:00
|
|
|
<splitter id="calendar-splitter" collapse="before" persist="state"
|
2002-08-26 23:00:54 +04:00
|
|
|
class="chromeclass-extrachrome sidebar-splitter" orient="horizontal">
|
2002-04-08 19:32:23 +04:00
|
|
|
<grippy class="sidebar-splitter-grippy"/>
|
2002-03-28 18:03:39 +03:00
|
|
|
</splitter>
|
2002-08-16 21:41:09 +04:00
|
|
|
|
2002-08-27 17:31:25 +04:00
|
|
|
<vbox flex="1">
|
2002-08-26 19:19:06 +04:00
|
|
|
<vbox id="bottom-events-box" persist="height">
|
2002-08-28 00:06:09 +04:00
|
|
|
<hbox>
|
|
|
|
<box align="center">
|
|
|
|
<checkbox label="&calendar.unifinder.withalarms.label;" oncommand="unifinderShowEventsWithAlarmsOnly( event )" collapsed="true"/>
|
|
|
|
<menulist id="event-filter-menulist" persist="selectedIndex">
|
|
|
|
<menupopup id="event-filter-menupopup" oncommand="unifinderShowFutureEventsOnly( event );" persist="selectedIndex">
|
|
|
|
<menuitem id="event-filter-all" label="All Events" value="all" persist="selected"/>
|
|
|
|
<menuitem id="event-filter-today" label="Today's Events" value="today" persist="selected"/>
|
|
|
|
<menuitem id="event-filter-week" label="Events This Week" value="week" persist="selected"/>
|
|
|
|
<menuitem id="event-filter-2weeks" label="Events Next 2 Weeks" value="2weeks" persist="selected"/>
|
|
|
|
<menuitem id="event-filter-month" label="Events In The Next Month" value="month" persist="selected"/>
|
|
|
|
<menuitem id="event-filter-future" label="All Future Events" value="future" persist="selected"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</box>
|
|
|
|
|
|
|
|
<box align="center" flex="1">
|
|
|
|
<label control="unifinder-search-field" value="&calendar.search.options.searchfor;"/>
|
|
|
|
<textbox id="unifinder-search-field" onkeypress="unifinderSearchKeyPress( this, event )" flex="1"/>
|
|
|
|
</box>
|
|
|
|
</hbox>
|
2002-08-27 00:53:52 +04:00
|
|
|
<tree id="unifinder-search-results-listbox" flex="1" seltype="multiple" enableColumnDrag="false">
|
2002-08-23 00:15:15 +04:00
|
|
|
<treecols id="unifinder-search-results-tree-cols">
|
|
|
|
<treecol id="unifinder-search-results-tree-col-title"
|
|
|
|
persist="hidden ordinal width" flex="1"
|
|
|
|
label="&calendar.unifinder.tree.title.label;" />
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="unifinder-search-results-tree-col-startdate"
|
|
|
|
persist="hidden ordinal width"
|
|
|
|
hidden="true"
|
|
|
|
flex="1" label="&calendar.unifinder.tree.startdate.label;"/>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="unifinder-search-results-tree-col-duedate"
|
|
|
|
persist="hidden ordinal width"
|
|
|
|
hidden="true"
|
|
|
|
flex="1" label="&calendar.unifinder.tree.enddate.label;"/>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="unifinder-todo-search-results-col-categories"
|
|
|
|
persist="hidden ordinal width"
|
|
|
|
hidden="true"
|
|
|
|
flex="1" label="&calendar.unifinder.tree.categories.label;"/>
|
|
|
|
</treecols>
|
|
|
|
|
2002-08-28 00:06:09 +04:00
|
|
|
<treechildren tooltip="savetip" onmousemove="changeToolTipTextForEvent( event )"
|
2002-08-26 19:15:52 +04:00
|
|
|
onclick="unifinderClickEvent( event )"
|
2002-08-23 00:15:15 +04:00
|
|
|
onkeypress="if (event.keyCode == 13) unifinderEditCommand();"
|
|
|
|
ondragover="return( false );"
|
|
|
|
ondblclick="unifinderDoubleClickEvent( event )"
|
2002-08-28 00:06:09 +04:00
|
|
|
onfocus="focusFirstItemIfNoSelection( );">
|
2002-08-23 00:15:15 +04:00
|
|
|
</treechildren>
|
|
|
|
</tree>
|
2002-08-22 18:33:32 +04:00
|
|
|
</vbox>
|
2002-08-26 22:20:41 +04:00
|
|
|
|
|
|
|
<splitter id="calendar-view-splitter" collapse="before" persist="state"
|
|
|
|
class="chromeclass-extrachrome sidebar-splitter" orient="vertical" onmouseup="gCalendarWindow.doResize();">
|
|
|
|
<grippy class="sidebar-splitter-grippy"/>
|
|
|
|
</splitter>
|
|
|
|
|
|
|
|
<!-- Begin Day/Month/Week Deck -->
|
|
|
|
<deck id="calendar-deck" persist="selectedIndex" flex="1">
|
|
|
|
|
|
|
|
<!-- Calendar Month View -->
|
|
|
|
|
|
|
|
<vbox id="month-view-box"/>
|
|
|
|
|
|
|
|
<!-- End: Calendar Month View -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Calendar Week View -->
|
|
|
|
|
|
|
|
<vbox id="week-view-box"/>
|
|
|
|
|
|
|
|
<!-- End: Calendar Week View -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Calendar Day View -->
|
|
|
|
|
|
|
|
<vbox id="day-view-box"/>
|
|
|
|
|
|
|
|
<!-- End: Calendar Day View -->
|
|
|
|
|
|
|
|
</deck> <!-- End: Day/Month/Week Deck -->
|
|
|
|
|
2002-08-22 18:33:32 +04:00
|
|
|
</vbox>
|
|
|
|
|
2002-03-14 22:54:03 +03:00
|
|
|
</hbox> <!-- End: box with unifinder on left, calendar on right -->
|
2002-08-16 21:41:09 +04:00
|
|
|
</vbox>
|
2002-03-14 22:54:03 +03:00
|
|
|
|
2002-08-16 21:41:09 +04:00
|
|
|
<statusbar id="status-bar" class="chromeclass-status">
|
|
|
|
<statusbarpanel id="component-bar"/>
|
|
|
|
<statusbarpanel id="statusText" flex="1" value="&statusText.label;"/>
|
|
|
|
<statusbarpanel id="offline-status" class="statusbarpanel-iconic" hidden="true" offline="true"/>
|
|
|
|
</statusbar>
|
2002-03-14 22:54:03 +03:00
|
|
|
|
|
|
|
</window>
|