summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/preferences/attachmentReminder.xhtml
blob: 7f2f7b19ce565b547e74a1c97f0d138850e1f082 (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
<?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"?>

<!DOCTYPE window>

<window
  type="child"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml"
  data-l10n-id="attachment-reminder-window"
  onload="gAttachmentReminderOptionsDialog.init();"
  style="min-width: 38em"
>
  <dialog id="attachmentReminderOptionsDialog" dlgbuttons="accept,cancel">
    <script src="chrome://messenger/content/preferences/attachmentReminder.js" />

    <linkset>
      <html:link rel="localization" href="branding/brand.ftl" />
      <html:link
        rel="localization"
        href="messenger/preferences/attachment-reminder.ftl"
      />
    </linkset>

    <vbox>
      <label control="keywordList" data-l10n-id="attachment-reminder-label" />
      <hbox>
        <richlistbox
          id="keywordList"
          flex="1"
          ondblclick="gAttachmentReminderOptionsDialog.editKeyword();"
        />
        <vbox>
          <button
            data-l10n-id="keyword-new-button"
            oncommand="gAttachmentReminderOptionsDialog.addKeyword();"
          />
          <button
            data-l10n-id="keyword-edit-button"
            oncommand="gAttachmentReminderOptionsDialog.editKeyword();"
          />
          <button
            data-l10n-id="keyword-remove-button"
            oncommand="gAttachmentReminderOptionsDialog.removeKeyword();"
          />
        </vbox>
      </hbox>
    </vbox>
  </dialog>
</window>