home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / editor / EdDictionary.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  3KB  |  77 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.    - The contents of this file are subject to the Netscape Public
  4.    - License Version 1.1 (the "License"); you may not use this file
  5.    - except in compliance with the License. You may obtain a copy of
  6.    - the License at http://www.mozilla.org/NPL/
  7.    -  
  8.    - Software distributed under the License is distributed on an "AS
  9.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    - implied. See the License for the specific language governing
  11.    - rights and limitations under the License.
  12.    -  
  13.    - The Original Code is Mozilla Communicator client code, released
  14.    - March 31, 1998.
  15.    - 
  16.    - The Initial Developer of the Original Code is Netscape
  17.    - Communications Corporation. Portions created by Netscape are
  18.    - Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19.    - Rights Reserved.
  20.    - 
  21.    - Contributor(s): 
  22.   -->
  23.  
  24. <?xml-stylesheet href="chrome://editor/skin/editor.css" type="text/css"?>
  25. <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
  26. <!DOCTYPE window SYSTEM "chrome://editor/locale/EditorPersonalDictionary.dtd">
  27. <dialog buttons="cancel" title="&windowTitle.label;"
  28.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  29.     persist="screenX screenY"
  30.     onload = "Startup()"
  31.     ondialogcancel="return onClose();">
  32.  
  33.   <!-- Methods common to all editor dialogs -->
  34.   <script type="application/x-javascript" src="chrome://editor/content/editorUtilities.js"/>
  35.   <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
  36.   <script type="application/x-javascript" src="chrome://editor/content/EdDictionary.js"/>
  37.   
  38.   <broadcaster id="args" value=""/>
  39.   <grid>
  40.     <columns><column style="width: 15em" flex="1"/><column flex="1"/></columns>
  41.     <rows>
  42.       <row>
  43.         <label value="&wordEditField.label;"
  44.                control="WordInput"
  45.                accesskey="&wordEditField.accessKey;"/>
  46.         <spacer/>
  47.       </row>
  48.       <row>
  49.         <textbox id="WordInput" flex="1"/>
  50.         <button id="AddWord" oncommand="AddWord()" label="&AddButton.label;"
  51.                 accesskey="&AddButton.accessKey;"/>
  52.       </row>
  53.       <row>
  54.         <label value="&DictionaryList.label;"
  55.                control="DictionaryList"
  56.                accesskey="&DictionaryList.accessKey;"/>
  57.         <spacer/>
  58.       </row>
  59.       <row>
  60.         <listbox rows="8" id="DictionaryList" flex="1"/>
  61.         <vbox flex="1">
  62.           <button  id="ReplaceWord" oncommand="ReplaceWord()" label="&ReplaceButton.label;"
  63.                    accesskey="&ReplaceButton.accessKey;"/>
  64.           <spacer class="spacer"/>
  65.           <button  id="RemoveWord" oncommand="RemoveWord()" label="&RemoveButton.label;"
  66.                    accesskey="&RemoveButton.accessKey;"/>
  67.           <spacer class="spacer"/>
  68.           <spacer flex="1"/>
  69.           <button dlgtype="cancel" class="exit-dialog" id="close" label="&CloseButton.label;" 
  70.                   default="true" oncommand="onClose();"
  71.                   accesskey="&CloseButton.accessKey;"/>
  72.         </vbox>
  73.       </row>
  74.     </rows>
  75.   </grid>
  76. </dialog>
  77.