summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/preferences/attachmentReminder.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/components/preferences/attachmentReminder.xhtml')
-rw-r--r--comm/mail/components/preferences/attachmentReminder.xhtml54
1 files changed, 54 insertions, 0 deletions
diff --git a/comm/mail/components/preferences/attachmentReminder.xhtml b/comm/mail/components/preferences/attachmentReminder.xhtml
new file mode 100644
index 0000000000..7f2f7b19ce
--- /dev/null
+++ b/comm/mail/components/preferences/attachmentReminder.xhtml
@@ -0,0 +1,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>