зеркало из https://github.com/mozilla/pjs.git
102 строки
4.5 KiB
XML
102 строки
4.5 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
The contents of this file are subject to the Mozilla 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/MPL/
|
|
|
|
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 the Initial Developer are Copyright (C) 1998-1999
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
Contributor(s):
|
|
Kin Blas <kin@netscape.com>
|
|
Akkana Peck <akkana@netscape.com>
|
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
in which case the provisions of the GPL or the LGPL are applicable instead
|
|
of those above. If you wish to allow use of your version of this file only
|
|
under the terms of either the GPL or the LGPL, and not to allow others to
|
|
use your version of this file under the terms of the MPL, indicate your
|
|
decision by deleting the provisions above and replace them with the notice
|
|
and other provisions required by the GPL or the LGPL. If you do not delete
|
|
the provisions above, a recipient may use your version of this file under
|
|
the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
***** END LICENSE BLOCK ***** -->
|
|
|
|
<?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
|
|
|
<!DOCTYPE dialog SYSTEM "chrome://editor/locale/EditorReplace.dtd">
|
|
|
|
<dialog id="replaceDlg" title="&replaceDialog.title;"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
persist="screenX screenY"
|
|
buttons="cancel"
|
|
onload = "onLoad()"
|
|
ondialogaccept="return onFindNext();">
|
|
|
|
<!-- Methods common to all editor dialogs -->
|
|
<script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
|
|
<script type="application/x-javascript" src="chrome://editor/content/EdReplace.js"/>
|
|
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
|
|
|
|
<hbox>
|
|
<vbox>
|
|
<spacer class="spacer"/>
|
|
<grid align="start">
|
|
<columns><column/><column/></columns>
|
|
<rows>
|
|
<row align="center">
|
|
<label value="&findField.label;" accesskey="&findField.accesskey;" control="dialog.findInput"/>
|
|
<textbox id="dialog.findInput" oninput="doEnabling();"/>
|
|
</row>
|
|
<row align="center">
|
|
<label value="&replaceField.label;" accesskey="&replaceField.accesskey;" control="dialog.replaceInput"/>
|
|
<textbox id="dialog.replaceInput" oninput="doEnabling();"/>
|
|
</row>
|
|
<row align="start">
|
|
<spacer/>
|
|
<vbox align="start">
|
|
<spacer class="bigspacer"/>
|
|
<checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;"
|
|
accesskey="&caseSensitiveCheckbox.accesskey;"/>
|
|
<checkbox id="dialog.wrap" label="&wrapCheckbox.label;"
|
|
accesskey="&wrapCheckbox.accesskey;"/>
|
|
<checkbox id="dialog.searchBackwards" label="&backwardsCheckbox.label;"
|
|
accesskey="&backwardsCheckbox.accesskey;"/>
|
|
</vbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</vbox>
|
|
<vbox>
|
|
<button id="findNext" label="&findNextButton.label;" accesskey="&findNextButton.accesskey;"
|
|
oncommand="onFindNext();" default="true"/>
|
|
<button id="replace" label="&replaceButton.label;" accesskey="&replaceButton.accesskey;"
|
|
oncommand="onReplace();"/>
|
|
<button id="replaceAndFind" label="&replaceAndFindButton.label;"
|
|
accesskey="&replaceAndFindButton.accesskey;" oncommand="onReplace(); onFindNext();"/>
|
|
<button id="replaceAll" label="&replaceAllButton.label;"
|
|
accesskey="&replaceAllButton.accesskey;" oncommand="onReplaceAll();"/>
|
|
<button dlgtype="cancel" label="&closeButton.label;"/>
|
|
</vbox>
|
|
</hbox>
|
|
</dialog>
|