mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
eb13ead84f
inform any listeners when we start to display a message r=kai sr=sspitzer
136 lines
5.5 KiB
XML
136 lines
5.5 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
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://messenger/locale/msgHdrViewOverlay.dtd">
|
|
|
|
<?xml-stylesheet href="chrome://messenger/skin/messageHeader.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"/>
|
|
<script src="chrome://messenger/content/mime.js"/>
|
|
|
|
<stringbundleset id="stringbundleset">
|
|
<stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
|
|
</stringbundleset>
|
|
|
|
<popup id="attachmentTreeContext">
|
|
<menuitem id="context-openAttachment" label="&openAttachmentCmd.label;" accesskey="&openAttachmentCmd.accesskey;"
|
|
oncommand="handleAttachmentSelection('openAttachment');"/>
|
|
<menuitem id="context-saveAttachment" label="&saveAsAttachmentCmd.label;" accesskey="&saveAsAttachmentCmd.accesskey;"
|
|
oncommand="handleAttachmentSelection('saveAttachment');"/>
|
|
<menuseparator/>
|
|
<menuitem id="context-saveAllAttachments" oncommand="SaveAllAttachments();" label="&saveAllAttachmentsCmd.label;" accesskey="&saveAllAttachmentsCmd.accesskey;"/>
|
|
</popup>
|
|
|
|
<popup id="attachmentMenuList">
|
|
<menuseparator/>
|
|
<menuitem label="&saveAllAttachmentsCmd.label;" oncommand="SaveAllAttachments();"/>
|
|
</popup>
|
|
|
|
<popup id="attachmentTreeTooltip" class="tooltip" onpopupshowing="return FillInAttachmentTooltip(document.tooltipNode);" >
|
|
<label id="attachmentTreeTooltipText"/>
|
|
</popup>
|
|
|
|
<hbox id="msgHeaderView" persist="state">
|
|
|
|
<grid id="collapsedHeaderView" class="header-part1" flex="1" collapsed="true">
|
|
<rows>
|
|
<row flex="1"/>
|
|
</rows>
|
|
<columns>
|
|
<column class="collapsedToggleHdrBox" pack="center">
|
|
<vbox pack="center" flex="1">
|
|
<image id="toggleHeaderView" class="collapsedHeaderViewButton"
|
|
onclick="ToggleHeaderView();"/>
|
|
</vbox>
|
|
</column>
|
|
|
|
<column id="collapsedsubjectBox" collapsed="true" crop="right" flex="1">
|
|
<hbox>
|
|
<label class="collapsedHeaderDisplayName" value="&subjectField.label;"/>
|
|
<label id="collapsedsubjectValue" class="collapsedHeaderValue" crop="right" flex="1"/>
|
|
</hbox>
|
|
</column>
|
|
|
|
<column id="collapsedfromBox" collapsed="true">
|
|
<hbox>
|
|
<label class="collapsedHeaderDisplayName" value="&fromField.label;"/>
|
|
<mail-emailaddress id="collapsedfromValue" flex="1"/>
|
|
</hbox>
|
|
</column>
|
|
|
|
<column id = "collapseddateBox" collapsed="true">
|
|
<hbox style="text-align: right;">
|
|
<label id="collapseddateValue" class="collapsedHeaderValue"/>
|
|
</hbox>
|
|
</column>
|
|
|
|
<column id="collapsedAttachmentBox" hide="true" >
|
|
<image id="collapsedAttachment" class="collapsedAttachmentButton" onclick="ToggleHeaderView();" />
|
|
</column>
|
|
</columns>
|
|
</grid>
|
|
|
|
<hbox id="expandedHeaderView" class="header-part1" flex="1" collapsed="true">
|
|
<vbox id="expandedHeaders" flex="1">
|
|
<mail-toggle-headerfield id="expandedsubjectBox" class="subjectvalue" label="&subjectField.label;" ontwistyclick="ToggleHeaderView();" collapsed="true"/>
|
|
|
|
<mail-emailheaderfield id="expandedfromBox" label="&fromField.label;" collapsed="true"/>
|
|
<mail-emailheaderfield id="expandedreply-toBox" label="&replyToField.label;" collapsed="true"/>
|
|
|
|
<mail-headerfield 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 id="expandednewsgroupsBox" label="&newsgroupsField.label;" collapsed="true"/>
|
|
<mail-headerfield id="expandedfollowup-toBox" label="&followupToField.label;" collapsed="true"/>
|
|
<mail-headerfield id="expandeduser-agentBox" label="&userAgentField.label;" collapsed="true"/>
|
|
|
|
</vbox>
|
|
|
|
<vbox id="editMessageBox" class="header-part1" collapsed="true">
|
|
<spacer class="buttonSpacer"/>
|
|
<button id="editMessageButton" label="&editMessage.label;" oncommand="MsgComposeDraftMessage()"/>
|
|
<spacer class="buttonSpacer"/>
|
|
</vbox>
|
|
|
|
<hbox id="expandedAttachmentBox" class="header-part1" collapsed="true">
|
|
<vbox id="attachmentGrouping">
|
|
<label id="attachmentText" value="&attachmentsTree.label;" crop="right"/>
|
|
</vbox>
|
|
<tree id="attachmentTree" class="inset" flex="2" onclick="attachmentTreeClick(event);" context="attachmentTreeContext">
|
|
<treecolgroup>
|
|
<treecol flex="1"/>
|
|
</treecolgroup>
|
|
<treechildren id="attachmentsBody" flex="1">
|
|
</treechildren>
|
|
</tree>
|
|
</hbox>
|
|
|
|
</hbox>
|
|
</hbox>
|
|
</overlay>
|