summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/content/item-editing/calendar-item-toolbar.inc.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/calendar/base/content/item-editing/calendar-item-toolbar.inc.xhtml')
-rw-r--r--comm/calendar/base/content/item-editing/calendar-item-toolbar.inc.xhtml164
1 files changed, 164 insertions, 0 deletions
diff --git a/comm/calendar/base/content/item-editing/calendar-item-toolbar.inc.xhtml b/comm/calendar/base/content/item-editing/calendar-item-toolbar.inc.xhtml
new file mode 100644
index 0000000000..5d0c744086
--- /dev/null
+++ b/comm/calendar/base/content/item-editing/calendar-item-toolbar.inc.xhtml
@@ -0,0 +1,164 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+ <toolbarbutton id="button-save"
+ mode="dialog"
+ class="cal-event-toolbarbutton toolbarbutton-1"
+ label="&event.toolbar.save.label2;"
+ tooltiptext="&event.toolbar.save.tooltip2;"
+ command="cmd_save"/>
+ <toolbarbutton id="button-saveandclose"
+ mode="dialog"
+ class="cal-event-toolbarbutton toolbarbutton-1"
+ label="&event.toolbar.saveandclose.label;"
+ tooltiptext="&event.toolbar.saveandclose.tooltip;"
+ command="cmd_accept"/>
+ <toolbarbutton id="button-attendees"
+ mode="dialog"
+ class="cal-event-toolbarbutton toolbarbutton-1 event-only"
+ disable-on-readonly="true"
+ label="&event.toolbar.attendees.label;"
+ tooltiptext="&event.toolbar.attendees.tooltip;"
+ command="cmd_attendees"/>
+ <toolbarbutton id="button-privacy"
+ mode="dialog"
+ class="cal-event-toolbarbutton toolbarbutton-1"
+ type="menu"
+ wantdropmarker="true"
+ disable-on-readonly="true"
+ label="&event.toolbar.privacy.label;"
+ tooltiptext="&event.toolbar.privacy.tooltip;">
+ <menupopup id="event-privacy-menupopup">
+ <menuitem id="event-privacy-public-menuitem"
+ name="event-privacy-group"
+ label="&event.menu.options.privacy.public.label;"
+ type="radio"
+ privacy="PUBLIC"
+ oncommand="editPrivacy(this, event)"/>
+ <menuitem id="event-privacy-confidential-menuitem"
+ name="event-privacy-group"
+ label="&event.menu.options.privacy.confidential.label;"
+ type="radio"
+ privacy="CONFIDENTIAL"
+ oncommand="editPrivacy(this, event)"/>
+ <menuitem id="event-privacy-private-menuitem"
+ name="event-privacy-group"
+ label="&event.menu.options.privacy.private.label;"
+ type="radio"
+ privacy="PRIVATE"
+ oncommand="editPrivacy(this, event)"/>
+ </menupopup>
+ </toolbarbutton>
+ <toolbarbutton id="button-url"
+ mode="dialog"
+ class="cal-event-toolbarbutton toolbarbutton-1"
+ type="menu"
+ wantdropmarker="true"
+ label="&event.attachments.menubutton.label;"
+ tooltiptext="&event.toolbar.attachments.tooltip;"
+ disable-on-readonly="true">
+ <menupopup id="button-attach-menupopup">
+ <menuitem id="button-attach-url"
+ label="&event.attachments.url.label;"
+ command="cmd_attach_url"/>
+ <!-- Additional items are added here in loadCloudProviders(). -->
+ </menupopup>
+ </toolbarbutton>
+ <toolbarbutton id="button-delete"
+ mode="dialog"
+ class="cal-event-toolbarbutton toolbarbutton-1"
+ label="&event.toolbar.delete.label;"
+ tooltiptext="&event.toolbar.delete.tooltip;"
+ command="cmd_item_delete"
+ disable-on-readonly="true"/>
+ <toolbarbutton id="button-priority"
+ mode="dialog"
+ class="cal-event-toolbarbutton toolbarbutton-1"
+ type="menu"
+ wantdropmarker="true"
+ disable-on-readonly="true"
+ label="&event.menu.options.priority2.label;"
+ tooltiptext="&event.toolbar.priority.tooltip;">
+ <menupopup id="event-priority-menupopup">
+ <menuitem id="event-priority-none-menuitem"
+ name="event-priority-group"
+ label="&event.menu.options.priority.notspecified.label;"
+ type="radio"
+ command="cmd_priority_none"/>
+ <menuitem id="event-priority-low-menuitem"
+ name="event-priority-group"
+ label="&event.menu.options.priority.low.label;"
+ type="radio"
+ command="cmd_priority_low"/>
+ <menuitem id="event-priority-normal-menuitem"
+ name="event-priority-group"
+ label="&event.menu.options.priority.normal.label;"
+ type="radio"
+ command="cmd_priority_normal"/>
+ <menuitem id="event-priority-high-menuitem"
+ name="event-priority-group"
+ label="&event.menu.options.priority.high.label;"
+ type="radio"
+ command="cmd_priority_high"/>
+ </menupopup>
+ </toolbarbutton>
+ <toolbarbutton id="button-status"
+ mode="dialog"
+ class="cal-event-toolbarbutton toolbarbutton-1 event-only"
+ type="menu"
+ wantdropmarker="true"
+ disable-on-readonly="true"
+ label="&newevent.status.label;"
+ tooltiptext="&event.toolbar.status.tooltip;">
+ <menupopup id="event-status-menupopup">
+ <menuitem id="event-status-none-menuitem"
+ name="event-status-group"
+ label="&newevent.eventStatus.none.label;"
+ type="radio"
+ command="cmd_status_none"/>
+ <menuitem id="event-status-tentative-menuitem"
+ name="event-status-group"
+ label="&newevent.status.tentative.label;"
+ type="radio"
+ command="cmd_status_tentative"/>
+ <menuitem id="event-status-confirmed-menuitem"
+ name="event-status-group"
+ label="&newevent.status.confirmed.label;"
+ type="radio"
+ command="cmd_status_confirmed"/>
+ <menuitem id="event-status-cancelled-menuitem"
+ name="event-status-group"
+ label="&newevent.eventStatus.cancelled.label;"
+ type="radio"
+ command="cmd_status_cancelled"/>
+ </menupopup>
+ </toolbarbutton>
+ <toolbarbutton id="button-freebusy"
+ mode="dialog"
+ class="cal-event-toolbarbutton toolbarbutton-1 event-only"
+ type="menu"
+ wantdropmarker="true"
+ disable-on-readonly="true"
+ label="&event.menu.options.show.time.label;"
+ tooltiptext="&event.toolbar.freebusy.tooltip;">
+ <menupopup id="event-freebusy-menupopup">
+ <menuitem id="event-freebusy-busy-menuitem"
+ name="event-freebusy-group"
+ label="&event.menu.options.show.time.busy.label;"
+ type="radio"
+ command="cmd_showtimeas_busy"/>
+ <menuitem id="event-freebusy-free-menuitem"
+ name="event-freebusy-group"
+ label="&event.menu.options.show.time.free.label;"
+ type="radio"
+ command="cmd_showtimeas_free"/>
+ </menupopup>
+ </toolbarbutton>
+ <toolbarbutton id="button-timezones"
+ mode="dialog"
+ type="checkbox"
+ class="cal-event-toolbarbutton toolbarbutton-1"
+ label="&event.menu.options.timezone2.label;"
+ tooltiptext="&event.menu.options.timezone2.label;"
+ command="cmd_timezone"/>