<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>

<!DOCTYPE window SYSTEM "chrome://messenger/locale/am-advanced.dtd" >

<window xmlns:html="http://www.w3.org/TR/REC-html40"
	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
	flex="100%"
	class="dialog"
    onload="parent.onPanelLoaded('am-smtp.xul');"
	align="vertical">

  <script language="javascript" src="am-smtp.js"/>

  <box class="header" align="horizontal">
    <titledbutton class="left-header-text" value="&smtpServer.label;"/>
    <spring class="header-spring" flex="1"/>
    <titledbutton class="right-header-text" value=""/>
  </box>

<html:div>&smtpDesc.label;</html:div>

  <html:table width="100%">
    <html:colgroup>
      <html:col width="0*"/>
      <html:col width="1*"/>
      <html:col width="0*"/>
    </html:colgroup>
  <html:tr>
     <html:td colspan="2"><html:div>&smtpHostname.label;</html:div></html:td>
     <html:td><html:input type="text" size="30" name="smtp.hostname"/></html:td>
  </html:tr>
  <html:tr>
    <html:td>
      <html:input type="checkbox" id="smtp.useUsername" name="smtp.useUsername"/>
    </html:td>
    <html:td colspan="2">
      <html:label for="smtp.useUsername">&smtpAlwaysUseName.label;</html:label>
    </html:td>
  </html:tr>

  <html:tr>
    <html:td/>
    <html:td><html:div>&smtpUsername.label;</html:div></html:td>
    <html:td><html:input type="text" size="30" name="smtp.username" flex="100%"/></html:td>
  </html:tr>
  <html:tr>
    <html:td/>
    <html:td colspan="2">
      <html:input type="checkbox" id="smtp.savePassword" name="smtp.savePassword"/>
      <html:label for="smtp.savePassword">&smtpSavePassword.label;</html:label>
    </html:td>
  </html:tr>
  <html:tr>
    <html:td>
      <html:input id="smtp.isSecure" name="smtp.isSecure" type="checkbox"/>
    </html:td>
    <html:td colspan="2">
      <html:label for="smtp.isSecure">&smtpUseSecure.label;</html:label>
    </html:td>
  </html:tr>
  </html:table>    

  <box align="horizontal">
    <spring flex="100%"/>
    <button value="&advanced.label;" oncommand="onAdvanced(event);"/>
  </box>
</window>
