gecko-dev/toolkit/content/finddialog.xul

55 lines
2.1 KiB
Plaintext
Raw Normal View History

2002-08-04 02:22:30 +00:00
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
2012-05-21 11:12:37 +00:00
# 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/.
2002-08-04 02:22:30 +00:00
2002-10-09 21:04:58 +00:00
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
2002-08-04 02:22:30 +00:00
2002-08-04 02:30:28 +00:00
<!DOCTYPE window SYSTEM "chrome://global/locale/finddialog.dtd">
2002-08-04 02:22:30 +00:00
2002-10-09 21:04:58 +00:00
<dialog id="findDialog"
2002-08-04 02:22:30 +00:00
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="horizontal"
windowtype="findInPage"
onload="onLoad();"
onunload="onUnload();"
2002-10-09 21:04:58 +00:00
ondialogaccept="return onAccept();"
buttons="accept,cancel"
2002-08-04 02:22:30 +00:00
title="&findDialog.title;"
persist="screenX screenY">
<script type="application/javascript" src="chrome://global/content/finddialog.js"/>
2002-08-04 02:30:28 +00:00
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
2002-08-04 02:22:30 +00:00
<hbox>
<vbox>
<hbox align="center">
2002-08-04 02:22:30 +00:00
<label value="&findField.label;" accesskey="&findField.accesskey;" control="dialog.findKey"/>
<textbox id="dialog.findKey" flex="1" oninput="doEnabling();"/>
2002-08-04 02:22:30 +00:00
</hbox>
<hbox align="center">
<vbox>
2002-08-04 02:22:30 +00:00
<checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;" accesskey="&caseSensitiveCheckbox.accesskey;"/>
<checkbox id="dialog.wrap" label="&wrapCheckbox.label;" accesskey="&wrapCheckbox.accesskey;" checked="true"/>
2002-08-04 02:22:30 +00:00
</vbox>
<groupbox orient="horizontal">
2002-08-04 02:22:30 +00:00
<caption label="&direction.label;"/>
<radiogroup orient="horizontal">
2002-08-04 02:22:30 +00:00
<radio id="radioUp" label="&up.label;" accesskey="&up.accesskey;"/>
<radio id="radioDown" label="&down.label;" accesskey="&down.accesskey;" selected="true"/>
2002-08-04 02:22:30 +00:00
</radiogroup>
</groupbox>
</hbox>
</vbox>
<vbox>
2002-08-04 02:22:30 +00:00
<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
2002-08-04 02:22:30 +00:00
</vbox>
</hbox>
2002-10-09 21:04:58 +00:00
</dialog>