summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/preferences/preferences.xhtml
blob: 8092f1af97d43b953d6b8c3d4024b1520a3fe017 (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
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
<?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://global/skin/global.css"?>
<?xml-stylesheet href="chrome://global/skin/popup.css"?>
<?xml-stylesheet href="chrome://global/skin/autocomplete.css"?>
<?xml-stylesheet href="chrome://messenger/skin/input-fields.css"?>
<?xml-stylesheet href="chrome://messenger/skin/preferences/applications.css"?>
<?xml-stylesheet href="chrome://global/skin/in-content/common.css"?>
<?xml-stylesheet href="chrome://messenger/skin/preferences/preferences.css"?>
<?xml-stylesheet href="chrome://calendar/skin/shared/calendar-preferences.css" type="text/css"?>
<?xml-stylesheet href="chrome://calendar/skin/calendar.css"?>

<!DOCTYPE html [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % editorOverlayDTD SYSTEM "chrome://messenger/locale/messengercompose/editorOverlay.dtd">
%editorOverlayDTD;
<!ENTITY % lightningDTD SYSTEM "chrome://lightning/locale/lightning.dtd">
%lightningDTD;
<!ENTITY % globalDTD SYSTEM "chrome://calendar/locale/global.dtd">
%globalDTD;
<!ENTITY % eventDTD SYSTEM "chrome://calendar/locale/calendar-event-dialog.dtd">
%eventDTD;
]>

<html id="MailPreferences" xmlns="http://www.w3.org/1999/xhtml"
      role="document"
      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      xmlns:html="http://www.w3.org/1999/xhtml"
      scrolling="false">
<head>
  <title data-l10n-id="preferences-doc-title2"></title>
  <meta http-equiv="Content-Security-Policy" content="default-src chrome:; connect-src *; script-src chrome: 'unsafe-inline'; img-src chrome: moz-icon: https: data:; style-src chrome: data: 'unsafe-inline'; object-src 'none'" />
  <meta name="color-scheme" content="light dark" />
  <link rel="localization" href="branding/brand.ftl" />
  <link rel="localization" href="messenger/preferences/preferences.ftl" />
  <link rel="localization" href="messenger/preferences/fonts.ftl" />
  <link rel="localization" href="messenger/preferences/languages.ftl" />
  <link rel="localization" href="messenger/aboutDialog.ftl"/>

  <!-- Links below are only used for search-l10n-ids into subdialogs -->
  <link rel="localization" href="messenger/preferences/receipts.ftl" />
  <link rel="localization" href="messenger/preferences/permissions.ftl" />
  <link rel="localization" href="messenger/preferences/cookies.ftl" />
  <link rel="localization" href="messenger/preferences/system-integration.ftl" />
  <link rel="localization" href="messenger/preferences/colors.ftl" />
  <link rel="localization" href="messenger/preferences/dock-options.ftl" />
  <link rel="localization" href="messenger/preferences/notifications.ftl" />
  <link rel="localization" href="messenger/preferences/new-tag.ftl" />
  <link rel="localization" href="toolkit/updates/history.ftl" />
  <link rel="localization" href="messenger/preferences/connection.ftl" />
  <link rel="localization" href="messenger/preferences/offline.ftl" />
  <link rel="localization" href="toolkit/about/config.ftl" />
  <link rel="localization" href="messenger/preferences/attachment-reminder.ftl" />
  <link rel="localization" href="messenger/preferences/passwordManager.ftl" />
  <link rel="localization" href="security/certificates/certManager.ftl" />
  <link rel="localization" href="security/certificates/deviceManager.ftl" />
#ifdef NIGHTLY_BUILD
  <link rel="localization" href="messenger/preferences/sync-dialog.ftl" />
  <link rel="localization" href="messenger/firefoxAccounts.ftl" />
#endif

  <script defer="defer" src="chrome://global/content/preferencesBindings.js"></script>
#ifdef MOZ_UPDATER
  <script defer="defer" src="chrome://messenger/content/aboutDialog-appUpdater.js"></script>
#endif
  <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://messenger/content/accountUtils.js"></script>

  <script defer="defer" src="chrome://communicator/content/contentAreaClick.js"></script>
  <script defer="defer" src="chrome://messenger/content/preferences/preferences.js"></script>
  <script defer="defer" src="chrome://messenger/content/preferences/findInPage.js"></script>
  <script defer="defer" src="chrome://calendar/content/calendar-ui-utils.js"></script>
  <script defer="defer" src="chrome://calendar/content/calendar-dialog-utils.js"></script>
  <script defer="defer" src="chrome://calendar/content/preferences/general.js"></script>
  <script defer="defer" src="chrome://calendar/content/preferences/alarms.js"></script>
  <script defer="defer" src="chrome://calendar/content/widgets/calendar-notifications-setting.js"/>
  <script defer="defer" src="chrome://calendar/content/preferences/notifications.js"/>
  <script defer="defer" src="chrome://calendar/content/preferences/categories.js"></script>
  <script defer="defer" src="chrome://calendar/content/preferences/views.js"></script>
  <script defer="defer" src="chrome://calendar/content/preferences/calendar-preferences.js"></script>
</head>
<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <stack id="preferences-stack" flex="1">
    <hbox id="prefBox" class="main-content" flex="1">

      <vbox id="pref-category-box">

        <!-- category list -->
        <richlistbox id="categories"
                     data-l10n-id="category-list"
                     data-l10n-attrs="aria-label">
          <richlistitem id="category-general"
                        class="category"
                        value="paneGeneral"
                        data-l10n-id="category-general"
                        align="center">
            <html:img class="category-icon"
                      src="chrome://messenger/skin/icons/new/touch/settings.svg"
                      alt="" />
            <label class="category-name" flex="1" data-l10n-id="pane-general-title"/>
          </richlistitem>

          <richlistitem id="category-compose"
                        class="category"
                        value="paneCompose"
                        data-l10n-id="category-compose"
                        align="center">
            <html:img class="category-icon"
                      src="chrome://messenger/skin/icons/new/touch/pencil.svg"
                      alt="" />
            <label class="category-name" flex="1" data-l10n-id="pane-compose-title"/>
          </richlistitem>

          <richlistitem id="category-privacy"
                        class="category"
                        value="panePrivacy"
                        data-l10n-id="category-privacy"
                        align="center">
            <html:img class="category-icon"
                      src="chrome://messenger/skin/icons/new/touch/lock.svg"
                      alt="" />
            <label class="category-name" flex="1" data-l10n-id="pane-privacy-title"/>
          </richlistitem>

          <richlistitem id="category-chat"
                        class="category"
                        value="paneChat"
                        data-l10n-id="category-chat"
                        align="center">
            <html:img class="category-icon"
                      src="chrome://messenger/skin/icons/new/touch/chat.svg"
                      alt="" />
            <label class="category-name" flex="1" data-l10n-id="pane-chat-title"/>
          </richlistitem>

          <richlistitem id="category-calendar"
                        class="category"
                        value="paneCalendar"
                        data-l10n-id="category-calendar"
                        align="center">
            <html:img class="category-icon"
                      src="chrome://messenger/skin/icons/new/touch/calendar.svg"
                      alt="" />
            <label class="category-name" flex="1" data-l10n-id="pane-calendar-title"/>
          </richlistitem>
#ifdef NIGHTLY_BUILD
          <richlistitem id="category-sync"
                        class="category"
                        value="paneSync"
                        data-l10n-id="category-sync"
                        align="center">
            <html:img class="category-icon"
                      src="chrome://messenger/skin/icons/new/touch/sync.svg"
                      alt="" />
            <label class="category-name" flex="1" data-l10n-id="pane-sync-title"/>
          </richlistitem>
#endif
        </richlistbox>

        <spacer flex="1"/>

        <vbox class="sidebar-footer-list">
          <html:a id="accountButton" class="sidebar-footer-link"
                  onclick="MsgAccountManager(null);">
            <html:img class="sidebar-footer-icon account-icon"
                      src="chrome://messenger/skin/icons/new/compact/account-settings.svg"
                      alt="" />
            <label data-l10n-id="account-button" class="sidebar-footer-label" flex="1"/>
          </html:a>

          <html:a id="addonsButton" class="sidebar-footer-link"
                  onclick="window.browsingContext.topChromeWindow.openAddonsMgr();">
            <html:img class="sidebar-footer-icon"
                      src="chrome://messenger/skin/icons/new/compact/extension.svg"
                      alt="" />
            <label class="sidebar-footer-label"
                   data-l10n-id="open-addons-sidebar-button"
                   flex="1"/>
          </html:a>
        </vbox>

      </vbox>

      <vbox id="preferencesContainer" flex="1" align="start">
        <vbox class="paneDeckContainer">
          <hbox class="sticky-container" pack="end" align="top" flex="1">
            <search-textbox id="searchInput"
                            data-l10n-id="search-preferences-input2"
                            data-l10n-attrs="placeholder, style"
                            hidden="true"/>
          </hbox>
          <vbox id="paneDeck">
#include searchResults.inc.xhtml
#include general.inc.xhtml
#include compose.inc.xhtml
#include privacy.inc.xhtml
#include chat.inc.xhtml
#include ../../../calendar/base/content/preferences/calendar-preferences.inc.xhtml
#ifdef NIGHTLY_BUILD
#include sync.inc.xhtml
#endif
          </vbox>
        </vbox>
      </vbox>
    </hbox>
    <stack id="dialogStack" hidden="true"/>
    <vbox id="dialogTemplate"
          class="dialogOverlay"
          align="center"
          pack="center"
          topmost="true"
          hidden="true">
      <vbox class="dialogBox"
            pack="end"
            role="dialog"
            aria-labelledby="dialogTitle">
        <hbox class="dialogTitleBar" align="center">
          <label class="dialogTitle" flex="1"/>
          <button class="dialogClose close-icon" data-l10n-id="close-button"/>
        </hbox>
        <browser class="dialogFrame"
                 autoscroll="false"
                 disablehistory="true"/>
      </vbox>
    </vbox>
  </stack>

  <!-- Helpers for the FileLink options browser select and autocomplete. -->
  <popupset>
    <!-- For select dropdowns. The menupopup is what shows the list of options,
         and the popuponly menulist makes things like the menuactive attributes
         work correctly on the menupopup. ContentSelectDropdown expects the
         popuponly menulist to be its immediate parent. -->
    <menulist popuponly="true" id="ContentSelectDropdown" hidden="true">
      <menupopup rolluponmousewheel="true"
                 activateontab="true"
                 position="after_start"
                 level="parent"
#ifdef XP_WIN
                 consumeoutsideclicks="false"
                 ignorekeys="shortcuts"
#endif
      />
    </menulist>
    <panel is="autocomplete-richlistbox-popup" id="PopupAutoComplete"
           type="autocomplete"
           role="group"
           noautofocus="true"/>
  </popupset>
</html:body>
</html>