summaryrefslogtreecommitdiffstats
path: root/mailnews/base/prefs/content/am-smtp.xul
blob: 3c18bfe111f715b7b1dd236d13a31cbd3a781bcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->


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

<!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/javascript"
          src="chrome://messenger/content/amUtils.js"/>
  <script type="application/javascript"
          src="chrome://messenger/content/am-smtp.js"/>

  <stringbundle id="bundle_messenger"
                src="chrome://messenger/locale/messenger.properties"/>

  <vbox flex="1" style="overflow: auto;">
    <dialogheader title="&smtpServer.label;"/>

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

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

      <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;"/>
        <separator/>
        <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/>

    <label class="header">&serverDetails.label;</label>
    <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="authMethodLabel" value="&authMethod.label;" control="authMethodValue"/>
              </hbox>
              <textbox id="authMethodValue" 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>
    <separator flex="1"/>
  </vbox>
</page>