mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-30 18:31:08 +00:00
136 lines
6.3 KiB
XML
136 lines
6.3 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- ***** 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 calendar views.
|
|
-
|
|
- The Initial Developer of the Original Code is Oracle Corporation
|
|
- Portions created by the Initial Developer are Copyright (C) 2005
|
|
- the Initial Developer. All Rights Reserved.
|
|
-
|
|
- Contributor(s):
|
|
- Mike Shaver <shaver@mozilla.org>
|
|
- Stuart Parmenter <stuart.parmenter@oracle.com>
|
|
- Vladimir Vukicevic <vladimir@pobox.com>
|
|
- Simon Paquet <bugzilla@babylonsounds.com>
|
|
-
|
|
- 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 GPL or the LGPL. 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 ***** -->
|
|
|
|
<?xml-stylesheet href="chrome://calendar/skin/calendar-toolbar.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://lightning/skin/lightning.css" type="text/css"?>
|
|
|
|
<!DOCTYPE overlay
|
|
[
|
|
<!ENTITY % dtd1 SYSTEM "chrome://lightning/locale/lightning.dtd" > %dtd1;
|
|
<!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
|
|
<!ENTITY % dtd3 SYSTEM "chrome://calendar/locale/menuOverlay.dtd" > %dtd3;
|
|
]>
|
|
|
|
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<stringbundleset id="stringbundleset">
|
|
<stringbundle id="bundle_calendar" src="chrome://calendar/locale/calendar.properties"/>
|
|
</stringbundleset>
|
|
|
|
<script type="application/x-javascript"
|
|
src="chrome://calendar/content/calendar-item-editing.js"/>
|
|
<script type="application/x-javascript"
|
|
src="chrome://lightning/content/calendar-management.js"/>
|
|
|
|
<menupopup id="menu_NewPopup">
|
|
<menuseparator />
|
|
<menuitem id="ltnNewEvent" label="&lightning.menupopup.new.event.label;"
|
|
oncommand="createEventWithDialog(ltnSelectedCalendar());"/>
|
|
<menuitem id="ltnNewTask" label="&lightning.menupopup.new.task.label;"
|
|
oncommand="createTodoWithDialog(ltnSelectedCalendar());"/>
|
|
<menuitem id="ltnNewCalendar" label="&lightning.menupopup.new.calendar.label;"
|
|
oncommand="ltnNewCalendar();"/>
|
|
</menupopup>
|
|
|
|
<menubar id="mail-menubar">
|
|
<menu id="ltnCalendarMenu" label="&lightning.calendar.label;"
|
|
insertbefore="tasksMenu">
|
|
<menupopup id="ltncalendarMenuPopup">
|
|
<menuitem id="ltnChangeViewDay"
|
|
label="&lightning.toolbar.dayview.label;"
|
|
oncommand="showCalendarView('day')"/>
|
|
<menuitem id="ltnChangeViewWeek"
|
|
label="&lightning.toolbar.weekview.label;"
|
|
oncommand="showCalendarView('week')"/>
|
|
<menuitem id="ltnChangeViewMonth"
|
|
label="&lightning.toolbar.monthview.label;"
|
|
oncommand="showCalendarView('month')"/>
|
|
<menuseparator/>
|
|
<menuitem id="ltnGoToToday"
|
|
label="&calendar.context.gototoday.label;"
|
|
oncommand="goToToday()"/>
|
|
<menuseparator/>
|
|
<menuitem id="calendar-import-menu"
|
|
label="&calendar.import.calendar;"
|
|
accesskey="&calendar.import.accesskey;"
|
|
observes="import_command"/>
|
|
<menuitem id="calendar-export-menu"
|
|
label="&calendar.export.calendar;"
|
|
observes="export_command"/>
|
|
</menupopup>
|
|
</menu>
|
|
</menubar>
|
|
|
|
<toolbarpalette id="MailToolbarPalette">
|
|
<toolbarbutton id="calendar-new-event-button"
|
|
class="cal-toolbarbutton-1"
|
|
label="&calendar.newevent.button.label;"
|
|
tooltiptext="&calendar.newevent.button.tooltip;"
|
|
oncommand="createEventWithDialog(ltnSelectedCalendar())"/>
|
|
<toolbarbutton id="calendar-new-task-button"
|
|
class="cal-toolbarbutton-1"
|
|
label="&calendar.newtask.button.label;"
|
|
tooltiptext="&calendar.newtask.button.tooltip;"
|
|
oncommand="createTodoWithDialog(ltnSelectedCalendar())"/>
|
|
<toolbarbutton id="calendar-week-view-button"
|
|
class="cal-toolbarbutton-1"
|
|
label="&calendar.weekview.button.label;"
|
|
tooltiptext="&calendar.weekview.button.tooltip;"
|
|
oncommand="showCalendarView('week')"/>
|
|
<toolbarbutton id="calendar-month-view-button"
|
|
class="cal-toolbarbutton-1"
|
|
label="&calendar.monthview.button.label;"
|
|
tooltiptext="&calendar.monthview.button.tooltip;"
|
|
oncommand="showCalendarView('month')"/>
|
|
<toolbarbutton id="calendar-day-view-button"
|
|
class="cal-toolbarbutton-1"
|
|
label="&calendar.dayview.button.label;"
|
|
tooltiptext="&calendar.dayview.button.tooltip;"
|
|
oncommand="showCalendarView('day')"/>
|
|
<toolbarbutton id="calendar-go-to-today-button"
|
|
class="cal-toolbarbutton-1"
|
|
label="&calendar.gototoday.button.label;"
|
|
tooltiptext="&calendar.gototoday.button.tooltip;"
|
|
oncommand="goToToday()"/>
|
|
</toolbarpalette>
|
|
|
|
</overlay>
|