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

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

<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-server.dtd" >
<window id="serverpage" xmlns:html="http://www.w3.org/TR/REC-html40"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    align="vertical"
    class="dialog"
    onload="parent.wizardManager.onPageLoad('server');">

<script language="JavaScript" src="chrome://global/content/strres.js"/>
<script language="JavaScript" src="chrome://messenger/content/aw-server.js"/>

  <box class="box-header" value="&serverTitle.label;"/>

  <box align="vertical">
    <text class="title" value="&incomingServerTitle.label;"/>
    <spring class="spacer"/>
    <html>&incomingServerTypeDesc.label;</html>
    <spring class="spacer"/>
    <box>
      <text class="label" value="&incomingServerTypeLabel.label;"/>
      <html:select id="servertype" name="servertype">
        <html:option value="pop3">&popType.label;</html:option>
        <html:option value="imap">&imapType.label;</html:option>
      </html:select>
    </box>
    <spring class="spacer"/>
    <html>&incomingServerNameDesc.label;</html>
    <spring class="spacer"/>
    <box>
      <text class="label" value="&incomingServerLabel.label;"/>
      <html:input type="text" id="hostname" name="hostname"/>
    </box>
  </box>

  <spring class="spacer"/>
  <spring class="spacer"/>
  <box align="vertical" id="noSmtp">
    <text class="title" value="&smtpServerTitle.label;"/>
    <spring class="spacer"/>
    <html>&smtpServerDesc.label;</html>
    <spring class="spacer"/>
    <box>
      <text class="label" value="&smtpServerLabel.label;"/>
      <html:input type="text" id="smtphostname" name="smtphostname"/>
    </box>
  </box>

  <box id="haveSmtp" orient="vertical">
    <box>
      <text value="&currentSmtpBefore.label;"/>
      <text id="smtpStaticText"/>
      <text value="&currentSmtpAfter.label;"/>
    </box>
    <html style="width: 500px">&haveSmtp1.label;</html>
    <html style="width: 500px">&haveSmtp2.label;</html>
  </box>
</window>
