home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / toolkit.jar / content / global / finddialog.xul < prev    next >
Extensible Markup Language  |  2002-10-11  |  2KB  |  48 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://global/locale/finddialog.dtd">
  6.  
  7. <dialog id="findDialog"
  8.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.   orient="horizontal"
  10.   windowtype="findInPage"
  11.   onload="onLoad();"
  12.   onunload="onUnload();"
  13.   ondialogaccept="return onAccept();"
  14.   buttons="accept,cancel"
  15.   title="&findDialog.title;"
  16.   persist="screenX screenY">
  17.  
  18.   <script type="application/x-javascript" src="chrome://global/content/finddialog.js"/>
  19.   <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
  20.  
  21.   <hbox flex="1">
  22.     <vbox flex="1">
  23.       <hbox flex="1">
  24.         <label value="&findField.label;" accesskey="&findField.accesskey;" control="dialog.findKey"/>
  25.         <textbox id="dialog.findKey" flex="1" oninput="doEnabling();"/>
  26.       </hbox>
  27.       <hbox flex="1">
  28.         <vbox pack="center" flex="1">
  29.           <checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;" accesskey="&caseSensitiveCheckbox.accesskey;"/>
  30.           <checkbox id="dialog.wrap" label="&wrapCheckbox.label;" accesskey="&wrapCheckbox.accesskey;"/>
  31.         </vbox>
  32.         <groupbox orient="horizontal" flex="1">
  33.           <caption label="&direction.label;"/>
  34.           <radiogroup orient="horizontal" flex="1">
  35.             <radio id="radioUp" label="&up.label;" accesskey="&up.accesskey;"/>
  36.             <radio id="radioDown" label="&down.label;" accesskey="&down.label;" selected="true"/>
  37.           </radiogroup>
  38.         </groupbox>
  39.       </hbox>
  40.     </vbox>
  41.     <vbox flex="1">
  42.       <button id="btnFind" label="&findButton.label;" accesskey="&findButton.accesskey;"
  43.               dlgtype="accept"/>
  44.       <button label="&cancelButton.label;" dlgtype="cancel"/>
  45.     </vbox>
  46.   </hbox>
  47. </dialog>
  48.