toolkit/content/finddialog.xul

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:a95c16bfd2a0
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/.
5
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
7
8 <!DOCTYPE window SYSTEM "chrome://global/locale/finddialog.dtd">
9
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">
20
21 <script type="application/javascript" src="chrome://global/content/finddialog.js"/>
22 <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
23
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