gecko-dev/mailnews/base/resources/content/messenger.xul

499 lines
26 KiB
Plaintext
Raw Normal View History

<?xml version="1.0"?>
1999-06-08 02:17:35 +00:00
<!--
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.
-->
1999-08-07 00:22:01 +00:00
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
1999-09-01 23:50:33 +00:00
<?xml-stylesheet href="chrome://navigator/skin/contentframe.css" type="text/css"?>
1999-08-07 00:22:01 +00:00
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://global/content/tasksOverlay.xul"?>
1999-09-01 23:50:33 +00:00
<?xul-overlay href="chrome://messenger/content/threadPane.xul"?>
1999-09-16 21:11:32 +00:00
<?xul-overlay href="chrome://sidebar/content/sidebarOverlay.xul"?>
<?xml-stylesheet href="chrome://sidebar/skin/sidebarOverlay.css" type="text/css"?>
1999-06-08 02:17:35 +00:00
1999-08-07 00:22:01 +00:00
<!DOCTYPE window SYSTEM "chrome://messenger/locale/messenger.dtd">
1999-09-14 06:28:05 +00:00
<window id="messengerWindow"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/TR/REC-html40"
title="&messengerWindow.title;"
titlemodifier="&titleModifier.label;"
titlemenuseparator="&titleSeperator.label;"
onload="OnLoadMessenger()"
onunload="OnUnloadMessenger()"
1999-09-14 06:28:05 +00:00
align="vertical"
1999-09-22 06:05:36 +00:00
width="640"
height="480"
persist="width height x y"
windowtype="mail:3pane">
<html:script src="chrome://messenger/content/widgetglue.js"/>
<html:script src="chrome://messenger/content/commandglue.js"/>
<html:script src="chrome://messenger/content/shareglue.js"/>
1999-08-30 22:13:26 +00:00
<html:script src="chrome://messenger/content/msgViewNavigation.js"/>
1999-09-01 23:50:33 +00:00
<html:script src="chrome://messenger/content/msgMail3PaneWindow.js"/>
<html:script src="chrome://navigator/content/contentframe.js" />
<commands id="commands">
<commandset id="globalEditMenuItems"/>
</commands>
<broadcasterset id="broadcasterset">
<!-- File Menu -->
<broadcaster id="cmd_close" oncommand="CloseMessenger()"/>
<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"
valueFolder="&deleteFolderCmd.label;"
valueMessage="&deleteMsgCmd.label;"
valueMessages="&deleteMsgsCmd.label;"/>
<broadcaster id="cmd_selectAll"/>
</broadcasterset>
<keyset id="keyset">
<!-- File Menu -->
<key id="key_close"/>
<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"/>
</keyset>
1999-07-31 18:19:54 +00:00
<broadcaster id="Messenger:Throbber" busy="false"/>
1999-08-01 18:39:04 +00:00
<broadcaster id="Messenger:Status"/>
1999-08-08 19:42:30 +00:00
<broadcaster id="Messenger:LoadingProgress"/>
<!-- The main mail three pane frame -->
<box align="horizontal" style="height:100px" flex="1">
<box id="sidebarbox" />
1999-09-21 07:06:53 +00:00
<splitter id="sidebarsplitter" collapse="before" persist="state"/>
<box align="vertical" flex="1" style="border-left:solid black 1px">
<toolbox>
<menubar>
<menu id="menu_File">
<menupopup id="menu_FilePopup">
<menu value="&newMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&newNavCmd.label;" oncommand="NewBrowserWindow();"/>
<menuitem value="&newMessageCmd.label;" oncommand="MsgNewMessage();"/>
<menuitem value="&newBlankPageCmd.label;" oncommand="NewBlankPage();"/>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&newPageFromTemplate.label;" oncommand="TemplatePage();"/>
<menuitem value="&newPageFromWizard.label;" oncommand="WizardPage();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
1999-08-20 22:58:32 +00:00
<menuitem value="&newFolderCmd.label;" oncommand="MsgNewFolder();"/>
<menuitem value="&openAttachmentCmd.label;" oncommand="MsgOpenAttachment();"/>
<menuseparator/>
<menuitem id="menu_close"/>
<menu value="&saveAsMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&saveAsFileCmd.label;" oncommand="MsgSaveAsFile();"/>
<menuitem value="&saveAsTemplateCmd.label;" oncommand="MsgSaveAsTemplate();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&getNewMsgCmd.label;" oncommand="MsgGetMessage();"/>
<menuitem value="&sendUnsentCmd.label;" oncommand="MsgSendUnsentMsg();"/>
<menuitem value="&loadFirstDraft.label;" oncommand="MsgLoadFirstDraft();"/>
<menuitem value="&emptyTrashCmd.label;" oncommand="MsgEmptyTrash();"/>
<menuitem value="&subscribeCmd.label;" oncommand="MsgSubscribe();"/>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&renameFolder.label;" oncommand="MsgRenameFolder();"/>
<menuitem value="&compactFolder.label;" oncommand="MsgCompactFolder();"/>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&importCmd.label;" oncommand="MsgImport();"/>
<menuseparator/>
<menu value="&offlineMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&workOfflineCmd.label;" oncommand="MsgWorkOffline();"/>
<menuitem value="&syncCmd.label;" oncommand="MsgSynchronize();"/>
<menuitem value="&getSelectedCmd.label;" oncommand="MsgGetSelectedMsg();"/>
<menuitem value="&getFlaggedCmd.label;" oncommand="MsgGetFlaggedMsg();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menuseparator/>
<menuitem id="menu_pageSetup"/>
1999-08-20 22:58:32 +00:00
<menuitem value="&printPreviewCmd.label;" oncommand="PrintPreview();"/>
<menuitem value="&printCmd.label;" oncommand="Print();"/>
<menuseparator/>
1999-07-31 11:36:35 +00:00
</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"/>
<menuseparator/>
<menuitem value="This delete not yet working"/>
<menuitem id="menu_delete"/>
<menuseparator/>
<menuitem value="&deleteMsgCmd.label;" oncommand="MsgDeleteMessage(false);"/>
<menuitem value="&deleteFolderCmd.label;" oncommand="MsgDeleteFolder();"/>
<menuseparator/>
<menuitem id="menu_selectAll"/>
<menuitem value="&selectThreadCmd.label;" oncommand="MsgSelectThread();"/>
<menuitem value="&selectFlaggedCmd.label;" oncommand="MsgSelectFlaggedMsg();"/>
<menuseparator/>
<menuitem value="&spamFiltersCmd.label;"/>
<menuitem value="&filtersCmd.label;" oncommand="MsgFilters();"/>
<menuitem value="&folderPropsCmd.label;" oncommand="MsgFolderProperties();"/>
<menuseparator/>
<menuitem value="&accountManagerCmd.label;" oncommand="MsgAccountManager();"/>
<menuitem id="menu_preferences" oncommand="goPreferences('messenger.xul', 'chrome://messenger/content/pref-mailnews.xul')"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menu id="menu_View">
1999-07-31 07:51:22 +00:00
<menupopup>
<menu value="&showToolbarMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&showMessengerToolbarCmd.label;" oncommand="MsgShowMsgToolbar();"/>
1999-09-14 06:28:05 +00:00
<menuitem value="&showMessageCmd.label;" oncommand="MsgToggleMessagePane();"/>
<menuitem value="&showFoldersCmd.label;" oncommand="MsgToggleFolderPane();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menuseparator/>
<menu value="&sortMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&sortByDateCmd.label;" oncommand="MsgSortByDate();"/>
<menuitem value="&sortByFlagCmd.label;" oncommand="MsgSortByFlag();"/>
<menuitem value="&sortByPriorityCmd.label;" oncommand="MsgSortByPriority();"/>
<menuitem value="&sortBySenderCmd.label;" oncommand="MsgSortBySender();"/>
<menuitem value="&sortBySizeCmd.label;" oncommand="MsgSortBySize();"/>
<menuitem value="&sortByStatusCmd.label;" oncommand="MsgSortByStatus();"/>
<menuitem value="&sortBySubjectCmd.label;" oncommand="MsgSortBySubject();"/>
<menuitem value="&sortByThreadCmd.label;" oncommand="MsgSortByThread();"/>
<menuitem value="&sortByUnreadCmd.label;" oncommand="MsgSortByUnread();"/>
<menuitem value="&sortByOrderReceivedCmd.label;" oncommand="MsgSortByOrderReceived();"/>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&sortAscendCmd.label;" oncommand="MsgSortAscending();"/>
<menuitem value="&sortDescendCmd.label;" oncommand="MsgSortDescending();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menu value="&msgsMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&threadsMsgsCmd.label;" oncommand="MsgViewAllThreadMsgs();"/>
<menuitem value="&allMsgsCmd.label;" oncommand="MsgViewAllMsgs();"/>
<menuitem value="&unreadMsgsCmd.label;" oncommand="MsgViewUnreadMsg();"/>
<menuitem value="&threadsWithUnreadMsgsCmd.label;" oncommand="MsgViewThreadsUnread();"/>
<menuitem value="&watchedThreadsMsgsCmd.label;" oncommand="MsgViewWatchedThreadsUnread();"/>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&ignoreThreadMsgsCmd.label;" oncommand="MsgViewIgnoreThread();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menu value="&headersMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&headersAllCmd.label;" oncommand="MsgViewAllHeaders();"/>
<menuitem value="&headersNormalCmd.label;" oncommand="MsgViewNormalHeaders();"/>
<menuitem value="&headersBriefCmd.label;" oncommand="MsgViewBriefHeaders();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&viewAttachmentsInlineCmd.label;" oncommand="MsgViewAttachInline();"/>
<menuitem value="&wrapLongLinesCmd.label;" oncommand="MsgWrapLongLines();"/>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&increaseFontCmd.label;" oncommand="MsgIncreaseFont();"/>
<menuitem value="&decreaseFontCmd.label;" oncommand="MsgDecreaseFont();"/>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&reloadCmd.label;" oncommand="MsgReload();"/>
<menuitem value="&showImagesCmd.label;" oncommand="MsgShowImages();"/>
<menuitem value="&stopCmd.label;" oncommand="MsgStop();"/>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&pageSourceCmd.label;" oncommand="MsgViewPageSource();"/>
<menuitem value="&pageInfoCmd.label;" oncommand="MsgViewPageInfo();"/>
<menuseparator/>
<menu value="&dcharMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharIso1Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-1');"/>
<menuitem value="&dcharIso2Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-2');"/>
<menuitem value="&dcharIso3Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-3');"/>
<menuitem value="&dcharIso4Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-4');"/>
<menuitem value="&dcharIso9Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-9');"/>
<menuitem value="&dcharIso10Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-10');"/>
<menuitem value="&dcharIso13Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-13');"/>
<menuitem value="&dcharIso14Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-14');"/>
<menuitem value="&dcharIso15Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-15');"/>
<menuitem value="&dcharWinLat2Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('windows-1250');"/>
<menuitem value="&dcharWinLat1Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('windows-1252');"/>
<menuitem value="&dcharWinLat5Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('windows-1254');"/>
<menuitem value="&dcharWinBalRimCmd.label;" oncommand="MessengerSetDefaultCharacterSet('windows-1257');"/>
<menuitem value="&dcharMacRomCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-mac-roman');"/>
<menuitem value="&dcharMacCenEuroCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-mac-ce');"/>
<menuitem value="&dcharMacTurCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-mac-turkish');"/>
<menuitem value="&dcharMacCroaCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-mac-croatian');"/>
<menuitem value="&dcharMacRomanianCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-mac-romanian');"/>
<menuitem value="&dcharMacIceCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-mac-icelandic');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharJapanCmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-2022-JP');"/>
<menuitem value="&dcharJapanShiftjsCmd.label;" oncommand="MessengerSetDefaultCharacterSet('Shift_JIS');"/>
<menuitem value="&dcharJapanEucCmd.label;" oncommand="MessengerSetDefaultCharacterSet('EUC-JP');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharTradChiBigCmd.label;" oncommand="MessengerSetDefaultCharacterSet('Big5');"/>
<menuitem value="&dcharTriChiEucCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-euc-tw');"/>
<menuitem value="&dcharSimpChiGbCmd.label;" oncommand="MessengerSetDefaultCharacterSet('GB2312');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharKoreanCmd.label;" oncommand="MessengerSetDefaultCharacterSet('EUC-KR');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharUtf7Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('UTF-7');"/>
<menuitem value="&dcharUtf8Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('UTF-8');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharIsoCyrCmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-5');"/>
<menuitem value="&dcharEcmaCyrCmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-IR-111');"/>
<menuitem value="&dcharWinCyrCmd.label;" oncommand="MessengerSetDefaultCharacterSet('windows-1251');"/>
<menuitem value="&dcharDosCyrCmd.label;" oncommand="MessengerSetDefaultCharacterSet('IBM866');"/>
<menuitem value="&dcharMacCyrCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-mac-cyrillic');"/>
<menuitem value="&dcharMacUkrCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-mac-ukrainian');"/>
<menuitem value="&dcharRusCmd.label; " oncommand="MessengerSetDefaultCharacterSet('KOI8-R');"/>
<menuitem value="&dcharUkrCmd.label;" oncommand="MessengerSetDefaultCharacterSet('KOI8-U');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharIsoGreekCmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-7');"/>
<menuitem value="&dcharWinGreekCmd.label;" oncommand="MessengerSetDefaultCharacterSet('windows-1253');"/>
<menuitem value="&dcharMacGreekCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-mac-greek');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharWinVietCmd.label;" oncommand="MessengerSetDefaultCharacterSet('windows-1258');"/>
<menuitem value="&dcharVietTcnCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-viet-tcvn5712');"/>
<menuitem value="&dcharVietViCmd.label;" oncommand="MessengerSetDefaultCharacterSet('VISCII');"/>
<menuitem value="&dcharVieVpCmd.label;" oncommand="MessengerSetDefaultCharacterSet('x-viet-vps');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharThaiCmd.label;" oncommand="MessengerSetDefaultCharacterSet('TIS-620');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharArmCmd.label;" oncommand="MessengerSetDefaultCharacterSet('ARMSCII-8');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharIso6Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-6');"/>
<menuitem value="&dcharCp1256Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('windows-1256');"/>
<menuseparator />
1999-08-20 22:58:32 +00:00
<menuitem value="&dcharIso8Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('ISO-8859-8');"/>
<menuitem value="&dcharCp1255Cmd.label;" oncommand="MessengerSetDefaultCharacterSet('windows-1255');"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menu value="&searchMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&findCmd.label;" oncommand="MsgFind();"/>
<menuitem value="&findAgainCmd.label;" oncommand="MsgFindAgain();"/>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&searchCurrentCmd.label;" oncommand="MsgSearchCurrent();"/>
<menuitem value="&searchParentCmd.label;" oncommand="MsgSearchParent();"/>
<menuitem value="&searchParentParentCmd.label;" oncommand="MsgSearchParentParent();"/>
1999-06-15 00:01:23 +00:00
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&searchInternetCmd.label;" oncommand="MsgSearchInternet();"/>
<menuitem value="&searchMailCmd.label;" oncommand="MsgSearchMessages();"/>
<menuitem value="&searchBookmarksCmd.label;" oncommand="MsgSearchBookmarks();"/>
<menuitem value="&searchPeopleCmd.label;" oncommand="MsgSearchPeople();"/>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&searchLocalCmd.label;" oncommand="MsgSearchLocal();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
1999-06-15 00:01:23 +00:00
</menu>
<menu value="&goMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&firstUnreadMsgCmd.label;" oncommand="MsgFirstUnreadMessage();"/>
<menuitem value="&firstFlaggedMsgCmd.label;" oncommand="MsgFirstFlaggedMessage();"/>
<menuseparator/>
<menu value="&nextMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&nextMsgCmd.label;" oncommand="MsgNextMessage();"/>
<menuitem value="&nextUnreadMsgCmd.label;" oncommand="MsgNextUnreadMessage();"/>
<menuitem value="&nextFlaggedMsgCmd.label;" oncommand="MsgNextFlaggedMessage();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menu value="&prevMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&prevMsgCmd.label;" oncommand="MsgPreviousMessage();"/>
<menuitem value="&prevUnreadMsgCmd.label;" oncommand="MsgPreviousUnreadMessage();"/>
<menuitem value="&prevFlaggedMsgCmd.label;" oncommand="MsgPreviousFlaggedMessage();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&backCmd.label;" oncommand="MsgGoBack();"/>
<menuitem value="&forwardCmd.label;" oncommand="MsgGoForward();"/>
1999-09-16 21:11:32 +00:00
<menuitem value="5000 message folder test" oncommand="FolderTest5000();"/>
</menupopup>
</menu>
<menu value="&msgMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&newMsgCmd.label;" oncommand="MsgNewMessage();"/>
<menuitem value="&replyMsgCmd.label;" oncommand="MsgReplyMessage();"/>
<menuitem value="&replyToAllMsgCmd.label;" oncommand="MsgReplyToAllMessage();"/>
<menuitem value="&forwardMsgCmd.label;" oncommand="MsgForwardMessage();"/>
<menu value="&forwardAsMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&forwardAsInline.label;" oncommand="MsgForwardAsInline();"/>
<menuitem value="&forwardAsAttachmentCmd.label;" oncommand="MsgForwardAsAttachment();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
1999-08-20 22:58:32 +00:00
<menuitem value="&editMsgAsNewCmd.label;" oncommand="MsgEditMessageAsNew();"/>
<menuseparator/>
<menu value="&moveMsgMenu.label;" id="moveMenu" datasources="rdf:null" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild">
1999-07-31 07:51:22 +00:00
<menupopup/>
<template>
<rule iscontainer="true" isempty="false">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-26 05:27:52 +00:00
<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">
1999-08-20 02:32:47 +00:00
<menupopup>
<menuitem uri="..." value="&fileHereMenu.label;"/>
<menuseparator/>
</menupopup>
</menu>
</menupopup>
</rule>
<rule>
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-26 05:27:52 +00:00
<menuitem uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="MsgMoveMessage(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"/>
1999-08-20 02:32:47 +00:00
</menupopup>
</rule>
</template>
</menu>
1999-08-27 03:47:58 +00:00
<menu value="&copyMsgMenu.label;" id="copyMenu" datasources="rdf:null" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild">
1999-07-31 07:51:22 +00:00
<menupopup/>
<template>
<rule iscontainer="true" isempty="false">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-26 05:27:52 +00:00
<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">
1999-08-20 02:32:47 +00:00
<menupopup>
<menuitem uri="..." value="&fileHereMenu.label;"/>
<menuseparator/>
</menupopup>
</menu>
1999-07-31 07:51:22 +00:00
</menupopup>
</rule>
<rule>
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-26 05:27:52 +00:00
<menuitem uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name" oncommand="MsgCopyMessage(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"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</rule>
</template>
</menu>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&addSenderToAddressBookCmd.label;" oncommand="MsgAddSenderToAddressBook();"/>
<menuitem value="&addAllToAddressBookCmd.label;" oncommand="MsgAddAllToAddressBook();"/>
<menuseparator/>
<menu value="&markMenu.label;">
1999-07-31 07:51:22 +00:00
<menupopup>
1999-08-20 22:58:32 +00:00
<menuitem value="&markAsReadCmd.label;" oncommand="MsgMarkMsgAsRead(true);"/>
<menuitem value="&markAsUnreadCmd.label;" oncommand="MsgMarkMsgAsRead(false);"/>
<menuitem value="&markThreadAsReadCmd.label;" oncommand="MsgMarkThreadAsRead();"/>
<menuitem value="&markByDateCmd.label;" oncommand="MsgMarkByDate();"/>
<menuitem value="&markAllReadCmd.label;" oncommand="MsgMarkAllRead();"/>
<menuseparator/>
1999-08-24 21:48:44 +00:00
<menuitem value="&markFlaggedCmd.label;" oncommand="MsgMarkAsFlagged(true);"/>
<menuitem value="&markUnflaggedCmd.label;" oncommand="MsgMarkAsFlagged(false);"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menuseparator/>
1999-08-20 22:58:32 +00:00
<menuitem value="&ignoreThreadCmd.label;" oncommand="MsgIgnoreThread();"/>
<menuitem value="&watchThreadCmd.label;" oncommand="MsgWatchThread();"/>
1999-07-31 07:51:22 +00:00
</menupopup>
</menu>
<menu id="tasksMenu"/>
<menu id="menu_Help"/>
<spring flex="100%"/>
</menubar>
</toolbox>
1999-09-16 21:11:32 +00:00
<toolbox>
<toolbar>
<titledbutton src="&getMsgButton.img;" align="top" value="&getMsgButton.label;" onclick="MsgGetMessage()"/>
<titledbutton src="&newMsgButton.img;" align="top" value="&newMsgButton.label;" onclick="MsgNewMessage()"/>
<html:div class="separator" align="vertical"/>
<titledbutton src="&replyButton.img;" align="top" value="&replyButton.label;" onclick="MsgReplyMessage()"/>
<titledbutton src="&replyAllButton.img;" align="top" value="&replyAllButton.label;" onclick="MsgReplyToAllMessage()"/>
<titledbutton src="&forwardButton.img;" align="top" value="&forwardButton.label;" onclick="MsgForwardMessage()"/>
<titledbutton src="&nextButton.img;" align="top" value="&nextButton.label;" onclick="MsgNextUnreadMessage()"/>
<titledbutton src="&deleteButton.img;" align="top" value="&deleteButton.label;" onclick="MsgDeleteMessage(true)"/>
<html:div class="separator" align="vertical"/>
<titledbutton src="&printButton.img;" align="top" value="&printButton.label;" onclick="Print()"/>
<titledbutton src="&stopButton.img;" align="top" value="&stopButton.label;" onclick="MsgStop();"/>
1999-09-16 21:11:32 +00:00
<spring flex="100%"/>
<titledbutton id="Throbber" onclick="window.open('&throbber.url;');">
1999-09-16 21:11:32 +00:00
<observes element="Messenger:Throbber" attribute="busy"/>
</titledbutton>
</toolbar>
</toolbox>
1999-09-01 23:50:33 +00:00
<html:div style="width:100px;height:0px" flex="2" >
<tree id="threadTree"/>
</html:div>
1999-09-14 06:28:05 +00:00
<splitter id="messagePaneSplitter" collapse="after" persist="state"
style="border-top:solid black 1px; border-bottom:solid black 1px;" />
1999-09-01 23:50:33 +00:00
<!-- message view -->
<html:iframe flex="3" style="height:0px" name="messagepane" src="about:blank"/>
1999-09-16 21:11:32 +00:00
<!-- Ripped off from navigator.xul; this should be a XUL fragment! -->
<box align="horizontal" id="status-bar">
1999-09-16 21:11:32 +00:00
<titledbutton value="[Notification Component]" onclick="doTests()"/>
<box align="vertical" style="width:100px">
<spring flex="100%"/>
1999-07-31 18:19:54 +00:00
<progressmeter id="statusbar-icon" mode="normal" value="0" onclick="dumpProgress()">
<observes element="Messenger:LoadingProgress" attribute="mode"/>
1999-08-09 21:08:47 +00:00
<observes element="Messenger:LoadingProgress" attribute="value"/>
<observes element="Messenger:Throbber" attribute="busy" onbroadcast="onProgress()"/>
1999-07-31 18:19:54 +00:00
</progressmeter>
1999-09-16 21:11:32 +00:00
<spring flex="100%"/>
</box>
1999-09-16 21:11:32 +00:00
<titledbutton id="statusText" align="left" flex="100%" value="&statusText.label;" style="font-family:sans-serif;font-size:2.5mm">
<observes element="Messenger:Status" attribute="value" onbroadcast="onStatus()"/>
1999-09-16 21:11:32 +00:00
</titledbutton>
</box>
</box>
</box>
<toolbox id="taskbox"/>
</window>