mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-10 18:00:15 +01:00
208 lines
10 KiB
Plaintext
208 lines
10 KiB
Plaintext
|
<?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 Mozilla Communicator client code, released
|
||
|
March 31, 1998.
|
||
|
|
||
|
The Initial Developer of the Original Code is
|
||
|
Netscape Communications Corporation.
|
||
|
Portions created by the Initial Developer are Copyright (C) 1998-1999
|
||
|
the Initial Developer. All Rights Reserved.
|
||
|
|
||
|
Contributor(s):
|
||
|
|
||
|
Alternatively, the contents of this file may be used under the terms of
|
||
|
either of 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 ***** -->
|
||
|
|
||
|
<!DOCTYPE overlay [
|
||
|
<!ENTITY % msgHdrViewPopupDTD SYSTEM "chrome://messenger/locale/msgHdrViewPopup.dtd" >
|
||
|
%msgHdrViewPopupDTD;
|
||
|
<!ENTITY % msgHdrViewOverlayDTD SYSTEM "chrome://messenger/locale/msgHdrViewOverlay.dtd" >
|
||
|
%msgHdrViewOverlayDTD;
|
||
|
]>
|
||
|
|
||
|
<?xml-stylesheet href="chrome://messenger/skin/messageHeader.css" type="text/css"?>
|
||
|
<?xml-stylesheet href="chrome://messenger/skin/messageKeywords.css" type="text/css"?>
|
||
|
|
||
|
<overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||
|
|
||
|
<script src="chrome://messenger/content/msgHdrViewAddresses.js"/>
|
||
|
<script src="chrome://messenger/content/msgHdrViewOverlay.js"/>
|
||
|
|
||
|
<!-- drag and drop -->
|
||
|
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
|
||
|
<script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
|
||
|
|
||
|
<stringbundleset id="stringbundleset">
|
||
|
<stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
|
||
|
</stringbundleset>
|
||
|
|
||
|
<popup id="emailAddressPopup" popupanchor="bottomleft"
|
||
|
onpopupshowing="goUpdateCommand('cmd_createFilterFromPopup');">
|
||
|
<menuitem label="&SendMailTo.label;"
|
||
|
accesskey="&SendMailTo.accesskey;"
|
||
|
oncommand="SendMailToNode(document.popupNode)"/>
|
||
|
<menuitem label="&CreateFilterFrom.label;"
|
||
|
accesskey="&CreateFilterFrom.accesskey;"
|
||
|
command="cmd_createFilterFromPopup"/>
|
||
|
<menuitem label="&AddToAddressBook.label;"
|
||
|
accesskey="&AddToAddressBook.accesskey;"
|
||
|
oncommand="AddNodeToAddressBook(document.popupNode)"/>
|
||
|
<menuitem label="&CopyEmailAddress.label;"
|
||
|
accesskey="&CopyEmailAddress.accesskey;"
|
||
|
oncommand="CopyEmailAddress(document.popupNode)"/>
|
||
|
</popup>
|
||
|
|
||
|
<popup id="attachmentListContext" onpopupshowing="return onShowAttachmentContextMenu();">
|
||
|
<menuitem id="context-openAttachment" label="&openAttachmentCmd.label;" accesskey="&openAttachmentCmd.accesskey;"
|
||
|
oncommand="handleAttachmentSelection('openAttachment');"/>
|
||
|
<menuitem id="context-viewAttachment" label="&viewAttachmentCmd.label;" accesskey="&viewAttachmentCmd.accesskey;"
|
||
|
oncommand="handleAttachmentSelection('viewAttachment');"/>
|
||
|
<menuitem id="context-saveAttachment" label="&saveAsAttachmentCmd.label;" accesskey="&saveAsAttachmentCmd.accesskey;"
|
||
|
oncommand="handleAttachmentSelection('saveAttachment');"/>
|
||
|
<menuseparator/>
|
||
|
<menuitem id="context-detachAttachment" label="&detachAttachmentCmd.label;" accesskey="&detachAttachmentCmd.accesskey;"
|
||
|
oncommand="handleAttachmentSelection('detachAttachment');"/>
|
||
|
<menuitem id="context-deleteAttachment" label="&deleteAttachmentCmd.label;" accesskey="&deleteAttachmentCmd.accesskey;"
|
||
|
oncommand="handleAttachmentSelection('deleteAttachment');"/>
|
||
|
<menuseparator/>
|
||
|
<menuitem id="context-saveAllAttachments" oncommand="HandleMultipleAttachments('saveAttachment', currentAttachments);"
|
||
|
label="&saveAllAttachmentsCmd.label;" accesskey="&saveAllAttachmentsCmd.accesskey;"/>
|
||
|
<menuitem id="context-detachAllAttachments" oncommand="HandleMultipleAttachments('detachAttachment', currentAttachments);"
|
||
|
label="&detachAllAttachmentsCmd.label;" accesskey="&detachAllAttachmentsCmd.accesskey;"/>
|
||
|
<menuitem id="context-deleteAllAttachments" oncommand="HandleMultipleAttachments('deleteAttachment', currentAttachments);"
|
||
|
label="&deleteAllAttachmentsCmd.label;" accesskey="&deleteAllAttachmentsCmd.accesskey;"/>
|
||
|
</popup>
|
||
|
|
||
|
<popup id="attachmentMenuList">
|
||
|
<menuseparator/>
|
||
|
<menuitem id="file-saveAllAttachments" label="&saveAllAttachmentsCmd.label;"
|
||
|
accesskey="&saveAllAttachmentsCmd.accesskey;" oncommand="HandleMultipleAttachments('saveAttachment', currentAttachments);"/>
|
||
|
<menuitem id="file-detachAllAttachments" label="&detachAllAttachmentsCmd.label;"
|
||
|
accesskey="&detachAllAttachmentsCmd.accesskey;" oncommand="HandleMultipleAttachments('detachAttachment', currentAttachments);" />
|
||
|
<menuitem id="file-deleteAllAttachments" label="&deleteAllAttachmentsCmd.label;"
|
||
|
accesskey="&deleteAllAttachmentsCmd.accesskey;" oncommand="HandleMultipleAttachments('deleteAttachment', currentAttachments);" />
|
||
|
</popup>
|
||
|
|
||
|
<tooltip id="attachmentListTooltip"
|
||
|
onpopupshowing="return FillInAttachmentTooltip(document.tooltipNode);"/>
|
||
|
|
||
|
<hbox id="msgHeaderView" keywordrelated="true" originalclass="none" persist="state">
|
||
|
|
||
|
<grid id="collapsedHeaderView" class="header-part1" keywordrelated="true" originalclass="header-part1" flex="1" collapsed="true">
|
||
|
<rows>
|
||
|
<row flex="1"/>
|
||
|
</rows>
|
||
|
<columns>
|
||
|
<column class="collapsedToggleHdrBox">
|
||
|
<hbox align="start">
|
||
|
<image id="toggleHeaderView" class="collapsedHeaderViewButton"
|
||
|
onclick="ToggleHeaderView();"/>
|
||
|
</hbox>
|
||
|
</column>
|
||
|
|
||
|
<column id="collapsedsubjectBox" collapsed="true" flex="1">
|
||
|
<hbox>
|
||
|
<label class="collapsedHeaderDisplayName" value="&subjectField.label;"/>
|
||
|
<textbox id="collapsedsubjectValue" keywordrelated="true" class="collapsedHeaderValue plain" originalclass="collapsedHeaderValue plain" readonly="true" crop="right" appendoriginalclass="true" flex="1"/>
|
||
|
</hbox>
|
||
|
</column>
|
||
|
|
||
|
<column id="collapsedfromBox" flex="1">
|
||
|
<hbox align="start">
|
||
|
<mail-multi-emailHeaderField id="collapsedfromValue" class="collapsedHeaderDisplayName" label="&fromField.label;" collapsed="true" flex="1"/>
|
||
|
</hbox>
|
||
|
</column>
|
||
|
|
||
|
<column id = "collapseddateBox" collapsed="true">
|
||
|
<hbox align="start">
|
||
|
<textbox id="collapseddateValue" keywordrelated="true" class="collapsedHeaderValue plain" originalclass="collapsedHeaderValue plain" appendoriginalclass="true" readonly="true"/>
|
||
|
</hbox>
|
||
|
</column>
|
||
|
|
||
|
<column id="collapsedKeywordBox">
|
||
|
<hbox align="start">
|
||
|
<image id="collapsedKeywordImage" keywordrelated="true" originalclass="none"/>
|
||
|
</hbox>
|
||
|
</column>
|
||
|
|
||
|
<column id="collapsedAttachmentBox" collapsed="true">
|
||
|
<hbox align="start">
|
||
|
<image id="collapsedAttachment" class="collapsedAttachmentButton" onclick="ToggleHeaderView();" />
|
||
|
</hbox>
|
||
|
</column>
|
||
|
</columns>
|
||
|
</grid>
|
||
|
|
||
|
<hbox id="expandedHeaderView" class="header-part1" keywordrelated="true" originalclass="header-part1" flex="1" collapsed="true">
|
||
|
|
||
|
<vbox id="expandedHeaders" flex="1">
|
||
|
<mail-toggle-headerfield keywordrelated="true" id="expandedsubjectBox" class="subjectvalue" label="&subjectField.label;" ontwistyclick="ToggleHeaderView();" collapsed="true"/>
|
||
|
|
||
|
<mail-multi-emailHeaderField id="expandedfromBox" label="&fromField.label;" collapsed="true"/>
|
||
|
<mail-emailheaderfield id="expandedsenderBox" label="&senderField.label;" collapsed="true"/>
|
||
|
<mail-headerfield id="expandedorganizationBox" label="&organizationField.label;" collapsed="true"/>
|
||
|
<mail-multi-emailHeaderField id="expandedreply-toBox" label="&replyToField.label;" collapsed="true"/>
|
||
|
|
||
|
<mail-headerfield keywordrelated="true" id="expandeddateBox" label="&dateField.label;" collapsed="true"/>
|
||
|
|
||
|
<mail-multi-emailHeaderField id="expandedtoBox" label="&toField.label;" collapsed="true"/>
|
||
|
<mail-multi-emailHeaderField id="expandedccBox" label="&ccField.label;" collapsed="true"/>
|
||
|
<mail-multi-emailHeaderField id="expandedbccBox" label="&bccField.label;" collapsed="true"/>
|
||
|
|
||
|
<mail-headerfield keywordrelated="true" id="expandednewsgroupsBox" label="&newsgroupsField.label;" collapsed="true"/>
|
||
|
<mail-headerfield keywordrelated="true" id="expandedfollowup-toBox" label="&followupToField.label;" collapsed="true"/>
|
||
|
<mail-tagfield id="expandedtagsBox" label="&tagsHdr.label;" collapsed="true"/>
|
||
|
<mail-headerfield keywordrelated="true" id="expandeduser-agentBox" label="&userAgentField.label;" collapsed="true"/>
|
||
|
</vbox>
|
||
|
|
||
|
<vbox id="expandedKeywordBox">
|
||
|
<spacer flex="1"/>
|
||
|
<image id="expandedKeywordImage" keywordrelated="true" originalclass="none" />
|
||
|
<spacer flex="1"/>
|
||
|
</vbox>
|
||
|
|
||
|
<vbox id="editMessageBox" class="header-part1" keywordrelated="true" originalclass="header-part1" collapsed="true">
|
||
|
<spacer flex="1"/>
|
||
|
<button id="editMessageButton" label="&editMessage.label;" oncommand="MsgComposeDraftMessage()"/>
|
||
|
<spacer flex="1"/>
|
||
|
</vbox>
|
||
|
|
||
|
<vbox>
|
||
|
<spacer flex="1"/>
|
||
|
<image style="padding: 5px" id="fromBuddyIcon"/>
|
||
|
<spacer flex="1"/>
|
||
|
</vbox>
|
||
|
|
||
|
<vbox id="expandedAttachmentBox" class="header-part1" keywordrelated="true" originalclass="header-part1" collapsed="true">
|
||
|
<label id="attachmentText" value="&attachmentsTree.label;" crop="right"/>
|
||
|
<listbox id="attachmentList" rows="3" seltype="multiple"
|
||
|
onclick="attachmentListClick(event);" ondraggesture="nsDragAndDrop.startDrag(event,attachmentAreaDNDObserver);" ondragover="nsDragAndDrop.dragOver(event, attachmentAreaDNDObserver);" context="attachmentListContext"/>
|
||
|
</vbox>
|
||
|
</hbox>
|
||
|
</hbox>
|
||
|
</overlay>
|