home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / editor / EdReplace.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  3KB  |  80 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):
  23.        Kin Blas <kin@netscape.com>
  24.        Akkana Peck <akkana@netscape.com>
  25. -->
  26.  
  27. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  28. <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
  29.  
  30. <!DOCTYPE window SYSTEM "chrome://editor/locale/EditorReplace.dtd">
  31.  
  32. <dialog id="replaceDlg" title="&replaceDialog.title;"
  33.    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  34.    persist="screenX screenY"
  35.    buttons="cancel"
  36.    onload = "onLoad()"
  37.    ondialogaccept="return onFindNext();">
  38.  
  39.   <!-- Methods common to all editor dialogs -->
  40.   <script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
  41.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  42.   <script type="application/x-javascript" src="chrome://editor/content/EdReplace.js"/>
  43.   <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
  44.    
  45.   <hbox>
  46.     <vbox>
  47.       <spacer class="spacer"/>
  48.       <grid align="start">
  49.         <columns><column/><column/></columns>
  50.         <rows>
  51.           <row align="center">
  52.             <label value="&findField.label;"/>
  53.             <textbox id="dialog.findInput" oninput="doEnabling();"/>
  54.           </row>
  55.           <row align="center">
  56.             <label value="&replaceField.label;"/>
  57.             <textbox id="dialog.replaceInput" oninput="doEnabling();"/>
  58.           </row>
  59.           <row align="start">
  60.             <spacer/>
  61.             <vbox align="start">
  62.               <spacer class="bigspacer"/>
  63.               <checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;"/>
  64.               <checkbox id="dialog.wrap" label="&wrapCheckbox.label;"/>
  65.               <checkbox id="dialog.searchBackwards" label="&backwardsCheckbox.label;"/>
  66.             </vbox>
  67.           </row>
  68.         </rows>
  69.       </grid>
  70.     </vbox>
  71.     <vbox>
  72.       <button id="findNext" label="&findNextButton.label;" oncommand="onFindNext();" default="true"/>
  73.       <button id="replace" label="&replaceButton.label;" oncommand="onReplace();"/>
  74.       <button id="replaceAndFind" label="&replaceAndFindButton.label;" oncommand="onReplace(); onFindNext();"/>
  75.       <button id="replaceAll" label="&replaceAllButton.label;" oncommand="onReplaceAll();"/>
  76.       <button dlgtype="cancel" label="&closeButton.label;"/>
  77.     </vbox>
  78.   </hbox>
  79. </dialog>
  80.