summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/base/prefs/content/am-addressing.inc.xhtml
blob: 44d393f4ed77559cfa16b22934ed9419841f3fc1 (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
113
114
115
116
117
118
119
120
121
122
123
124
125
# 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/.

    <vbox flex="1" id="compositionAndAddressing">
      <stringbundle id="bundle_addressBook" src="chrome://messenger/locale/addressbook/addressBook.properties"/>

      <html:div>
      <html:fieldset>
        <html:legend>&compositionGroupTitle.label;</html:legend>
        <hbox align="center">
          <checkbox wsm_persist="true" id="identity.composeHtml" label="&useHtml.label;"
                    accesskey="&useHtml.accesskey;"
                    prefattribute="value"
                    prefstring="mail.identity.%identitykey%.compose_html"/>
        </hbox>

        <separator class="thin"/>

        <hbox align="center">
          <checkbox wsm_persist="true" id="identity.autoQuote" label="&autoQuote.label;"
                    accesskey="&autoQuote.accesskey;"
                    pref="true" preftype="bool" prefattribute="value"
                    prefstring="mail.identity.%identitykey%.auto_quote"/>
        </hbox>
        <hbox align="center">
          <label value="&quoting.label;" accesskey="&quoting.accesskey;" control="identity.replyOnTop"/>
          <menulist wsm_persist="true" id="identity.replyOnTop" oncommand="quoteEnabling();"
                    pref="true" preftype="int" prefattribute="value"
                    prefstring="mail.identity.%identitykey%.reply_on_top">
            <menupopup>
              <menuitem value="1" label="&aboveQuote.label;"/>
              <menuitem value="0" label="&belowQuote.label;"/>
              <menuitem value="2" label="&selectAndQuote.label;"/>
            </menupopup>
          </menulist>
        </hbox>
        <hbox class="indent" align="center" id="placeBox">
          <label value="&place.label;" accesskey="&place.accesskey;" control="identity.sig_bottom"/>
          <menulist wsm_persist="true" id="identity.sig_bottom" genericattr="true"
                    pref="true" preftype="bool" prefattribute="value"
                    prefstring="mail.identity.%identitykey%.sig_bottom">
            <menupopup>
              <menuitem value="true" label="&belowText.label;"/>
              <menuitem value="false" label="&aboveText.label;"/>
            </menupopup>
          </menulist>
        </hbox>

        <checkbox id="identity.sig_on_reply" wsm_persist="true"
                  label="&includeSigOnReply.label;"
                  accesskey="&includeSigOnReply.accesskey;"
                  preftype="bool" genericattr="true"
                  prefstring="mail.identity.%identitykey%.sig_on_reply"/>

        <checkbox id="identity.sig_on_fwd" wsm_persist="true"
                  label="&includeSigOnForward.label;"
                  accesskey="&includeSigOnForward.accesskey;"
                  preftype="bool" genericattr="true"
                  prefstring="mail.identity.%identitykey%.sig_on_fwd"/>

        <separator class="thin"/>

        <hbox pack="end">
          <button id="globalComposingPrefsLink"
                  label="&globalComposingPrefs.label;"
                  accesskey="&globalComposingPrefs.accesskey;"
                  oncommand="showGlobalComposingPrefs();"/>
        </hbox>
      </html:fieldset>
      </html:div>

      <separator class="thin"/>

      <html:div>
      <html:fieldset>
        <html:legend>&addressingGroupTitle.label;</html:legend>
#ifndef MOZ_THUNDERBIRD
        <hbox align="center">
          <checkbox wsm_persist="true" id="identity.autocompleteToMyDomain"
                    label="&autocompleteToMyDomain.label;"
                    accesskey="&autocompleteToMyDomain.accesskey;"
                    prefattribute="value"
                    prefstring="mail.identity.%identitykey%.autocompleteToMyDomain"/>
        </hbox>

        <separator class="thin"/>
#endif

        <label control="identity.overrideGlobal_Pref">&addressingText.label;</label>
        <radiogroup id="identity.overrideGlobal_Pref" class="indent"
                    oncommand="LDAPenabling();" wsm_persist="true"
                    genericattr="true" preftype="bool"
                    prefstring="mail.identity.%identitykey%.overrideGlobal_Pref">
          <radio value="false" label="&useGlobal.label;"
                 accesskey="&useGlobal.accesskey;"/>
          <radio value="true" id="directories" label="&directories.label;"
                 accesskey="&directories.accesskey;"/>
          <hbox class="indent">
            <menulist is="menulist-addrbooks" id="identity.directoryServer"
                      none="&directoriesNone.label;"
                      remoteonly="true"
                      wsm_persist="true"
                      preftype="string"
                      prefstring="mail.identity.%identitykey%.directoryServer"
                      style="min-width: 16em;"
                      aria-labelledby="directories"
                      flex="1"/>
            <button id="editButton" label="&editDirectories.label;"
                    accesskey="&editDirectories.accesskey;"
                    oncommand="onEditDirectories();"/>
          </hbox>
        </radiogroup>

        <separator class="thin"/>

        <hbox pack="end">
          <button id="globalAddressingPrefsLink"
                  label="&globalAddressingPrefs.label;"
                  accesskey="&globalAddressingPrefs.accesskey;"
                  oncommand="showGlobalAddressingPrefs();"/>
        </hbox>
      </html:fieldset>
      </html:div>
    </vbox>