gecko-dev/calendar/resources/content/calendar.xul

513 строки
28 KiB
Plaintext
Исходник Обычный вид История

<?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>
- 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/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"
persist="screenX screenY width height sizemode">
2002-03-14 22:54:03 +03:00
<commandset id="calendar_commands">
<command id="new_command" oncommand="newEventCommand( event )"/>
2002-10-30 20:13:57 +03:00
<command id="delete_command" oncommand="deleteEventCommand( )" disabled="true"/>
<command id="delete_command_no_confirm" oncommand="deleteEventCommand( true )" disabled="true"/>
<command id="modify_command" oncommand="editEventCommand()" 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"/>
<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()"/>
<command id="new_todo_command" oncommand="newToDoCommand()"/>
2002-10-30 20:13:57 +03:00
<command id="modify_todo_command" oncommand="modifyToDoCommand( event )"/>
<command id="delete_todo_command" oncommand="deleteToDoCommand()"/>
2002-08-22 18:33:32 +04:00
<command id="new_server_command" oncommand="gCalendarWindow.calendarManager.launchAddCalendarDialog()"/>
<command id="edit_server_command" oncommand="gCalendarWindow.calendarManager.launchEditCalendarDialog()"/>
<command id="delete_server_command" oncommand="deleteCalendar()"/>
<command id="find_new_calendar_command" oncommand="goFindNewCalendars()"/>
2002-08-22 18:33:32 +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()"/>
<command id="refresh_remote_calendars" oncommand="gCalendarWindow.calendarManager.refreshAllRemoteCalendars()"/>
<command id="publish_events_command" oncommand="publishCalendarData()"/>
<command id="close_calendar_command" key="key_close" oncommand="closeCalendar()"/>
<command id="wizard_command" oncommand="launchWizard()"/>
</commandset>
<keyset>
<key id="delete_key" keycode="VK_DELETE" observes="delete_command_no_confirm"/>
<key id="new_event_key" key="N" modifiers="control" observes="new_command"/>
<key id="new_todo_key" key="M" modifiers="control" observes="new_todo_command"/>
<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"/>
<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"/>
<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"/>
<key id="key_close" key="W" modifiers="control" observes="close_calendar_command"/>
</keyset>
<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 -->
<script type="application/x-javascript" src="chrome://calendar/content/jslib/jslib.js"/>
<!-- NEEDED FOR DRAG AND DROP SUPPORT -->
<script type="application/x-javascript" src="chrome://calendar/content/calendarDragDrop.js"/>
2002-08-22 18:33:32 +04:00
<!-- NEEDED FOR MULTIPLE CALENDAR SUPPORT -->
<script type="application/x-javascript" src="chrome://calendar/content/calendarManager.js"/>
<!-- NEEDED FOR CLIPBOARD SUPPORT -->
<script type="application/x-javascript" src="chrome://calendar/content/calendarClipboard.js"/>
<!-- 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"/>
<!-- 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"/>
<script type="application/x-javascript" src="chrome://calendar/content/calendarSelection.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/calendarWindow.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/unifinder.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/unifinderToDo.js"/>
<script type="application/x-javascript" src="chrome://calendar/content/pref/rootCalendarPref.js"/>
<!--<script type="application/x-javascript" src="chrome://calendar/content/email.js"/>-->
2002-03-14 22:54:03 +03:00
2002-08-22 18:33:32 +04:00
<!-- GENERAL CONTEXT MENU -->
<popup id="context-menu" onpopuphidden="gNewDateVariable = null;">
<menuitem label="&calendar.context.newevent.label;" accesskey="&calendar.context.newevent.accesskey;" observes="new_command"/>
<menuitem label="&calendar.context.newtodo.label;" accesskey="&calendar.context.newtodo.accesskey;" observes="new_todo_command"/>
<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"/>
<menuseparator/>
<menuitem label="&calendar.context.cutevent.label;" accesskey="&calendar.context.cutevent.accesskey;" observes="cut_command"/>
<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/>
<menuitem label="&calendar.context.selectall.label;" accesskey="&calendar.context.selectall.accesskey;" observes="select_all_command"/>
2002-03-28 17:31:09 +03:00
<menuseparator/>
<menuitem label="&calendar.context.gototoday.label;" accesskey="&calendar.context.gototoday.accesskey;" observes="go_today_command"/>
<menuseparator/>
<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-03-28 17:31:09 +03:00
<menuseparator/>
<menuitem label="&calendar.context.emailevent.label;" accesskey="&calendar.context.emailevent.accesskey;" observes="send_event_command"/>
<!--
2002-04-03 22:33:55 +04:00
<menuseparator/>
<menuitem label="&calendar.context.reload.label;" accesskey="&calendar.context.reload.accesskey;" oncommand="window.location = 'chrome://calendar/content/calendar.xul';"/>
-->
</popup>
2002-03-14 22:54:03 +03:00
2002-08-22 18:33:32 +04:00
<!-- TASK ITEM CONTEXT MENU -->
<popup id="taskitem-context-menu" onpopupshowing="changeContextMenuForToDo( event );">
<menuitem label="&calendar.context.newtodo.label;" accesskey="&calendar.context.newtodo.accesskey;" observes="new_todo_command"/>
2002-08-22 18:33:32 +04:00
<!--
Currently no way to get the item that we clicked on originally
<menuitem label="&calendar.context.modifytask.label;" accesskey="&calendar.context.modifytask.accesskey;" observes="modify_todo_command"/>-->
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 type="checkbox" id="percent-0-menuitem" label="0%" oncommand="contextChangeProgress( event, 0 );"/>
<menuitem type="checkbox" id="percent-25-menuitem" label="25%" oncommand="contextChangeProgress( event, 25 );"/>
<menuitem type="checkbox" id="percent-50-menuitem" label="50%" oncommand="contextChangeProgress( event, 50 );"/>
<menuitem type="checkbox" id="percent-75-menuitem" label="75%" oncommand="contextChangeProgress( event, 75 );"/>
<menuitem type="checkbox" id="percent-100-menuitem" label="100%" oncommand="contextChangeProgress( event, 100 );"/>
2002-08-22 18:33:32 +04:00
</menupopup>
</menu>
<menu label="&calendar.context.priority.label;" accesskey="&calendar.context.priority.accesskey;">
<menupopup>
<menuitem type="checkbox" id="priority-0-menuitem" label="&priority.level.none;" oncommand="contextChangePriority( event, 0 );"/>
<menuitem type="checkbox" id="priority-9-menuitem" label="&priority.level.low;" oncommand="contextChangePriority( event, 9 );"/>
<menuitem type="checkbox" id="priority-5-menuitem" label="&priority.level.medium;" oncommand="contextChangePriority( event, 5 );"/>
<menuitem type="checkbox" id="priority-1-menuitem" label="&priority.level.high;" oncommand="contextChangePriority( event, 1 );"/>
2002-08-22 18:33:32 +04:00
</menupopup>
</menu>
2002-07-30 23:19:50 +04:00
</popup>
<!-- CALENDAR LIST CONTEXT MENU -->
<popup id="calendarlist-context-menu">
<menuitem label="&calendar.context.newserver.label;" observes="new_server_command"/>
<menuitem label="&calendar.context.editserver.label;" observes="edit_server_command"/>
<menuitem label="&calendar.context.deleteserver.label;" observes="delete_server_command"/>
<menuitem label="&calendar.context.refreshserver.label;" observes="refresh_remote_calendars"/>
</popup>
2002-11-01 20:59:57 +03:00
<popup id="oe-date-picker-popup" position="after_start" value="">
<datepicker id="oe-date-picker" valud="" ondatepick="gCalendarWindow.goToDay( date )"/>
</popup>
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
<toolbox id="calendar-toolbox" class="toolbox-top" deferattached="true">
<!-- Menu -->
<menubar id="main-menubar" persist="collapsed"/>
<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"/>-->
<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"/>
<toolbarseparator class="toolbarseparator-primary"/>
2002-11-01 20:59:57 +03:00
<toolbarbutton class="toolbarbutton-1" id="calendar-choose-date-button" label="&calendar.choosedate.button.label;" tooltiptext="&calendar.choosedate.button.tooltip;" popup="oe-date-picker-popup"/>
<toolbarbutton class="toolbarbutton-1" id="calendar-go-to-today-button" label="&calendar.gototoday.button.label;" tooltiptext="&calendar.gototoday.button.tooltip;" observes="go_today_command"/>
<toolbarseparator class="toolbarseparator-primary"/>
<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"/>
<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-11-15 23:51:22 +03:00
<tooltip id="eventTreeListTooltip" onpopupshowing="changeToolTipTextForEvent( event );return( checkTooltip( event ) );"/>
<tooltip id="eventTooltip"/>
2002-10-30 20:13:57 +03:00
<tooltip id="taskTooltip" onpopupshowing="changeToolTipTextForToDo( event );return( checkTooltip( event ) );"/>
2002-03-14 22:54:03 +03:00
<!-- V I S I B L E C O N T E N T -->
<vbox id="calendar-top-box" flex="1" context="context-menu"
ondraggesture="nsDragAndDrop.startDrag(event,calendarManagerDNDObserver);"
ondragover="nsDragAndDrop.dragOver(event,calendarManagerDNDObserver)"
ondragdrop="nsDragAndDrop.drop(event,calendarManagerDNDObserver)"
>
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-09-16 21:15:00 +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"
contextmenu="calendarlist-context-menu" datasources="rdf:null" ref="urn:calendarcontainer">
<listhead>
2002-09-16 18:42:14 +04:00
<listheader flex="1" crop="end" label="&calendar.calendarlistbox.label;"/>
<listheader/>
</listhead>
2002-08-22 18:33:32 +04:00
<listcols>
<listcol flex="1"/>
<listcol/>
2002-08-22 18:33:32 +04:00
</listcols>
<template>
<rule>
<listitem uri="rdf:*"
calendarPath="rdf:http://home.netscape.com/NC-rdf#path"
onclick="switchCalendar( event );">
<listcell class="calendar-list-item-class"
label="rdf:http://home.netscape.com/NC-rdf#name"
flex="1"
type="checkbox"
checked="rdf:http://home.netscape.com/NC-rdf#active"
/>
<!-- If you add something between the above listcell and this listcell,
or between the next listcell and the image tag, you have to modify calendarManager.js -->
<listcell>
<image class="calendar-list-item-class"/>
</listcell>
</listitem>
</rule>
</template>
2002-08-22 18:33:32 +04:00
</listbox>
2002-04-08 19:32:23 +04:00
</vbox>
<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">
<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">
<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>
<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-10-30 20:13:57 +03:00
<treechildren tooltip="taskTooltip"
2002-08-16 21:41:09 +04:00
onclick="unifinderClickToDo( event )"
2002-10-30 20:13:57 +03:00
ondblclick="modifyToDoCommand( event )"
2002-08-16 21:41:09 +04:00
onmousedown="unifinderMouseDownToDo( event )"
2002-10-30 20:13:57 +03:00
context="taskitem-context-menu"/>
2002-08-16 21:41:09 +04:00
</tree>
</vbox>
</vbox>
<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"/>
</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">
<hbox>
<box align="center">
<menulist id="event-filter-menulist" persist="value">
<menupopup id="event-filter-menupopup" oncommand="changeEventFilter( event );">
<menuitem id="event-filter-all" label="&calendar.events.filter.all.label;" value="all"/>
<menuitem id="event-filter-today" label="&calendar.events.filter.today.label;" value="today"/>
<menuitem id="event-filter-week" label="&calendar.events.filter.week.label;" value="week"/>
<menuitem id="event-filter-2weeks" label="&calendar.events.filter.2weeks.label;" value="2weeks"/>
<menuitem id="event-filter-month" label="&calendar.events.filter.month.label;" value="month"/>
<menuitem id="event-filter-future" label="&calendar.events.filter.future.label;" value="future"/>
<menuitem id="event-filter-current" label="&calendar.events.filter.current.label;" value="current"/>
</menupopup>
</menulist>
</box>
<box align="center" flex="1">
<label control="unifinder-search-field" value="&calendar.search.options.searchfor;"/>
<textbox id="unifinder-search-field" onkeypress="searchKeyPress( this, event )" flex="1"/>
</box>
</hbox>
<tree id="unifinder-search-results-listbox" flex="1"
2002-09-06 18:45:49 +04:00
onselect="unifinderOnSelect( event )"
enableColumnDrag="true"
>
<treecols id="unifinder-search-results-tree-cols">
<treecol id="unifinder-search-results-tree-col-title"
2002-10-29 23:02:34 +03:00
persist="hidden ordinal width sortDirection sortActive"
flex="1"
label="&calendar.unifinder.tree.title.label;" />
<splitter class="tree-splitter"/>
<treecol id="unifinder-search-results-tree-col-startdate"
persist="hidden ordinal width sortDirection sortActive"
2002-10-29 23:02:34 +03:00
flex="1"
label="&calendar.unifinder.tree.startdate.label;"/>
<splitter class="tree-splitter"/>
<treecol id="unifinder-search-results-tree-col-enddate"
persist="hidden ordinal width sortDirection sortActive"
2002-10-29 23:02:34 +03:00
flex="1"
label="&calendar.unifinder.tree.enddate.label;"/>
<splitter class="tree-splitter"/>
<treecol id="unifinder-search-results-tree-col-categories"
persist="hidden ordinal width sortDirection sortActive"
2002-10-29 23:02:34 +03:00
flex="1"
label="&calendar.unifinder.tree.categories.label;"/>
<splitter class="tree-splitter"/>
<treecol id="unifinder-search-results-tree-col-location"
persist="hidden ordinal width sortDirection sortActive"
2002-10-29 23:02:34 +03:00
flex="1"
hidden="true"
2002-10-29 23:02:34 +03:00
label="&calendar.unifinder.tree.location.label;"/>
<splitter class="tree-splitter"/>
<treecol id="unifinder-search-results-tree-col-status"
persist="hidden ordinal width sortDirection sortActive"
2002-10-29 23:02:34 +03:00
flex="1"
hidden="true"
2002-10-29 23:02:34 +03:00
label="&calendar.unifinder.tree.status.label;"/>
</treecols>
2002-09-06 18:45:49 +04:00
<!-- on mousedown here happens before onclick above -->
2002-11-15 23:51:22 +03:00
<treechildren tooltip="eventTreeListTooltip"
onkeypress="if (event.keyCode == 13) unifinderEditCommand();"
ondragover="return( false );"
ondblclick="unifinderDoubleClickEvent( event )"
2002-09-05 22:57:19 +04:00
onfocus="focusFirstItemIfNoSelection( );"/>
</tree>
2002-08-22 18:33:32 +04:00
</vbox>
<splitter id="calendar-view-splitter" collapse="before" persist="state"
class="chromeclass-extrachrome sidebar-splitter" orient="vertical" onmouseup="setTimeout( 'gCalendarWindow.onMouseUpCalendarViewSplitter()', 1 );">
<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>