summaryrefslogtreecommitdiff
path: root/mailnews/base/prefs/content/am-serverwithnoidentities.xul
blob: e3321623478e7f4e238b3a47f2c78b68394ecdad (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
<?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 [
<!ENTITY % accountNoIdentDTD SYSTEM "chrome://messenger/locale/am-serverwithnoidentities.dtd" >%accountNoIdentDTD;
<!ENTITY % accountServerTopDTD SYSTEM "chrome://messenger/locale/am-server-top.dtd">%accountServerTopDTD;
]>

<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      title="&accountTitle.label;"
      onload="parent.onPanelLoaded('am-serverwithnoidentities.xul');">

  <script type="application/javascript" src="chrome://messenger/content/am-serverwithnoidentities.js"/>
  <script type="application/javascript" src="chrome://messenger/content/amUtils.js"/>

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

  <label hidden="true"
         wsm_persist="true"
         preftype="string"
         prefattribute="value"
         prefstring="mail.server.%serverkey%.storeContractID"
         genericattr="true"
         id="server.storeContractID"/>

  <description class="secDesc">&accountSettingsDesc.label;</description>
  <hbox align="center">
    <label value="&accountName.label;" control="server.prettyName"
           accesskey="&accountName.accesskey;"/>
    <textbox wsm_persist="true" size="30" id="server.prettyName"
             prefstring="mail.server.%serverkey%.name"/>
  </hbox>

  <separator class="thin"/>

  <groupbox>
    <caption label="&messageStorage.label;"/>

    <vbox align="start">
      <checkbox wsm_persist="true" id="server.emptyTrashOnExit"
                label="&emptyTrashOnExit.label;"
                accesskey="&emptyTrashOnExit.accesskey;"
                prefattribute="value"
                prefstring="mail.server.%serverkey%.empty_trash_on_exit"/>
      <hbox align="center">
        <label value="&storeType.label;"
               accesskey="&storeType.accesskey;"
               control="server.storeTypeMenulist"/>
        <menulist id="server.storeTypeMenulist">
          <menupopup id="server.storeTypeMenupopup">
            <menuitem id="server.mboxStore"
                      value="@mozilla.org/msgstore/berkeleystore;1"
                      label="&mboxStore2.label;"/>
            <menuitem id="server.maildirStore"
                      value="@mozilla.org/msgstore/maildirstore;1"
                      label="&maildirStore.label;"/>
          </menupopup>
        </menulist>
      </hbox>
    </vbox>

    <separator class="thin"/>

    <label value="&localPath.label;" control="server.localPath"/>
    <hbox align="center">
      <textbox readonly="true" wsm_persist="true" flex="1" id="server.localPath" datatype="nsIFile"
               prefstring="mail.server.%serverkey%.directory" class="uri-element"/>
      <button id="browseForLocalFolder" label="&browseFolder.label;" filepickertitle="&localFolderPicker.label;"
              accesskey="&browseFolder.accesskey;" oncommand="BrowseForLocalFolders()"/>
    </hbox>
  </groupbox>
</page>