toolkit/content/finddialog.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
     2 # This Source Code Form is subject to the terms of the Mozilla Public
     3 # License, v. 2.0. If a copy of the MPL was not distributed with this
     4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     8 <!DOCTYPE window SYSTEM "chrome://global/locale/finddialog.dtd">
    10 <dialog id="findDialog"
    11   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    12   orient="horizontal"
    13   windowtype="findInPage"
    14   onload="onLoad();"
    15   onunload="onUnload();"
    16   ondialogaccept="return onAccept();"
    17   buttons="accept,cancel"
    18   title="&findDialog.title;"
    19   persist="screenX screenY">
    21   <script type="application/javascript" src="chrome://global/content/finddialog.js"/>
    22   <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
    24   <hbox>
    25     <vbox>
    26       <hbox align="center">
    27         <label value="&findField.label;" accesskey="&findField.accesskey;" control="dialog.findKey"/>
    28         <textbox id="dialog.findKey" flex="1"
    29                  type="autocomplete"
    30                  autocompletesearch="form-history"
    31                  autocompletesearchparam="find-dialog"
    32                  oninput="doEnabling();"/>
    33       </hbox>
    34       <hbox align="center">
    35         <vbox>
    36           <checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;" accesskey="&caseSensitiveCheckbox.accesskey;"/>
    37           <checkbox id="dialog.wrap" label="&wrapCheckbox.label;" accesskey="&wrapCheckbox.accesskey;" checked="true"/>
    38         </vbox>
    39         <groupbox orient="horizontal">
    40           <caption label="&direction.label;"/>
    41           <radiogroup orient="horizontal">
    42             <radio id="radioUp" label="&up.label;" accesskey="&up.accesskey;"/>
    43             <radio id="radioDown" label="&down.label;" accesskey="&down.accesskey;" selected="true"/>
    44           </radiogroup>
    45         </groupbox>
    46       </hbox>
    47     </vbox>
    48     <vbox>
    49       <button id="btnFind" label="&findButton.label;" accesskey="&findButton.accesskey;"
    50               dlgtype="accept" icon="find"/>
    51 #ifdef XP_UNIX
    52       <button label="&closeButton.label;" icon="close" dlgtype="cancel"/>
    53 #else
    54       <button label="&cancelButton.label;" icon="cancel" dlgtype="cancel"/>
    55 #endif
    56     </vbox>
    57   </hbox>
    58 </dialog>

mercurial