summaryrefslogtreecommitdiffstats
path: root/toolkit/content/finddialog.xul
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/content/finddialog.xul')
-rw-r--r--toolkit/content/finddialog.xul58
1 files changed, 58 insertions, 0 deletions
diff --git a/toolkit/content/finddialog.xul b/toolkit/content/finddialog.xul
new file mode 100644
index 000000000..c49092e6f
--- /dev/null
+++ b/toolkit/content/finddialog.xul
@@ -0,0 +1,58 @@
+<?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"
+ type="autocomplete"
+ autocompletesearch="form-history"
+ autocompletesearchparam="find-dialog"
+ 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>