home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / mozil06.zip / bin / chrome / messenger.jar / content / messenger / addressbook / abSelectAddressesDialog.xul < prev    next >
Extensible Markup Language  |  2001-02-14  |  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/addressbook.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.  
  31. <!DOCTYPE window SYSTEM "chrome://messenger/locale/addressbook/abSelectAddressesDialog.dtd">
  32.  
  33. <window xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  34.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  35.         title="&selectAddressWindow.title;"
  36.         class="dialog"
  37.         width="680" height="480"
  38.         onload="OnLoadSelectAddress()"
  39.         align="vertical">
  40.  
  41. <script language="JavaScript" src="chrome://global/content/strres.js"/>
  42. <script language="JavaScript" src="chrome://messenger/content/addressbook/abCommon.js"/>
  43. <script language="JavaScript" src="chrome://messenger/content/addressbook/abSelectAddressesDialog.js"/>
  44. <script language="JavaScript" src="chrome://messenger/content/messengercompose/MsgComposeCommands.js"/>
  45. <script language="JavaScript" src="chrome://global/content/globalOverlay.js"/>
  46.  
  47.  
  48.     <keyset id="keyset"/>
  49.     <popupset id="aTooltipSet"/>
  50.  
  51.     <!-- Main box, 3 pane and majority of buttons -->
  52.     <box align="horizontal" flex="100%">
  53.         <!-- 3 Pane box -->
  54.         <box id="3PaneBox" align="horizontal" orient="horizontal" flex="100%">
  55.             
  56.             <!-- dir tree -->
  57.             <box id="dirTreeBox" align="horizontal">
  58.                 <tree id="dirTree" type="dialog" flex="1"/>
  59.             </box>
  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.             <box id="results-bucket-tree-box" orient="vertical" flex="100%">
  65.                 <!-- Box that holds results pane and (to,cc,bcc buttons) -->
  66.                 <box align="vertical" flex="100%">
  67.                     <!-- results tree -->
  68.                     <box id="resultsTreeBox" flex="100%" align="vertical">
  69.                         <tree id="resultsTree" flex="1"/>
  70.                     </box>
  71.                     
  72.                     <!-- Box that holds (to,cc,bcc buttons) -->
  73.                     <box id="addToBucketButtonBox" align="horizontal">
  74.                         <spring flex="50%"/>
  75.                         <button id="toButton" value="&toButton.label;" class="dialog" oncommand="SelectAddressToButton()"/>    
  76.                         <spring class="middle-button-spring"/>
  77.                         <button id="ccButton" value="&ccButton.label;" class="dialog" oncommand="SelectAddressCcButton()"/>    
  78.                         <spring class="middle-button-spring"/>
  79.                         <button id="bccButton" value="&bccButton.label;" class="dialog" oncommand="SelectAddressBccButton()"/>    
  80.                         <spring flex="50%"/>
  81.                     </box>
  82.                 </box>
  83.                 
  84.               <splitter id="bucket-splitter" collapse="before" persist="state"/>
  85.                 
  86.                 <!-- Address bucket -->
  87.                 <box id="bucketBox" align="vertical">
  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.                 </box>
  95.                 
  96.             </box>
  97.         </box>
  98.         
  99.         <!-- Box with buttons on right edge of window -->
  100.         <box id="rightColumnButtonBox" align="vertical">
  101.             <box align="vertical" flex="50%">
  102.                 <spring class="3rd-column-spring"/>
  103.                 <button id="new" value="&newButton.label;" class="dialog" tooltip="aTooltip" tooltiptext="&addressPickerNewButton.tooltip;" oncommand="AbNewCard()"/>    
  104.                 <spring class="3rd-column-spring"/>
  105.                 <button id="edit" value="&editButton.label;" class="dialog" tooltip="aTooltip" tooltiptext="&addressPickerEditButton.tooltip;" oncommand="AbEditCard()"/>    
  106.                 <spring flex="100%"/>
  107.             </box>
  108.             <box align="vertical" flex="50%">
  109.                 <spring flex="50%"/>
  110.                 <button id="remove" value="&removeButton.label;" class="dialog" oncommand="RemoveSelectedFromBucket()"/>    
  111.                 <spring flex="50%"/>
  112.             </box>
  113.         </box>
  114.     </box>
  115.  
  116.     <!-- OK & Cancel buttons -->
  117.     <box id="okCancelButtons"/>
  118.  
  119. </window>
  120.