gecko-dev/toolkit/content/finddialog.xul

59 строки
2.3 KiB
Plaintext
Исходник Обычный вид История

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