mailnews/base/prefs/resources/content/am-smtp.xul
author Karsten Düsterloh <mnyromyr@tprac.de>
Fri, 19 Jun 2009 23:35:33 +0200
changeset 2895 6f5baa0cddd240bb7c0ecc6e9f57e78adc94b90a
parent 1762 63dbe60ea7df4c458efb7c767f3a847135264e57
permissions -rw-r--r--
Merge for rev. 2894

<?xml version="1.0"?>

<?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>

<?xul-overlay href="chrome://messenger/content/smtpEditOverlay.xul"?>

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

<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      title="&smtpServer.label;"
      onload="gSmtpServerListWindow.onLoad();">
  <script type="application/x-javascript" src="amUtils.js"/>
  <script type="application/x-javascript" src="am-smtp.js"/>
  
  <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>

  <dialogheader title="&smtpServer.label;"/>

  <label control="smtpList">&smtpDesc.label;</label>
  <separator class="thin"/>

  <hbox>
    <listbox id="smtpList" onselect="gSmtpServerListWindow.onSelectionChanged(event);" 
             ondblclick="gSmtpServerListWindow.onEditServer(event);" flex="1" style="height: 0px;"/>

    <vbox>
      <button id="addButton"
              oncommand="gSmtpServerListWindow.onAddServer(event);" label="&smtpListAdd.label;"
              accesskey="&smtpListAdd.accesskey;"/>
      <button id="editButton" 
              oncommand="gSmtpServerListWindow.onEditServer(event);" label="&smtpListEdit.label;"
              accesskey="&smtpListEdit.accesskey;"/>
      <button id="deleteButton" disabled="true"
              oncommand="gSmtpServerListWindow.onDeleteServer(event);" label="&smtpListDelete.label;"
              accesskey="&smtpListDelete.accesskey;"/>
      <button id="setDefaultButton" disabled="true"
              oncommand="gSmtpServerListWindow.onSetDefaultServer(event);" label="&smtpListSetDefault.label;"
              accesskey="&smtpListSetDefault.accesskey;"/>
    </vbox>
  </hbox>

  <separator/>

  <hbox id="smtpServerInfoBox">
    <stack flex="1" class="inset">
      <spacer id="backgroundBox"/>
      <grid>
        <columns>
          <column/>
          <column flex="1"/>
        </columns>
        <rows>
          <row align="center">
            <hbox pack="end"><label id="descriptionLabel" value="&serverDescription.label;" control="descriptionValue"/></hbox>
            <textbox id="descriptionValue" readonly="true" class="plain"/>
          </row>
          <row align="center">
            <hbox pack="end"><label id="nameLabel" value="&serverName.label;" control="nameValue"/></hbox>
            <textbox id="nameValue" readonly="true" class="plain"/>
          </row>
          <row align="center">
            <hbox pack="end"><label id="portLabel" value="&serverPort.label;" control="portValue"/></hbox>
            <textbox id="portValue" readonly="true" class="plain"/>
          </row>
          <row align="center">
            <hbox pack="end"><label id="userNameLabel" value="&userName.label;" control="userNameValue"/></hbox>
            <textbox id="userNameValue" readonly="true" class="plain"/>
          </row>
          <row align="center">
              <hbox pack="end"><label id="useSecureAuthenticationLabel" value="&useSecureAuthentication.label;" control="useSecureAuthenticationValue"/></hbox>
              <textbox id="useSecureAuthenticationValue" readonly="true" class="plain"/>
          </row>
          <row align="center">
            <hbox pack="end">
              <label id="connectionSecurityLabel" value="&connectionSecurity.label;"
                     control="useSecureConnectionValue"/>
            </hbox>
            <textbox id="useSecureConnectionValue" readonly="true" class="plain"/>
          </row>
        </rows>
      </grid>
    </stack>
  </hbox>
    
</page>