summaryrefslogtreecommitdiffstats
path: root/mailnews/base/prefs/content/removeAccount.xul
blob: 371262a11c179803c3d2949eecf2cc9b511a9883 (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
<?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/messenger.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>

<!DOCTYPE dialog [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % removalDTD SYSTEM "chrome://messenger/locale/removeAccount.dtd">
%removalDTD;
]>

<dialog id="removeAccountDialog"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        title="&dialogTitle;"
        width="600"
        buttons="accept,disclosure,cancel"
        buttonlabelaccept="&removeButton.label;"
        buttonaccesskeyaccept="&removeButton.accesskey;"
        defaultButton="cancel"
        onload="onLoad();"
        ondialogdisclosure="showInfo();"
        ondialogaccept="return onAccept();">
  <stringbundle id="bundle_removeAccount"
                src="chrome://messenger/locale/removeAccount.properties"/>
  <script type="application/javascript"
          src="chrome://messenger/content/removeAccount.js"/>
  <deck id="infoPane">
    <vbox flex="1">
      <label id="accountName"></label>
      <separator class="thin"/>
      <checkbox id="removeAccount"
                label="&removeAccount.label;"
                checked="true"
                disabled="true"
                accesskey="&removeAccount.accesskey;"
                oncommand="enableRemove();"/>
      <vbox class="indent" collapsed="true">
        <description>
          &removeAccount.desc;
        </description>
      </vbox>
      <vbox id="removeDataPossibility" collapsed="false">
      <checkbox id="removeData"
                label="&removeData.label;"
                labelChat="&removeData.label;"
                checked="false"
                accesskey="&removeData.accesskey;"
                accesskeyChat="&removeData.accesskey;"
                oncommand="enableRemove();"/>
      <vbox class="indent" collapsed="true">
        <description id="localAccount" collapsed="true">
          &removeDataLocalAccount.desc;
        </description>
        <description id="serverAccount" collapsed="true">
          &removeDataServerAccount.desc;
        </description>
        <description id="chatAccount" collapsed="true">
          &removeDataLocalAccount.desc;
        </description>
        <hbox align="center">
          <button id="showLocalDirectory"
                  label="&showData.label;"
                  accesskey="&showData.accesskey;"
                  oncommand="openLocalDirectory();"/>
          <label id="localDirectory" collapsed="true"/>
        </hbox>
      </vbox>
      </vbox>
    </vbox>
    <vbox align="center">
      <spacer flex="1"/>
      <deck id="status">
        <vbox align="center">
          <label>&progressPending;</label>
          <progressmeter mode="undetermined"/>
        </vbox>
        <label id="success">&progressSuccess;</label>
        <label id="failure">&progressFailure;</label>
      </deck>
      <spacer flex="1"/>
    </vbox>
  </deck>
</dialog>