488 lines
22 KiB
XML
488 lines
22 KiB
XML
<?xml version="1.0"?>
|
|
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
|
|
<?xul-overlay href="chrome://global/content/tasksOverlay.xul"?>
|
|
<?xul-overlay href="chrome://messengercompose/content/addressingWidgetOverlay.xul"?>
|
|
<?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
|
|
|
|
<?xml-stylesheet href="chrome://messengercompose/skin/" type="text/css"?>
|
|
|
|
<!--
|
|
The contents of this file are subject to the Netscape 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/NPL/
|
|
|
|
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 Mozilla Communicator client code, released
|
|
March 31, 1998.
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
Communications Corporation. Portions created by Netscape are
|
|
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
Rights Reserved.
|
|
-->
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://messengercompose/locale/messengercompose.dtd">
|
|
|
|
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns:nc="http://home.netscape.com/NC-rdf#"
|
|
onunload="ComposeUnload()"
|
|
onload="ComposeLoad()"
|
|
width="640" height="480"
|
|
title="&msgComposeWindow.title;"
|
|
align="vertical">
|
|
|
|
|
|
<html:script language="JavaScript" src="chrome://editor/content/EditorCommands.js"/>
|
|
<html:script language="JavaScript" src="chrome://editor/content/EditorCommandsDebug.js"/>
|
|
<html:script language="JavaScript" src="chrome://global/content/strres.js"/>
|
|
<html:script language="JavaScript" src="chrome://messengercompose/content/MsgComposeCommands.js"/>
|
|
<html:script language="JavaScript" src="chrome://messengercompose/content/addressAutoComplete.js"/>
|
|
|
|
<commands id="commands">
|
|
<commandset id="globalEditMenuItems"/>
|
|
<commandset id="selectEditMenuItems"/>
|
|
<commandset id="undoEditMenuItems"/>
|
|
</commands>
|
|
|
|
<broadcasterset id="broadcasterset">
|
|
<!-- File Menu -->
|
|
<broadcaster id="cmd_newNavigator"/>
|
|
<broadcaster id="cmd_newMessage"/>
|
|
<broadcaster id="cmd_close" oncommand="CloseWindow()"/>
|
|
<broadcaster id="cmd_attachFile" oncommand="AttachFile()"/>
|
|
<broadcaster id="cmd_selectAddress" oncommand="SelectAddress()"/>
|
|
<broadcaster id="cmd_sendNow" oncommand="SendMessage()"/>
|
|
<broadcaster id="cmd_sendLater" oncommand="SendMessageLater()"/>
|
|
<broadcaster id="cmd_print" oncommand="nsCmd:BrowserPrint"/>
|
|
<broadcaster id="cmd_quit"/>
|
|
<!-- Edit Menu -->
|
|
<broadcaster id="cmd_undo"/>
|
|
<broadcaster id="cmd_redo"/>
|
|
<broadcaster id="cmd_cut"/>
|
|
<broadcaster id="cmd_copy"/>
|
|
<broadcaster id="cmd_paste"/>
|
|
<broadcaster id="cmd_delete"/>
|
|
<broadcaster id="cmd_selectAll"/>
|
|
<broadcaster id="cmd_find" oncommand="nsCmd:ComposeNYI"/>
|
|
<broadcaster id="cmd_findAgain" oncommand="nsCmd:ComposeNYI"/>
|
|
<broadcaster id="cmd_preferences"/>
|
|
|
|
<broadcaster id="broadcaster_throbber" busy="false"/>
|
|
</broadcasterset>
|
|
|
|
<broadcaster id="args" value="editorType=default"/>
|
|
|
|
<!-- Interim hack to transition from nsIXULWindowCallbacks/ShowWindowWithArgs -->
|
|
<broadcaster id="dialog.start" ready="false"/>
|
|
<observes element="dialog.start" attribute="ready" onbroadcast="ComposeStartup()"/>
|
|
|
|
<popupset>
|
|
<popup id="TextColorPopup"/>
|
|
<popup id="BackColorPopup"/>
|
|
</popupset>
|
|
|
|
<keyset id="keyset">
|
|
<!-- File Menu -->
|
|
<key id="key_newNavigator"/>
|
|
<key id="key_newMessage"/>
|
|
<key id="key_close"/>
|
|
<key id="key_save" xulkey="true" key="&saveCmd.key;" disabled="true"/>
|
|
<!-- key id="key_attachFile" xulkey="true" key="&attachFileCmd.key;" observes="cmd_attachFile"/ -->
|
|
<!-- key id="key_selectAddresses" xulkey="true" key="&selectAddressCmd.key;" observes="cmd_selectAddress"/ -->
|
|
<!-- key id="key_sendNow" xulkey="true" keycode="&sendNowCmd.keycode;" observes="cmd_sendNow"/ -->
|
|
<!-- key id="key_sendLater" xulkey="true" keycode="&sendLaterCmd.keycode;" shift="true" observes="cmd_sendLater"/ -->
|
|
<key id="key_print" xulkey="true" key="&printCmd.key;" disabled="true" observes="cmd_print"/>
|
|
<key id="key_quit"/>
|
|
<!-- Edit Menu -->
|
|
<key id="key_undo"/>
|
|
<key id="key_redo"/>
|
|
<key id="key_cut"/>
|
|
<key id="key_copy"/>
|
|
<key id="key_paste"/>
|
|
<key id="key_delete"/>
|
|
<key id="key_selectAll"/>
|
|
<key id="key_find" xulkey="true" key="&findCmd.key;" disabled="true" observes="cmd_find"/>
|
|
<key id="key_findAgain" xulkey="true" key="&findAgainCmd.key;" disabled="true" observes="cmd_findAgain"/>
|
|
<key id="key_preferences"/>
|
|
|
|
</keyset>
|
|
|
|
<!--- REMOVE KEYSET UNTIL IT WORKS CORRECTLY ON MAC!
|
|
ACTUALLY, EVERY TIME YOU TYPE ANY OF THE KEY DEFINED HERE AFTER WITHOUT ANY OF THE MODIFIERS PRESSED, THE COMMAND IS EXECUTED.
|
|
|
|
<keyset id="defaultKeySet">
|
|
<key id="acmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="a" onkeypress="EditorSelectAll()" />
|
|
<key id="bcmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="b" onkeypress="EditorApplyStyle('b')"/>
|
|
<key id="ccmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="c" onkeypress="EditorCopy()" />
|
|
<key id="fcmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="f" onkeypress="EditorFind()" />
|
|
<key id="gcmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="g" onkeypress="EditorFindNext()" />
|
|
<key id="icmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="i" onkeypress="EditorApplyStyle('i')"/>
|
|
<key id="kcmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="k" onkeypress="CheckSpelling()" />
|
|
<key id="ucmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="u" onkeypress="EditorApplyStyle('u')"/>
|
|
<key id="vcmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="v" onkeypress="EditorPaste()" />
|
|
<key id="xcmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="x" onkeypress="EditorCut()" />
|
|
<key id="ycmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="y" onkeypress="EditorRedo()" />
|
|
<key id="zcmdkey" disabled="false" shift="false" xulkey="true" alt="false" key="z" onkeypress="EditorUndo()" />
|
|
</keyset>
|
|
|
|
-->
|
|
|
|
<popupset>
|
|
<popup id="TextColorPopup"/>
|
|
<popup id="BackColorPopup"/>
|
|
</popupset>
|
|
|
|
<!-- box id="toolbar" align="vertical" style="width:100%;height:100%" -->
|
|
<menubar>
|
|
<menu id="menu_File">
|
|
<menupopup id="menu_FilePopup">
|
|
<menuitem value="&newMessage.label;" accessKey="&newMessage.accesskey;" key="key_newMessage" observes="cmd_newMessage"/>
|
|
<menu id="menu_New">
|
|
<menupopup id="menu_NewPopup">
|
|
<menuitem id="menu_newNavigator"/>
|
|
<menuitem id="menu_newMessage"/>
|
|
<menuitem id="cmd_newCard"/>
|
|
<menuitem id="menu_newEditor"/>
|
|
</menupopup>
|
|
</menu>
|
|
<menuseparator/>
|
|
|
|
<menuitem id="menu_close"/>
|
|
<menuitem value="&saveCmd.label;" disabled="true" key="key_save"/>
|
|
<menu value="&saveAsCmd.label;" accessKey="&saveAsCmd.accesskey;">
|
|
<menupopup>
|
|
<menuitem value="&saveAsFileCmd.label;" disabled="true" accessKey="&saveAsFileCmd.accesskey;"/>
|
|
<menuseparator/>
|
|
<menuitem value="&saveAsDraftCmd.label;" accessKey="&saveAsDraftCmd.accesskey;" oncommand="SaveAsDraft()"/>
|
|
<menuitem value="&saveAsTemplateCmd.label;" accessKey="&saveAsTemplateCmd.accesskey;" oncommand="SaveAsTemplate()"/>
|
|
</menupopup>
|
|
</menu>
|
|
<menuseparator/>
|
|
|
|
<menuitem value="&attachFileCmd.label;" accesskey="&attachFileCmd.accesskey;" observes="cmd_attachFile"/>
|
|
<menuitem value="&attachPageCmd.label;" accesskey="&attachPageCmd.accesskey;" oncommand="AttachPage()"/>
|
|
<!-- the next menu item is TEMPORARY until we figure how to hook up the deleted key in the attachment tree -->
|
|
<menuitem value="&removeLastAttachmentCmd.label;" oncommand="RemoveSelectedAttachment()"/>
|
|
<menuseparator/>
|
|
|
|
<menuitem value="&sendNowCmd.label;" accessKey="&sendNowCmd.accesskey;" observes="cmd_sendNow"/>
|
|
<menuitem value="&sendLaterCmd.label;" accessKey="&sendLaterCmd.accesskey;" observes="cmd_sendLater"/>
|
|
<menuseparator/>
|
|
<menuitem id="menu_pageSetup" disabled="true"/>
|
|
<menuitem value="&printPreviewCmd.label;" disabled="true" accessKey="&printPreviewCmd.accesskey;" oncommand="nsCmd:BrowserPrintPreview"/>
|
|
<menuitem value="&printCmd.label;" disabled="true" key="key_print" accessKey="&printCmd.accesskey;" observes="cmd_print"/>
|
|
<menuseparator/>
|
|
</menupopup>
|
|
</menu>
|
|
<menu id="menu_Edit">
|
|
<menupopup>
|
|
<menuitem id="menu_undo"/>
|
|
<menuitem id="menu_redo"/>
|
|
<menuseparator/>
|
|
<menuitem id="menu_cut"/>
|
|
<menuitem id="menu_copy"/>
|
|
<menuitem id="menu_paste"/>
|
|
<menuitem value="&pasteAsQuotCmd.label;" disabled="true" accesskey="&pasteAsQuotCmd.accesskey;" oncommand="nsCmd:ComposeNYI"/>
|
|
<menuitem id="menu_delete"/>
|
|
<menuseparator/>
|
|
<menuitem id="menu_selectAll"/>
|
|
<menuseparator/>
|
|
<menuitem value="&findCmd.label;" disabled="true" key="key_find" accesskey="&findCmd.accesskey;" observes="cmd_find"/>
|
|
<menuitem value="&findAgainCmd.label;" disabled="true" key="key_findAgain" accesskey="&findAgainCmd.accesskey;" observes="cmd_findAgain"/>
|
|
<menuseparator/>
|
|
<menuitem value="&EditHtmlCmd.label;" disabled="true" oncommand="nsCmd:ComposeNYI"/>
|
|
<menuseparator/>
|
|
<menuitem id="menu_preferences" oncommand="goPreferences('messengercompose.xul', 'chrome://messengercompose/content/pref-messages.xul')"/>
|
|
</menupopup>
|
|
</menu>
|
|
<menu id="menu_View">
|
|
<menupopup>
|
|
<menu id="menu_Toolbars">
|
|
<menupopup>
|
|
<menuitem id="menu_showComposeToolbar"
|
|
value="&showComposeToolbarCmd.label;"
|
|
accesskey="&showComposeToolbarCmd.accesskey;"
|
|
oncommand="goToggleToolbar('composeToolbar', 'menu_showComposeToolbar')"
|
|
checked="true"/>
|
|
<menuitem id="menu_showFormatToolbar"
|
|
value="&showFormatToolbarCmd.label;"
|
|
accesskey="&showFormatToolbarCmd.accesskey;"
|
|
oncommand="goToggleToolbar('FormatToolbar', 'menu_showFormatToolbar')"
|
|
checked="true"/>
|
|
<menuitem id="menu_showStatusbar"
|
|
value="&showStatusbarCmd.label;"
|
|
accesskey="&showStatusbarCmd.accesskey;"
|
|
oncommand="goToggleToolbar('status-bar', 'menu_showStatusbar')"
|
|
checked="true" disabled="true"/>
|
|
<menuitem id="menu_showTaskbar"/>
|
|
</menupopup>
|
|
</menu>
|
|
<menuitem value="&showParagraphMarksCmd.label;" disabled="true" cmd="nsCmd:ComposeNYI"/>
|
|
<menuseparator/>
|
|
<menuitem value="&pageInfoCmd.label;" disabled="true" accesskey="&pageInfoCmd.accesskey;" cmd="nsCmd:ComposeNYI"/>
|
|
<menuseparator/>
|
|
<menu value="&dcharMenu.label;" oncreate="InitCharsetMenuCheckMark();">
|
|
<menupopup>
|
|
<menuitem id="ISO-8859-1" type="radio" name="charsetGroup" value="&dcharIso1Cmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuitem id="ISO-8859-2" type="radio" name="charsetGroup" value="&dcharIso2Cmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuitem id="ISO-8859-3" type="radio" name="charsetGroup" value="&dcharIso3Cmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuitem id="ISO-8859-4" type="radio" name="charsetGroup" value="&dcharIso4Cmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuitem id="ISO-8859-9" type="radio" name="charsetGroup" value="&dcharIso9Cmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuitem id="ISO-8859-10" type="radio" name="charsetGroup" value="&dcharIso10Cmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuitem id= "ISO-8859-14" type="radio" name="charsetGroup" value="&dcharIso14Cmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuitem id="ISO-8859-15" type="radio" name="charsetGroup" value="&dcharIso15Cmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuseparator />
|
|
<menuitem id="ISO-2022-JP" type="radio" name="charsetGroup" value="&dcharJapanCmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuseparator />
|
|
<menuitem id="BIG5" type="radio" name="charsetGroup" value="&dcharTradChiBigCmd.label;" oncommand="SetDocumentCharacterSet('Big5');"/>
|
|
<menuitem id="GB2312" type="radio" name="charsetGroup" value="&dcharSimpChiGbCmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuseparator />
|
|
<menuitem id="EUC-KR" type="radio" name="charsetGroup" value="&dcharKoreanCmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuseparator />
|
|
<menuitem id="UTF-8" type="radio" name="charsetGroup" value="&dcharUtf8Cmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuseparator />
|
|
<menuitem id="KOI8-R" type="radio" name="charsetGroup" value="&dcharRusCmd.label; " oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuitem id="KOI8-U" type="radio" name="charsetGroup" value="&dcharUkrCmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuseparator />
|
|
<menuitem id="ISO-8859-7" type="radio" name="charsetGroup" value="&dcharIsoGreekCmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuseparator />
|
|
<menuitem id="VISCII" type="radio" name="charsetGroup" value="&dcharVietViCmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuseparator />
|
|
<menuitem id="TIS-620" type="radio" name="charsetGroup" value="&dcharThaiCmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuseparator />
|
|
<menuitem id="ARMSCII-8" type="radio" name="charsetGroup" value="&dcharArmCmd.label;" oncommand="SetDocumentCharacterSet(this.id);"/>
|
|
<menuseparator />
|
|
<menuitem value="&dcharDEFAULT.label;" oncommand="SetDefaultMailSendCharacterSet();"/>
|
|
</menupopup>
|
|
</menu>
|
|
</menupopup>
|
|
</menu>
|
|
|
|
<!-- entire menus comes from editorOverlay -->
|
|
<menu id="insertMenu"/>
|
|
|
|
<!-- menu items come from editorOverlay -->
|
|
<menu id="formatMenu" value="&formatMenu.label;" accesskey="&formatmenu.accesskey;">
|
|
<menupopup id="formatMenuPopup">
|
|
<menu id="tableMenu"/>
|
|
<menuseparator/>
|
|
<menuitem id="objectProperties"/>
|
|
<menuitem id="colorsAndBackground"/>
|
|
</menupopup>
|
|
</menu>
|
|
|
|
|
|
<menu value="&optionsMenu.label;">
|
|
<menupopup>
|
|
<menuitem value="&selectAddressCmd.label;" accesskey="&selectAddressCmd.accesskey;" observes="cmd_selectAddress"/>
|
|
<menuitem value=""eOrigCmd.label;" accesskey=""eOrigCmd.accesskey;" disabled="true" oncommand="nsCmd:ComposeQuote"/>
|
|
<menuseparator/>
|
|
|
|
<menu value="&outputFormatMenu.label;" oncommand="OutputFormatMenuSelect(event.target);">
|
|
<menupopup>
|
|
<menuitem value="&askmeFormatCmd.label;" id="1"/>
|
|
<menuitem value="&plainTextFormatCmd.label;" id="2"/>
|
|
<menuitem value="&htmlFormatCmd.label;" id="3"/>
|
|
<menuitem value="&bothFormatCmd.label;" id="4"/>
|
|
</menupopup>
|
|
</menu>
|
|
<menuitem value="&returnReceiptCmd.label;" oncommand="ReturnReceiptMenuSelect();"/>
|
|
<menu value="&priorityMenu.label;" oncommand="PriorityMenuSelect(event.target);">
|
|
<menupopup>
|
|
<menuitem value="&lowestPriorityCmd.label;" id="lowest"/>
|
|
<menuitem value="&lowPriorityCmd.label;" id="low"/>
|
|
<menuitem value="&normalPriorityCmd.label;" id="normal"/>
|
|
<menuitem value="&highPriorityCmd.label;" id="high"/>
|
|
<menuitem value="&highestPriorityCmd.label;" id="highest"/>
|
|
</menupopup>
|
|
</menu>
|
|
|
|
<menu value="&fileCarbonCopyCmd.label;" id="fccMenu" datasources="rdf:mailnewsfolders rdf:msgaccountmanager" ref="msgaccounts:/" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild">
|
|
<menupopup/>
|
|
<template>
|
|
<rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
|
|
<menupopup>
|
|
<menuitem value="[current selection]" disabled="true"/>
|
|
<menuseparator/>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup>
|
|
<menuitem uri="..." value="&fileHereMenu.label;"
|
|
oncommand="MessageFcc(event.target)"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType" />
|
|
<menuseparator/>
|
|
</menupopup>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanFileMessages="false" nc:ServerType="nntp">
|
|
<!-- don't show nntp servers in the file and copies menus -->
|
|
</rule>
|
|
<rule nc:CanFileMessages="false" iscontainer="true" isempty="false">
|
|
<!-- note, there is no "file here" -->
|
|
<menupopup>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup/>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanFileMessages="true">
|
|
<menupopup>
|
|
<menuitem uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="MessageFcc(event.target)"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
</menu>
|
|
|
|
<menuitem value="&addSignatureCmd.label;" disabled="true" oncommand=""/>
|
|
<menuitem value="&attachVCardCmd.label;" disabled="true" accesskey="&attachVCardCmd.accesskey;" oncommand="AttachVCard()"/>
|
|
</menupopup>
|
|
</menu>
|
|
|
|
<!-- menu id="debugMenu"/ -->
|
|
<menu id="tasksMenu"/>
|
|
<menu id="menu_Help"/>
|
|
<spring flex="100%"/>
|
|
</menubar>
|
|
<toolbox>
|
|
<toolbar id="composeToolbar" class="standard" persist="collapsed">
|
|
<box id="toolbar_button_box">
|
|
<titledbutton id="button_send" class="button28" align="top" value="&sendButton.label;" onclick="SendMessage()"/>
|
|
<toolbarseparator/>
|
|
<titledbutton id="button_address" class="other28" align="top" value="&addressButton.label;" onclick="SelectAddress()"/>
|
|
<titledbutton id="button_attach" class="other28" align="top" value="&attachButton.label;" onclick="AttachFile()"/>
|
|
<titledbutton id="button_quote" class="other28" align="top" disabled="true" value=""eButton.label;" onclick="QuoteMessage()"/>
|
|
<!--titledbutton id="button_spelling" class="other28" align="top" value="&spellingButton.label;" onclick="Spelling()"/-->
|
|
<toolbarseparator/>
|
|
<titledbutton id="button_save" class="other28" align="top" value="&saveButton.label;" onclick="SaveAsDraft()"/>
|
|
<titledbutton id="button_stop" class="other28" align="top" disabled="true" value="&stopButton.label;" onclick="Stop()"/>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
|
|
<box id="toolbar_throbber_box" align="vertical">
|
|
<titledbutton id="Throbber" onclick="window.open('&throbber.url;');">
|
|
<observes element="broadcaster_throbber" attribute="busy"/>
|
|
</titledbutton>
|
|
</box>
|
|
</toolbar>
|
|
|
|
<toolbar id="MsgHeadersToolbar" persist="collapsed">
|
|
<box align="horizontal" flex="100%">
|
|
<spring style="width:0.5em"/>
|
|
<box align="vertical" flex="75%">
|
|
<spring style="height:0.5em"/>
|
|
<box align="horizontal">
|
|
<html:div>&fromAddr.label;</html:div>
|
|
<spring style="width:0.5em"/>
|
|
<html:select id="msgIdentity" flex="100%"/>
|
|
</box>
|
|
<spring style="height:0.5em"/>
|
|
|
|
<!-- addressing widget -->
|
|
<box id="addressingWidget"/>
|
|
<spring style="height:0.5em"/>
|
|
|
|
<box align="horizontal">
|
|
<html:div>&subject.label;</html:div>
|
|
<spring style="width:0.5em"/>
|
|
<html:input id="msgSubject" type="text" flex="100%"
|
|
onkeyup="SetComposeWindowTitle(event.which);"
|
|
onkeydown="if (event.which == 9) contentWindow.focus();"
|
|
/>
|
|
</box>
|
|
<spring style="height:0.5em"/>
|
|
</box>
|
|
|
|
<spring style="width:0.5em"/>
|
|
<box align="vertical" flex="25%">
|
|
<spring style="height:0.5em"/>
|
|
<box align="vertical" style="height:1em">
|
|
<html:div flex="100%">&attachments.label;</html:div>
|
|
</box>
|
|
<spring style="height:0.5em"/>
|
|
<box align="vertical" style="height:8.5em; background-color:white; border-top:solid black 1px">
|
|
<tree id="attachmentBucket" flex="100%" style="width:0px"
|
|
onkeypress="if (event.which == 8) RemoveSelectedAttachment();">
|
|
<treecol style="width:100%"/>
|
|
|
|
<treechildren id="bucketBody">
|
|
</treechildren>
|
|
</tree>
|
|
</box>
|
|
<spring style="height:0.5em"/>
|
|
</box>
|
|
<spring style="width:0.5em"/>
|
|
</box>
|
|
</toolbar>
|
|
|
|
<!-- These toolbar items get filled out from the editorOverlay -->
|
|
<toolbar id="FormatToolbar" persist="collapsed">
|
|
<html:div>
|
|
<!-- items are filled out from editorOverlay -->
|
|
<html:select id="ParagraphSelect"/>
|
|
<html:select id="FontFaceSelect"/>
|
|
</html:div>
|
|
|
|
<html:div id="ColorButtons"/>
|
|
|
|
<titledbutton id="DecreaseFontSizeButton"/>
|
|
<titledbutton id="IncreaseFontSizeButton"/>
|
|
<titledbutton id="boldButton"/>
|
|
<titledbutton id="italicButton"/>
|
|
<titledbutton id="underlineButton"/>
|
|
<titledbutton id="ulButton"/>
|
|
<titledbutton id="olButton"/>
|
|
<titledbutton id="outdentButton"/>
|
|
<titledbutton id="indentButton"/>
|
|
|
|
<menu>
|
|
<titledbutton id="AlignPopupButton"/>
|
|
<menupopup id="AlignmentPopup"/>
|
|
</menu>
|
|
|
|
<menu>
|
|
<titledbutton id="InsertPopupButton"/>
|
|
<menupopup id="InsertPopup"/>
|
|
</menu>
|
|
<spring flex="100%"/>
|
|
</toolbar>
|
|
</toolbox>
|
|
|
|
<!-- The main mail three pane frame -->
|
|
<html:iframe type="content-primary" id="content-frame" src="about:blank" name="browser.message.body" flex="100%"/>
|
|
|
|
<box id="status-bar">
|
|
<box align="vertical" style="width:100px">
|
|
<spring flex="100%"/>
|
|
<progressmeter mode="normal" value="0">
|
|
</progressmeter>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<titledbutton id="statusText" align="right" flex="100%" value="Document: Done"/>
|
|
</box>
|
|
|
|
<!-- /box -->
|
|
<toolbar id="taskbar"/>
|
|
</window>
|
|
|