home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / mail.xpi / bin / chrome / messenger.jar / content / messenger / msgHdrViewOverlay.xul < prev    next >
Extensible Markup Language  |  2001-10-09  |  9KB  |  203 lines

  1. <?xml version="1.0"?>
  2. <!--
  3. The contents of this file are subject to the Netscape Public
  4. License Version 1.1 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of
  6. the License at http://www.mozilla.org/NPL/
  7.  
  8. Software distributed under the License is distributed on an "AS
  9. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10. implied. See the License for the specific language governing
  11. rights and limitations under the License.
  12.  
  13. The Original Code is Mozilla Communicator client code, released
  14. March 31, 1998.
  15.  
  16. The Initial Developer of the Original Code is Netscape
  17. Communications Corporation. Portions created by Netscape are
  18.  Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19. Rights Reserved.
  20. -->
  21.  
  22. <!DOCTYPE window SYSTEM "chrome://messenger/locale/msgHdrViewOverlay.dtd">
  23.  
  24. <?xml-stylesheet href="chrome://messenger/skin/messageHeader.css" type="text/css"?>
  25.  
  26. <overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  27.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  28.  
  29. <script src="chrome://messenger/content/msgHdrViewAddresses.js"/>
  30. <script src="chrome://messenger/content/msgHdrViewOverlay.js"/>
  31. <script src="chrome://messenger/content/mime.js"/>
  32.  
  33. <stringbundleset id="stringbundleset">
  34.   <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
  35. </stringbundleset>
  36.  
  37. <popup id="attachmentTreeContext">
  38.   <menuitem id="context-openAttachment" label="&openAttachmentCmd.label;" accesskey="&openAttachmentCmd.accesskey;"
  39.      oncommand="handleAttachmentSelection('openAttachment');"/>
  40.   <menuitem id="context-saveAttachment" label="&saveAsAttachmentCmd.label;" accesskey="&saveAsAttachmentCmd.accesskey;"
  41.      oncommand="handleAttachmentSelection('saveAttachment');"/>
  42.   <menuseparator/>
  43.   <menuitem id="context-saveAllAttachments" oncommand="SaveAllAttachments();" label="&saveAllAttachmentsCmd.label;" accesskey="&saveAllAttachmentsCmd.accesskey;"/>
  44. </popup>
  45.  
  46. <popup id="attachmentMenuList">
  47.   <menuseparator/>
  48.   <menuitem label="&saveAllAttachmentsCmd.label;" oncommand="SaveAllAttachments();"/>
  49. </popup>
  50.  
  51. <popup id="attachmentTreeTooltip" class="tooltip" onpopupshowing="return FillInAttachmentTooltip(document.tooltipNode);" > 
  52.     <text id="attachmentTreeTooltipText"/>
  53. </popup>
  54.  
  55. <hbox id="msgHeaderView" persist="state">
  56. <grid id="collapsedHeaderView" class="header-part1" flex="1" collapsed="true">
  57.   <columns>
  58.     <column class="collapsedToggleHdrBox" align="top" pack="center">
  59.       <image id="toggleHeaderView" class="collapsedHeaderViewButton"
  60.           onclick="ToggleHeaderView();"/>
  61.     </column>
  62.       
  63.     <column id="collapsedsubjectBox" collapsed="true" crop="right" flex="1">
  64.        <hbox>  
  65.         <text class="collapsedHeaderDisplayName" value="&subjectField.label;"/>
  66.         <text id="collapsedsubjectValue" class="collapsedHeaderValue" crop="right" flex="1"/>
  67.        </hbox>
  68.         </column>
  69.  
  70.         <column id="collapsedfromBox" collapsed="true">
  71.         <hbox>
  72.           <text class="collapsedHeaderDisplayName" value="&fromField.label;"/>          
  73.           <mail-emailaddress id="collapsedfromValue" flex="1"/>
  74.         </hbox>
  75.         </column>
  76.  
  77.     <column id = "collapseddateBox" collapsed="true">
  78.       <hbox style="text-align: right;">
  79.               <text id="collapseddateValue" class="collapsedHeaderValue"/>
  80.       </hbox>
  81.         </column>
  82.  
  83.     <column id="collapsedAttachmentBox" hide="true" >
  84.       <image id="collapsedAttachment" class="collapsedAttachmentButton" onclick="ToggleHeaderView();" />  
  85.     </column>
  86.   </columns>
  87. </grid>
  88.  
  89. <hbox id="expandedHeaderView" class="header-part1" flex="1" collapsed="true">
  90.   <vbox flex="1">
  91.     <hbox id="expandedsubjectBox" class="headerBox" collapsed="true">
  92.       <hbox class="headerValueBox" align="top">
  93.           <image id="toggleHeaderView" class="expandHeaderViewButton" 
  94.            onclick="ToggleHeaderView();"/>
  95.         <spring flex="1"/>
  96.         <text class="headerdisplayname" value="&subjectField.label;"/>
  97.       </hbox>
  98.       <html id="expandedsubjectValue" class="headerValue subjectvalue" flex="1">*</html>
  99.     </hbox>
  100.  
  101.     <hbox id="expandedfromBox" class="headerBox" collapsed="true">
  102.        <hbox class="headerValueBox">
  103.          <text class="headerdisplayname" value="&fromField.label;"/>
  104.        </hbox>
  105.        <mail-emailaddress id="expandedfromValue" flex="1"/>
  106.         </hbox>
  107.  
  108.     <hbox id="expandedreply-toBox" class="headerBox" collapsed="true"> 
  109.       <hbox class="headerValueBox">
  110.         <text class="headerdisplayname" value="&replyToField.label;"/>
  111.       </hbox>
  112.         <mail-emailaddress id="expandedreply-toValue" flex="1"/>
  113.      </hbox>
  114.         
  115.     <hbox id = "expandeddateBox" class="headerBox" collapsed="true">
  116.       <hbox class="headerValueBox">
  117.         <text class="headerdisplayname" value="&dateField.label;"/>
  118.       </hbox>
  119.             <html id="expandeddateValue" class="headerValue" flex="1">*</html>
  120.         </hbox>
  121.  
  122.     <hbox id="expandedtoBox" class="headerBox" collapsed="true">
  123.       <hbox class="headerValueBox" align="top">
  124.        <hbox align="center">
  125.          <image class="showMoreAddressesButton" id="expandedtoToggleIcon" 
  126.              onclick="ToggleLongShortAddresses('expandedtoToggleIcon','expandedtoValue', 'expandedtoValueLong');"/>
  127.           <spring flex="1"/>
  128.           <text class="headerdisplayname" value="&toField.label;"/>
  129.         </hbox>
  130.       </hbox>       
  131.       <html id="expandedtoValue"  class="headerValue" flex="1"/>
  132.       <html id="expandedtoValueLong" class="headerValue" collapsed="true" flex="1"/>
  133.       </hbox>
  134.             
  135.     <hbox id="expandedccBox" class="headerBox" collapsed="true">
  136.       <hbox class="headerValueBox" align="top">
  137.         <hbox align="center">
  138.           <image class="showMoreAddressesButton" id="expandedccToggleIcon"
  139.               onclick="ToggleLongShortAddresses('expandedccToggleIcon', 'expandedccValue', 'expandedccValueLong');"/>
  140.           <spring flex="1"/>
  141.           <text class="headerdisplayname" value="&ccField.label;"/>
  142.         </hbox>
  143.       </hbox>
  144.       <html id="expandedccValue" class="headerValue" flex="1"/>
  145.       <html id="expandedccValueLong" class="headerValue" collapsed="true" flex="1"/>
  146.       </hbox>
  147.  
  148.      <hbox id="expandedbccBox" class="headerBox" collapsed="true">
  149.       <hbox class="headerValueBox" align="top">
  150.         <hbox align="center">
  151.           <image class="showMoreAddressesButton" id="expandedbccToggleIcon"
  152.              onclick="ToggleLongShortAddresses('expandedbccToggleIcon', 'expandedbccValue', 'expandedbccValueLong');"/>
  153.           <text class="headerdisplayname" value="&bccField.label;"/>
  154.         </hbox>
  155.       </hbox>
  156.       <html id="expandedbccValue" class="headerValue" flex="1"/>
  157.       <html id="expandedbccValueLong" class="headerValue" collapsed="true" flex="1"/>
  158.       </hbox>
  159.  
  160.      <hbox id="expandednewsgroupsBox" class="headerBox" collapsed="true">
  161.         <hbox class="headerValueBox">
  162.           <text class="headerdisplayname" value="&newsgroupsField.label;"/>
  163.         </hbox>
  164.         <html id="expandednewsgroupsValue" class="headerValue" flex="1">*</html>
  165.          </hbox>
  166.  
  167.      <hbox id="expandedfollowup-toBox" class="headerBox" collapsed="true">
  168.        <hbox class="headerValueBox">
  169.           <text class="headerdisplayname" value="&followupToField.label;"/>
  170.        </hbox>          
  171.        <html id="expandedfollowup-toValue" class="headerValue" flex="1">*</html> 
  172.      </hbox>
  173.  
  174.      <hbox id="expandeduser-agentBox" class="headerBox" collapsed="true">
  175.        <hbox class="headerValueBox">  
  176.         <text class="headerdisplayname" value="&userAgentField.label;"/>
  177.        </hbox>       
  178.        <text id="expandeduser-agentValue" class="collapsedHeaderValue" flex="1"/>
  179.         </hbox>
  180.    
  181.    </vbox>
  182.  
  183.    <vbox id="editMessageBox" class="header-part1" collapsed="true">
  184.     <spring class="buttonSpacer"/> 
  185.     <button id="editMessageButton" label="&editMessage.label;" orient="right" onclick="MsgComposeDraftMessage()"/>
  186.     <spring class="buttonSpacer"/> 
  187.    </vbox> 
  188.  
  189.    <hbox id="expandedAttachmentBox" class="header-part1">
  190.      <text class="label" id="attachmentText" value="&attachmentsTree.label;" crop="right"/>
  191.      <tree id="attachmentTree" class="inset" flex="2" onclick="attachmentTreeClick(event);" context="attachmentTreeContext">
  192.        <treecolgroup>
  193.         <treecol flex="1"/>
  194.        </treecolgroup>
  195.        <treechildren id="attachmentsBody" flex="1">
  196.        </treechildren>
  197.      </tree>
  198.    </hbox>
  199.  
  200.   </hbox>
  201.  </hbox>
  202. </overlay>
  203.