1999-07-14 19:24:33 +04:00
|
|
|
<?xml version="1.0"?>
|
1999-08-02 02:37:58 +04:00
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
1999-07-21 23:56:21 +04:00
|
|
|
<?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window
|
|
|
|
[
|
|
|
|
<!-- These entity declarations will go into a separate, locale file at some point -->
|
|
|
|
<!-- Window title -->
|
|
|
|
<!ENTITY windowTitle.label "Personal Dictionary">
|
|
|
|
<!ENTITY wordEditField.label "New word:">
|
|
|
|
<!ENTITY AddButton.label "Add">
|
|
|
|
<!ENTITY DictionaryList.label "Words in dictionary:">
|
|
|
|
<!ENTITY ReplaceButton.label "Replace">
|
|
|
|
<!ENTITY RemoveButton.label "Remove">
|
|
|
|
|
|
|
|
<!ENTITY CloseButton.label "Close">
|
|
|
|
]>
|
|
|
|
|
|
|
|
<xul:window class="dialog" title="&windowTitle.label;"
|
1999-07-14 19:24:33 +04:00
|
|
|
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
xmlns="http://www.w3.org/TR/REC-html40"
|
|
|
|
onload = "Startup()"
|
|
|
|
align="vertical">
|
|
|
|
|
|
|
|
<!-- Methods common to all editor dialogs -->
|
1999-07-21 23:56:21 +04:00
|
|
|
<script language="JavaScript" src="chrome://editor/content/EdDialogCommon.js">
|
1999-07-14 19:24:33 +04:00
|
|
|
</script>
|
1999-07-21 23:56:21 +04:00
|
|
|
<script language="JavaScript" src="chrome://editor/content/EdDictionary.js">
|
1999-07-14 19:24:33 +04:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<xul:broadcaster id="args" value=""/>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
1999-07-21 23:56:21 +04:00
|
|
|
&wordEditField.label;<br/>
|
1999-07-14 19:24:33 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
1999-07-15 18:43:48 +04:00
|
|
|
<input type="text" class="SpellCheckWord" id="WordInput" size="10"/>
|
1999-07-14 19:24:33 +04:00
|
|
|
</td>
|
|
|
|
<td>
|
1999-08-02 02:37:58 +04:00
|
|
|
<xul:titledbutton class="SizeToParent" id="AddWord" onclick="AddWord()" value="&AddButton.label;"/>
|
1999-07-14 19:24:33 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
1999-07-21 23:56:21 +04:00
|
|
|
&DictionaryList.label;
|
1999-07-14 19:24:33 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
1999-07-15 18:43:48 +04:00
|
|
|
<select class="SpellCheckList" id="DictionaryList" size="10">
|
1999-07-14 19:24:33 +04:00
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
<td>
|
1999-08-02 02:37:58 +04:00
|
|
|
<xul:titledbutton class="SizeToParent" id="ReplaceWord" onclick="ReplaceWord()" value="&ReplaceButton.label;"/>
|
1999-07-14 19:24:33 +04:00
|
|
|
<br/>
|
1999-08-02 02:37:58 +04:00
|
|
|
<xul:titledbutton class="SizeToParent" id="RemoveWord" onclick="RemoveWord()" value="&RemoveButton.label;"/>
|
1999-07-15 18:43:48 +04:00
|
|
|
<br/>
|
|
|
|
<!-- This simply closes the window -->
|
1999-07-21 23:56:21 +04:00
|
|
|
<xul:titledbutton class="CloseButton" id="Close" onclick="onCancel()" value="&CloseButton.label;"/>
|
1999-07-14 19:24:33 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</xul:window>
|