home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / toolkit.jar / content / global / replacedialog.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-08-04  |  2.8 KB  |  77 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4. The contents of this file are subject to the Netscape Public
  5. License Version 1.1 (the "License"); you may not use this file
  6. except in compliance with the License. You may obtain a copy of
  7. the License at http://www.mozilla.org/NPL/
  8.  
  9. Software distributed under the License is distributed on an "AS
  10. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11. implied. See the License for the specific language governing
  12. rights and limitations under the License.
  13.  
  14. The Original Code is Mozilla Communicator client code, released
  15. March 31, 1998.
  16.  
  17. The Initial Developer of the Original Code is Netscape
  18. Communications Corporation. Portions created by Netscape are
  19. Copyright (C) 1998-1999 Netscape Communications Corporation. All
  20. Rights Reserved.
  21.  
  22. Contributor(s): Kin Blas <kin@netscape.com>
  23. -->
  24.  
  25. <?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
  26. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  27. <!DOCTYPE window SYSTEM "chrome://global/locale/replacedialog.dtd">
  28.  
  29. <window xmlns:html="http://www.w3.org/1999/xhtml"
  30.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  31.   id="replaceDialog"
  32.   onload="onLoad();"
  33.   onunload="onUnload();"
  34.   title="&replaceDialog.title;"
  35.   class="dialog"
  36.   orient="vertical"
  37.   persist="screenX screenY"
  38.   screenX="24" screenY="24">
  39.  
  40.   <script type="application/x-javascript" src="chrome://global/content/replacedialog.js"/>
  41.   <stringbundle id="replaceBundle" src="chrome://global/locale/finddialog.properties"/>
  42.    
  43.   <hbox>
  44.   
  45.     <!-- hack. we seem to need this separator to get it to render -->
  46.     <separator orient="vertical" class="thin"/>
  47.  
  48.     <vbox>
  49.       <text class="label" value="&findField.label;"/>
  50.       <separator class="thin"/>
  51.       <text class="label" value="&replaceField.label;"/>
  52.     </vbox>
  53.     
  54.     <vbox>
  55.       <textbox id="dialog.findKey" oninput="doEnabling();"/>
  56.       <textbox id="dialog.replaceKey" oninput="doEnabling();"/>
  57.       <vbox align="start">
  58.         <checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;"/>
  59.         <checkbox id="dialog.wrap" label="&wrapCheckbox.label;"/>
  60.         <checkbox id="dialog.searchBackwards" label="&backwardsCheckbox.label;"/>
  61.       </vbox>
  62.     </vbox>
  63.     <vbox>
  64.       <button class="dialog" id="findNext" label="&findNextButton.label;" oncommand="onFindNext();"/>
  65.       <button class="dialog" id="replace" label="&replaceButton.label;" oncommand="onReplace();"/>
  66.       <button class="dialog" id="replaceAll" label="&replaceAllButton.label;" oncommand="onReplaceAll();"/>
  67.       <button class="dialog" id="close" label="&closeButton.label;" oncommand="close();"/>
  68.     </vbox>
  69.   </hbox>
  70.  
  71.   <separator/>
  72.  
  73.   <!-- Places to overlay common dialog buttons and keyset -->
  74.   <keyset id="dialogKeys"/>
  75.  
  76. </window>
  77.