File: am-im.xhtml

package info (click to toggle)
thunderbird 1%3A143.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,703,968 kB
  • sloc: cpp: 7,770,492; javascript: 5,943,842; ansic: 3,918,754; python: 1,418,263; xml: 653,354; asm: 474,045; java: 183,079; sh: 111,238; makefile: 20,410; perl: 14,359; objc: 13,059; yacc: 4,583; pascal: 3,405; lex: 1,720; ruby: 999; exp: 762; sql: 715; awk: 580; php: 436; lisp: 430; sed: 69; csh: 10
file content (259 lines) | stat: -rw-r--r-- 9,332 bytes parent folder | download | duplicates (4)
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<?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/. -->

<!DOCTYPE html [ <!ENTITY % imDTD SYSTEM "chrome://messenger/locale/am-im.dtd">
%imDTD; ]>
<html
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml"
  id="account"
  scrolling="false"
>
  <head>
    <title>&accountWindow.title;</title>
    <meta
      http-equiv="Content-Security-Policy"
      content="default-src chrome:; script-src chrome: 'unsafe-inline'; style-src chrome: 'unsafe-inline'"
    />
    <link rel="stylesheet" href="chrome://messenger/skin/accountManage.css" />
    <link
      rel="stylesheet"
      href="chrome://messenger/skin/shared/grid-layout.css"
    />
    <link rel="localization" href="branding/brand.ftl" />
    <link rel="localization" href="messenger/accountSettings.ftl" />
    <link rel="localization" href="messenger/preferences/am-im.ftl" />
    <link rel="localization" href="messenger/otr/am-im-otr.ftl" />
    <script
      defer="defer"
      src="chrome://messenger/content/globalOverlay.js"
    ></script>
    <script
      defer="defer"
      src="chrome://global/content/editMenuOverlay.js"
    ></script>
    <script
      defer="defer"
      src="chrome://chat/content/imAccountOptionsHelper.js"
    ></script>
    <script defer="defer" src="chrome://messenger/content/am-im.js"></script>
  </head>
  <html:body
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  >
    <vbox flex="1" style="overflow: auto; padding: 0; max-height: 100vh"
      ><vbox id="containerBox" flex="1">
        <hbox class="dialogheader">
          <label
            class="dialogheader-title"
            defaultTitle="&accountWindow.title;"
          />
          <spacer flex="1" />
          <button
            id="deleteAccount"
            data-l10n-id="delete-account-button"
            oncommand="top.onRemoveAccount(event);"
          />
        </hbox>

        <hbox align="center">
          <html:img id="protocolIcon" alt="" />
          <vbox flex="1">
            <label id="accountName" crop="end" class="header" />
            <label id="protocolName" class="tip-caption" />
          </vbox>
        </hbox>

        <tabbox id="imTabbox" flex="1">
          <tabs>
            <tab id="imTabGeneral" label="&account.general;" />
            <tab
              id="imTabEncryption"
              data-l10n-id="account-encryption"
              hidden="true"
            />
          </tabs>
          <tabpanels flex="1">
            <tabpanel orient="vertical">
              <label class="header" data-l10n-id="account-settings-title" />
              <hbox id="passwordBox" align="baseline" class="input-container">
                <label
                  value="&account.password;"
                  control="server.password"
                  class="label-inline"
                />
                <html:input
                  id="server.password"
                  type="password"
                  preftype="string"
                  genericattr="true"
                  class="input-inline"
                />
              </hbox>
              <hbox id="aliasBox" align="baseline" class="input-container">
                <label
                  value="&account.alias;"
                  control="server.alias"
                  class="label-inline"
                />
                <html:input
                  id="server.alias"
                  type="text"
                  preftype="string"
                  wsm_persist="true"
                  genericattr="true"
                  class="input-inline"
                />
              </hbox>
              <vbox id="autologinBox">
                <checkbox
                  id="server.autologin"
                  data-l10n-id="chat-autologin"
                  crop="end"
                  wsm_persist="true"
                  preftype="bool"
                  genericattr="true"
                />
              </vbox>
              <separator class="thin" />

              <vbox id="autojoinBox" hidden="true">
                <label class="header" data-l10n-id="account-channel-title" />
                <hbox class="input-container">
                  <label
                    class="label-inline"
                    value="&account.autojoin;"
                    control="server.autojoin"
                  />
                  <html:input
                    id="server.autojoin"
                    type="text"
                    preftype="string"
                    genericattr="true"
                    class="input-inline"
                  />
                </hbox>
                <separator class="thin" />
              </vbox>
              <vbox id="advanced">
                <label class="header">&account.advanced;</label>
                <html:div
                  id="protoSpecific"
                  class="grid-block-two-column-fr grid-items-baseline"
                >
                </html:div>
              </vbox>
            </tabpanel>

            <tabpanel orient="vertical">
              <html:div>
                <html:h1 data-l10n-id="chat-encryption-generic" />
                <separator class="thin" />

                <vbox>
                  <checkbox
                    id="server.otrAllowMsgLog"
                    data-l10n-id="chat-encryption-log"
                    crop="end"
                    wsm_persist="true"
                    preftype="bool"
                    genericattr="true"
                  />
                </vbox>
              </html:div>
              <separator />
              <html:div class="chat-encryption-settings">
                <html:h1 data-l10n-id="chat-encryption-label" />
                <description id="chat-encryption-description" />

                <separator class="thin" />

                <label class="header" data-l10n-id="chat-encryption-status" />
                <html:div class="indent">
                  <html:ul class="chat-encryption-status">
                    <html:li data-l10n-id="chat-encryption-placeholder" />
                  </html:ul>
                </html:div>

                <html:div class="chat-encryption-sessions-container">
                  <separator class="thin" />
                  <label
                    class="header"
                    data-l10n-id="chat-encryption-sessions"
                  />
                  <description
                    data-l10n-id="chat-encryption-sessions-description"
                  />
                  <html:div class="indent">
                    <html:ul class="chat-encryption-sessions"></html:ul>
                  </html:div>
                </html:div>
                <separator />
              </html:div>
              <html:div class="otr-settings">
                <html:h1 data-l10n-id="account-otr-label" />
                <description data-l10n-id="account-otr-description2" />

                <separator />

                <vbox>
                  <label class="header" data-l10n-id="otr-settings-title" />
                  <checkbox
                    id="server.otrRequireEncryption"
                    data-l10n-id="otr-require-encryption"
                    crop="end"
                    wsm_persist="true"
                    preftype="bool"
                    genericattr="true"
                  />
                  <html:p
                    id="otrRequireEncryptionInfo"
                    class="option-description"
                    data-l10n-id="otr-require-encryption-info"
                  ></html:p>
                  <checkbox
                    id="server.otrVerifyNudge"
                    data-l10n-id="otr-verify-nudge"
                    crop="end"
                    wsm_persist="true"
                    preftype="bool"
                    genericattr="true"
                  />
                </vbox>

                <separator />

                <vbox>
                  <label class="header" data-l10n-id="otr-encryption-title" />
                  <label data-l10n-id="otr-encryption-caption" />
                  <separator class="thin" />
                  <hbox align="center">
                    <label data-l10n-id="otr-fingerprint-label" />
                    <hbox class="input-container" flex="1">
                      <html:input
                        id="otrFingerprint"
                        type="text"
                        class="input-inline"
                        readonly="readonly"
                      />
                    </hbox>
                  </hbox>
                  <separator class="thin" />
                  <hbox pack="end">
                    <button
                      id="viewFingerprintButton"
                      data-l10n-id="view-fingerprint-button"
                      oncommand="account.viewFingerprintKeys();"
                    />
                  </hbox>
                </vbox>
              </html:div>
            </tabpanel>
          </tabpanels>
        </tabbox> </vbox
    ></vbox>
  </html:body>
</html>