<?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):
-->

<!-- CHANGE THIS WHEN MOVING FILES -->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?> 
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>

<!-- CHANGE THIS WHEN MOVING FILES -->
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/WalletEditor.dtd" >

<window id="walleteditor"
        class="dialog"
        title="&windowtitle.label;"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        orient="vertical"
        onload="Startup()">

  <script src="chrome://communicator/content/wallet/WalletEditor.js"/>
  <script language="javascript" src="chrome://global/content/strres.js" />
  <keyset id="keyset"/>
           
    <box id="system" flex="100%" orient="vertical">
      <spring style="height: 7px;"/>
      <text class="label" value="&div.walletdataonsystem.label;"/>
      <separator orient="horizontal" class="groove"/>
      <spring style="height: 10px;"/>
      <box id="system1" flex="100%" orient="horizontal">
        <spring style="width: 7px;"/>
        <box orient="vertical">
          <text class="label" value="&treehead.schemaname.label;"/>
          <tree multiple="true" id="schematree" class="inset"
             style="height: 250px;" orient="vertical" onclick="ViewEntries();">
            <treecolgroup>
              <treecol flex="1"/>
            </treecolgroup>
            <treechildren id="schemalist" flex="1"/>
          </tree>
          <box orient="horizontal">
            <button id="removeSchema" class="dialog push" disabled="true" value="&button.remove.label;" onclick="DeleteSchema();"/>
            <button id="addSchema" class="dialog push" disabled="false" value="&button.addschema.label;" onclick="AddSchema();"/>
          </box>
        </box>
        <spring style="width: 7px;"/>
        <box orient="vertical">
          <text class="label" id="entrytext" value2="&treehead.entries.label;"/>
          <tree multiple="true" id="entrytree" class="inset"
            style="height: 113px;" orient="vertical" onclick="ViewSynonyms();">
            <treecolgroup>
              <treecol flex="1"/>
            </treecolgroup>
            <treechildren flex="1" id="entrieslist"/>
          </tree>
          <spring style="height: 7px;"/>
          <text class="label" id="synonymtext" value2="&treehead.synonyms.label;" value3="&treehead.synonymsoff.label;"/>
          <tree multiple="true" id="synonymtree" class="inset"
            style="height: 113px;" orient="vertical" onclick="SynonymSelected();">
            <treecolgroup>
              <treecol flex="1"/>
            </treecolgroup>
            <treechildren flex="1" id="synonymslist"/>
          </tree>
        </box>
        <spring style="width: 7px;"/>
        <box orient="vertical">
          <spring style="height: 15px;"/>
          <button id="removeEntry" class="dialog push" disabled="true" value="&button.remove.label;" onclick="DeleteEntry();"/>
          <button id="addEntry" class="dialog push" disabled="false" value="&button.addentry.label;" onclick="AddEntry();"/>
          <spring style="height: 93px;"/>
          <button id="removeSynonym" class="dialog push" disabled="true" value="&button.remove.label;" onclick="DeleteSynonym();"/>
          <button id="addSynonym" class="dialog push" disabled="false" value="&button.addsynonym.label;" onclick="AddSynonym();"/>
        </box>
        <spring style="width: 7px;"/>
      </box>
    </box>
    <separator orient="horizontal" class="groove"/>

  <!-- from dialogOverlay.xul -->
  <spring style="height: 5px;"/>
  <box orient="horizontal">
    <spring flex="100%"/>
    <box id="okCancelButtons"/>
  </box>
  <spring style="height: 5px;"/>

</window>
