home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / mail.xpi / bin / chrome / messenger.jar / content / messenger / messengercompose / sendProgress.xul < prev   
Extensible Markup Language  |  2001-08-31  |  3KB  |  88 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-2000 Netscape Communications Corporation. All
  19. Rights Reserved.
  20.  
  21. Contributor(s):
  22.   Scott MacGregor <mscott@netscape.com>
  23.   Jean-Francois Ducarroz <ducarroz@netscape.com>
  24.  
  25.  -->
  26.  
  27. <?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
  28.  
  29. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  30.  
  31. <!DOCTYPE window SYSTEM "chrome://messenger/locale/messengercompose/sendProgress.dtd">
  32.  
  33. <window xmlns:html="http://www.w3.org/1999/xhtml"
  34.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  35.         class="dialog"
  36.         orient="vertical"
  37.         title="&sendWindow.title;"
  38.         style="width: 36em;"
  39.         onload="onLoad()"
  40.         onunload="onUnload()">
  41.  
  42.   <script type="application/x-javascript" src="chrome://messenger/content/messengercompose/sendProgress.js"/>
  43.  
  44.     <!-- This is non-visible content that simply adds translatable string
  45.          into the document so that it is accessible to JS code.
  46.          
  47.          XXX-TODO: 
  48.           convert to use string bundles. 
  49.     -->
  50.   
  51.     <data id="dialog.strings.dialogCloseLabel">&dialogClose.label;</data>
  52.     <data id="dialog.strings.titlePrefixSend">&titlePrefixSend;</data>
  53.     <data id="dialog.strings.titlePrefixSave">&titlePrefixSave;</data>
  54.     <data id="dialog.strings.messageSent">&messageSent;</data>
  55.     <data id="dialog.strings.messageSaved">&messageSaved;</data>
  56.     <data id="dialog.strings.progressText">&percentMsg;</data>
  57.  
  58.     <grid flex="1">
  59.       <columns>
  60.         <column/>
  61.         <column flex="1"/>
  62.       </columns>
  63.       
  64.       <rows>
  65.         <row>
  66.           <hbox pack="end">
  67.             <text class="label" value="&status;"/>
  68.           </hbox>
  69.           <text class="label" id="dialog.status"/>
  70.         </row>
  71.         <row class="thin-separator">             
  72.           <hbox pack="end">
  73.             <text class="label" value="&progress;"/>
  74.           </hbox>
  75.           <progressmeter id="dialog.progress" mode="normal" value="0"/>
  76.           <hbox pack="end">
  77.             <text class="label" id="dialog.progressText"/>
  78.           </hbox>
  79.         </row>
  80.       </rows>
  81.     </grid>
  82.     <separator/>
  83.     <hbox id="CancelButton" pack="end">
  84.       <button class="dialog" id="cancel" label="&dialogCancel.label;" oncommand="doCancelButton()"/>
  85.     </hbox>
  86.  
  87. </window>
  88.