<?xml version="1.0"?>

<?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>

<!--
 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.

 Contributors:
 Alec Flett <alecf@netscape.com>

-->

<!DOCTYPE window SYSTEM "chrome://messenger/locale/SmtpServerList.dtd">

<window class="dialog"
  title="&smtpListTitle.label;"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  align="vertical"
  onload="onLoad();"
  width="30em"
>

<script language="javascript" src="chrome://global/content/strres.js"/>
<script language="javascript" src="SmtpServerList.js"/>

<keyset id="keyset"/>

<box align="horizontal">
  <html flex="1">&smtpListDesc.label;</html>
</box>
<box align="horizontal" style="min-height: 10em; min-width: 30em">
  <tree id="smtpTree" onselect="onSelectionChange(event);" class="inset" flex="1" style="height: 30px">
    <treecolgroup>
      <treecol flex="1"/>
    </treecolgroup>
    <treechildren id="smtpTreeChildren" flex="1"/>
  </tree>
  <box align="vertical">
    <button id="addButton"
       oncommand="onAdd(event);" value="&smtpListAdd.label;"/>
    <button id="editButton" disabled="true"
       oncommand="onEdit(event);" value="&smtpListEdit.label;"/>
    <button id="deleteButton" disabled="true"
       oncommand="onDelete(event);" value="&smtpListDelete.label;"/>
    <button id="setDefaultButton" disabled="true"
       oncommand="onSetDefault(event);" value="&smtpListSetDefault.label;"/>
  </box>
</box>
<separator class="groove"/>
<box id="okCancelButtons" />
</window>
