gecko-dev/xpfe/components/find/resources/finddialog.xul

86 строки
2.7 KiB
XML

<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
Ben Goodger <ben@netscape.com>
Bill Law <law@netscape.com>
Blake Ross <blakeross@telocity.com>
Dan Rosen <dr@netscape.com>
Simon Fraser <sfraser@netscape.com>
Stuart Parmenter <pavlov@netscape.com>
-->
<?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://global/locale/finddialog.dtd">
<window id="findDialog"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="onLoad();"
onunload="onUnload();"
style="width: 30em;"
title="&findDialog.title;"
class="dialog"
align="vertical"
persist="screenX screenY">
<script type="application/x-javascript" src="chrome://global/content/finddialog.js"/>
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
<grid>
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row>
<vbox valign="middle"> <!-- we should use 'baseline' here -->
<text class="label" value="&findField.label;" valign="bottom"/>
</vbox>
<vbox valign="middle">
<textbox id="dialog.findKey" flex="1" oninput="doEnabling();"/>
</vbox>
</row>
<row>
<spring/>
<vbox>
<checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;"/>
<checkbox id="dialog.wrap" label="&wrapCheckbox.label;"/>
<checkbox id="dialog.searchBackwards" label="&backwardsCheckbox.label;"/>
</vbox>
</row>
</rows>
</grid>
<!-- used to store the find text -->
<foo style="display:none;" id="fBLT" label="&findButton.label;"/>
<separator/>
<!-- Places to overlay common dialog buttons and keyset -->
<box id="okCancelButtons"/>
<keyset id="dialogKeys"/>
</window>