home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / mail.xpi / bin / chrome / messenger.jar / content / messenger / addressbook / abSelectAddressesDialog.xul < prev    next >
Extensible Markup Language  |  2001-08-31  |  5KB  |  120 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. <?xml-stylesheet href="chrome://messenger/skin/addressbook/selectAddressesDialog.css" type="text/css"?>
  23.  
  24. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  25. <?xul-overlay href="chrome://messenger/content/addressbook/abDirTreeOverlay.xul"?>
  26. <?xul-overlay href="chrome://messenger/content/addressbook/abResultsTreeOverlay.xul"?>
  27. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  28. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  29.  
  30. <!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/abSelectAddressesDialog.dtd">
  31.  
  32. <window xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  33.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  34.         title="&selectAddressWindow.title;"
  35.         class="dialog"
  36.         width="680" height="480"
  37.         onload="OnLoadSelectAddress()"
  38.         orient="vertical">
  39.  
  40.   <stringbundle id="bundle_addressBook" src="chrome://messenger/locale/addressbook/addressBook.properties"/>
  41.   <stringbundle id="bundle_composeMsgs" src="chrome://messenger/locale/messengercompose/composeMsgs.properties"/>
  42.   <script type="application/x-javascript" src="chrome://messenger/content/addressbook/abCommon.js"/>
  43.   <script type="application/x-javascript" src="chrome://messenger/content/addressbook/abSelectAddressesDialog.js"/>
  44.   <script type="application/x-javascript" src="chrome://messenger/content/messengercompose/MsgComposeCommands.js"/>
  45.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  46.  
  47.  
  48.   <keyset id="dialogKeys"/>
  49.   <popupset id="aTooltipSet"/>
  50.  
  51.   <!-- Main box, 3 pane and majority of buttons -->
  52.   <hbox flex="100%">
  53.     <!-- 3 Pane box -->
  54.     <hbox id="3PaneBox" flex="100%">
  55.       
  56.       <!-- dir tree -->
  57.       <hbox id="dirTreeBox">
  58.         <tree id="dirTree" type="dialog" flex="1"/>
  59.       </hbox>
  60.         
  61.       <splitter id="vertical-splitter" collapse="before"  persist="state"/>
  62.  
  63.       <!-- Box that holds results pane, (to,cc,bcc buttons), and address bucket -->
  64.       <vbox id="results-bucket-tree-box" flex="100%">
  65.         <!-- Box that holds results pane and (to,cc,bcc buttons) -->
  66.         <vbox flex="100%">
  67.           <!-- results tree -->
  68.           <vbox id="resultsTreeBox" flex="100%">
  69.             <tree id="resultsTree" flex="1"/>
  70.           </vbox>
  71.           
  72.           <!-- Box that holds (to,cc,bcc buttons) -->
  73.           <hbox id="addToBucketButtonBox">
  74.             <spring flex="50%"/>
  75.             <button id="toButton" label="&toButton.label;" class="dialog" oncommand="SelectAddressToButton()"/> 
  76.             <spring class="middle-button-spring"/>
  77.             <button id="ccButton" label="&ccButton.label;" class="dialog" oncommand="SelectAddressCcButton()"/> 
  78.             <spring class="middle-button-spring"/>
  79.             <button id="bccButton" label="&bccButton.label;" class="dialog" oncommand="SelectAddressBccButton()"/>  
  80.             <spring flex="50%"/>
  81.           </hbox>
  82.         </vbox>
  83.         
  84.         <splitter id="bucket-splitter" collapse="before" persist="state"/>
  85.         
  86.         <!-- Address bucket -->
  87.         <vbox id="bucketBox">
  88.           <tree id="addressBucket" flex="1" multiple="true" onselect="top.DialogBucketPaneSelectionChanged();">
  89.                         <treecolgroup>
  90.               <treecol flex="1"/>
  91.                         </treecolgroup>
  92.             <treechildren id="bucketBody" flex="1"/>
  93.           </tree>
  94.         </vbox>
  95.         
  96.       </vbox>
  97.     </hbox>
  98.     
  99.     <!-- Box with buttons on right edge of window -->
  100.     <vbox id="rightColumnButtonBox">
  101.       <vbox flex="50%">
  102.         <spring class="third-column-spring"/>
  103.         <button id="new" label="&newButton.label;" class="dialog" tooltip="aTooltip" tooltiptext="&addressPickerNewButton.tooltip;" oncommand="AbNewCard()"/> 
  104.         <spring class="third-column-spring"/>
  105.         <button id="edit" label="&editButton.label;" class="dialog" tooltip="aTooltip" tooltiptext="&addressPickerEditButton.tooltip;" oncommand="AbEditCard()"/> 
  106.         <spring flex="100%"/>
  107.       </vbox>
  108.       <vbox flex="50%">
  109.         <spring flex="50%"/>
  110.         <button id="remove" label="&removeButton.label;" class="dialog" oncommand="RemoveSelectedFromBucket()"/>  
  111.         <spring flex="50%"/>
  112.       </vbox>
  113.     </vbox>
  114.   </hbox>
  115.  
  116.   <!-- OK & Cancel buttons -->
  117.   <hbox id="okCancelButtons"/>
  118.  
  119. </window>
  120.