home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / mail.xpi / bin / chrome / messenger.jar / content / messenger / importDialog.xul < prev    next >
Extensible Markup Language  |  2001-08-31  |  5KB  |  121 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/dialogs.css" type="text/css"?> 
  23.  
  24. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  25.  
  26. <!DOCTYPE window [
  27. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  28. %brandDTD;
  29. <!ENTITY % importDTD SYSTEM "chrome://messenger/locale/importDialog.dtd" >
  30. %importDTD;
  31. ]>
  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.         onload="OnLoadImportDialog()" class="color-dialog"
  36.         orient="vertical" style="width: 40em;"
  37.         title="&importDialog.windowTitle;">
  38.  
  39.   <stringbundle id="bundle_importMsgs" src="chrome://messenger/locale/importMsgs.properties"/>
  40.   <script type="application/x-javascript" src="chrome://messenger/content/importDialog.js"/>
  41.  
  42.   <keyset id="dialogKeys"/>
  43.   
  44.   <hbox class="box-header" id="header"
  45.        title="&importTitle.label;"
  46.        description="&importDesc.label;"/>
  47.  
  48.   <deck id="stateDeck" index="0">
  49.     <vbox class="wizard-box">
  50.       <html>&importDescription.label;</html>
  51.       <html>&importDescription2.label;</html>
  52.       <separator/>
  53.       <html>&select.label;</html>
  54.       <separator class="thin"/>
  55.       <radiogroup id="importFields" orient="vertical" class="indent" autostretch="never">
  56.         <radio group="importFields" value="addressbook" id="addressbookRadio" label="&importDialog.addressbookTitle;"/>
  57.         <radio group="importFields" value="mail" id="mailRadio" label="&importDialog.mailTitle;"/>
  58.         <radio group="importFields" value="settings" id="settingsRadio" label="&importDialog.settingsTitle;"/>
  59.       </radiogroup>
  60.     </vbox>
  61.     <vbox class="wizard-box">
  62.       <html>&selectDescription.label;</html>
  63.       <tree class="inset" id="moduleList" flex="3" onselect="ImportSelectionChanged(); enableAdvance();" 
  64.             style="height: 0px;">
  65.         <treecolgroup>
  66.           <treecol flex="1"/>
  67.         </treecolgroup>
  68.         <treechildren id="bucketBody" flex="1"/>
  69.       </tree>
  70.       <html id="description" class="box-padded" flex="1"/>
  71.     </vbox>
  72.     <vbox class="wizard-box">
  73.       <spring flex="1"/>
  74.       <groupbox orient="vertical">
  75.         <label id="progressTitle" value="&title.label;"/>
  76.         <text class="label indent" id="progressStatus" value="&processing.label;"/>
  77.         <vbox class="box-padded">
  78.           <progressmeter id="progressMeter" mode="normal" value="5"/>
  79.         </vbox>
  80.       </groupbox>
  81.     </vbox>
  82.     <vbox class="wizard-box">
  83.       <html id="status"/>
  84.       <hbox style="overflow: auto" class="inset color-window" flex="1">
  85.         <html id="results" flex="1"/>
  86.       </hbox>
  87.     </vbox>
  88.     <vbox class="wizard-box">
  89.       <html>&FieldDiscInputText1.label;</html>
  90.       <html>&FieldDiscInputText2.label;</html>
  91.       <separator/>
  92.       <separator class="thin"/>
  93.       <radiogroup id="homeorwork" orient="vertical" class="indent" autostretch="never">
  94.         <radio group="homeorwork" value="Home" id="homeRadio" label="&importDialog.homeTitle;"/>
  95.         <radio group="homeorwork" value="Work" id="workRadio" label="&importDialog.workTitle;"/>
  96.       </radiogroup>
  97.          <separator/>
  98.          <separator/>
  99.          <html>&FieldDiscWarning.label;</html>
  100.          <text id="warning" flex="1"/>
  101.     </vbox>
  102.   </deck>
  103.  
  104.   <separator/>
  105.   
  106.   <separator class="groove"/>
  107.   
  108.   <hbox class="box-padded">
  109.     <spring flex="1"/>
  110.     <button id="back" label="&back.label;" disabled="true"
  111.             oncommand="back();"/>
  112.     <button id="forward" label="&forward.label;" nextval="&forward.label;" finishedval="&finish.label;" 
  113.             oncommand="next();"/>
  114.     <separator orient="vertical"/>
  115.     <button id="cancel" label="&cancel.label;"
  116.             oncommand="close();"/>
  117.   </hbox>
  118.   
  119.  
  120. </window>
  121.