gecko-dev/editor/ui/dialogs/content/EdInsertChars.xul

72 lines
3.3 KiB
XML

<?xml version="1.0"?>
<!--
- 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):
-->
<?xml-stylesheet href="chrome://editor/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://editor/locale/EditorInsertChars.dtd">
<dialog id="insertCharsDlg" title="&windowTitle.label;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload = "Startup()"
onfocus = "onFocus()"
ondialogaccept = "return onAccept();"
ondialogcancel = "return onClose();">
<!-- 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/EdInsertChars.js"/>
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js" />
<spacer id="location" offsetY="50" persist="offsetX offsetY"/>
<broadcaster id="args" value=""/>
<groupbox><caption label="&category.label;"/>
<radiogroup id="CatGrp" persist="category letter_index char_index">
<radio id="AccentUpper" label="&accentUpper.label;" oncommand="ChangeCategory(this.id)"/>
<radio id="AccentLower" label="&accentLower.label;" oncommand="ChangeCategory(this.id)"/>
<radio id="Upper" label="&otherUpper.label;" oncommand="ChangeCategory(this.id)"/>
<radio id="Lower" label="&otherLower.label;" oncommand="ChangeCategory(this.id)"/>
<radio id="Symbol" label="&commonSymbols.label;" oncommand="ChangeCategory(this.id)"/>
</radiogroup>
<spacer class="spacer"/>
</groupbox>
<hbox>
<vbox flex="1">
<!-- value is set in JS from editor.properties strings -->
<label id="LatinL_Label" control="LatinL" value="&letter.label;" accesskey="&letter.accessKey;"/>
<menulist class="larger" flex="1" id="LatinL" oncommand="SelectLatinLetter()"/>
</vbox>
<vbox flex="1">
<label id="LatinM_Label" control="LatinM" value="&character.label;" accesskey="&character.accessKey;"/>
<menulist class="larger" flex="1" id="LatinM" oncommand="SelectLatinModifier()"/>
</vbox>
</hbox>
<separator class="groove"/>
</dialog>