toolkit/content/finddialog.xul
author Gregory Szorc <gps@mozilla.com>
Wed, 28 Jan 2015 13:37:00 -0800
branchMOBILE170_2012100914_RELBRANCH
changeset 110535 efe7dc56f512e78244990f3b1fb8dff3b4d69dcd
parent 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Close old release branch MOBILE170_2012100914_RELBRANCH

<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<!DOCTYPE window SYSTEM "chrome://global/locale/finddialog.dtd">

<dialog id="findDialog"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  orient="horizontal"
  windowtype="findInPage"
  onload="onLoad();"
  onunload="onUnload();"
  ondialogaccept="return onAccept();"
  buttons="accept,cancel"
  title="&findDialog.title;"
  persist="screenX screenY">

  <script type="application/javascript" src="chrome://global/content/finddialog.js"/>
  <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>

  <hbox>
    <vbox>
      <hbox align="center">
        <label value="&findField.label;" accesskey="&findField.accesskey;" control="dialog.findKey"/>
        <textbox id="dialog.findKey" flex="1" oninput="doEnabling();"/>
      </hbox>
      <hbox align="center">
        <vbox>
          <checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;" accesskey="&caseSensitiveCheckbox.accesskey;"/>
          <checkbox id="dialog.wrap" label="&wrapCheckbox.label;" accesskey="&wrapCheckbox.accesskey;" checked="true"/>
        </vbox>
        <groupbox orient="horizontal">
          <caption label="&direction.label;"/>
          <radiogroup orient="horizontal">
            <radio id="radioUp" label="&up.label;" accesskey="&up.accesskey;"/>
            <radio id="radioDown" label="&down.label;" accesskey="&down.accesskey;" selected="true"/>
          </radiogroup>
        </groupbox>
      </hbox>
    </vbox>
    <vbox>
      <button id="btnFind" label="&findButton.label;" accesskey="&findButton.accesskey;"
              dlgtype="accept" icon="find"/>
#ifdef XP_UNIX
      <button label="&closeButton.label;" icon="close" dlgtype="cancel"/>
#else
      <button label="&cancelButton.label;" icon="cancel" dlgtype="cancel"/>
#endif
    </vbox>
  </hbox>
</dialog>