Bug 327977 ? Password manager overwrites page data for password-only forms. r=gavin
[wine-gecko.git] / toolkit / content / finddialog.xul
blob99a1fb3485bf5c93855bc1e43e5f8e7cbe0329e0
1 <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Original Code is Mozilla Communicator client code, released
16 # March 31, 1998.
18 # The Initial Developer of the Original Code is
19 # Netscape Communications Corporation.
20 # Portions created by the Initial Developer are Copyright (C) 1998-1999
21 # the Initial Developer. All Rights Reserved.
23 # Contributor(s):
24 # Ben Goodger <ben@netscape.com>
25 # Bill Law <law@netscape.com>
26 # Blake Ross <blaker@netscape.com>
27 # Dan Rosen <dr@netscape.com>
28 # Dean Tessman <dean_tessman@hotmail.com>
29 # Simon Fraser <sfraser@netscape.com>
30 # Stuart Parmenter <pavlov@netscape.com>
32 # Alternatively, the contents of this file may be used under the terms of
33 # either the GNU General Public License Version 2 or later (the "GPL"), or
34 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
35 # in which case the provisions of the GPL or the LGPL are applicable instead
36 # of those above. If you wish to allow use of your version of this file only
37 # under the terms of either the GPL or the LGPL, and not to allow others to
38 # use your version of this file under the terms of the MPL, indicate your
39 # decision by deleting the provisions above and replace them with the notice
40 # and other provisions required by the GPL or the LGPL. If you do not delete
41 # the provisions above, a recipient may use your version of this file under
42 # the terms of any one of the MPL, the GPL or the LGPL.
44 # ***** END LICENSE BLOCK *****
46 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
48 <!DOCTYPE window SYSTEM "chrome://global/locale/finddialog.dtd">
50 <dialog id="findDialog"
51 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
52 orient="horizontal"
53 windowtype="findInPage"
54 onload="onLoad();"
55 onunload="onUnload();"
56 ondialogaccept="return onAccept();"
57 buttons="accept,cancel"
58 title="&findDialog.title;"
59 persist="screenX screenY">
61 <script type="application/javascript" src="chrome://global/content/finddialog.js"/>
62 <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
64 <hbox flex="1">
65 <vbox flex="1">
66 <hbox flex="1">
67 <label value="&findField.label;" accesskey="&findField.accesskey;" control="dialog.findKey"/>
68 <textbox id="dialog.findKey" flex="1" oninput="doEnabling();"/>
69 </hbox>
70 <hbox flex="1">
71 <vbox pack="center" flex="1">
72 <checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;" accesskey="&caseSensitiveCheckbox.accesskey;"/>
73 <checkbox id="dialog.wrap" label="&wrapCheckbox.label;" accesskey="&wrapCheckbox.accesskey;" checked="true"/>
74 </vbox>
75 <groupbox orient="horizontal" flex="1">
76 <caption label="&direction.label;"/>
77 <radiogroup orient="horizontal" flex="1">
78 <radio id="radioUp" label="&up.label;" accesskey="&up.accesskey;"/>
79 <radio id="radioDown" label="&down.label;" accesskey="&down.accesskey;" selected="true"/>
80 </radiogroup>
81 </groupbox>
82 </hbox>
83 </vbox>
84 <vbox flex="1">
85 <button id="btnFind" label="&findButton.label;" accesskey="&findButton.accesskey;"
86 dlgtype="accept" icon="find"/>
87 #ifdef XP_UNIX
88 <button label="&closeButton.label;" icon="close" dlgtype="cancel"/>
89 #else
90 <button label="&cancelButton.label;" icon="cancel" dlgtype="cancel"/>
91 #endif
92 </vbox>
93 </hbox>
94 </dialog>