summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/preferences/offline.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mail/components/preferences/offline.xhtml')
-rw-r--r--comm/mail/components/preferences/offline.xhtml77
1 files changed, 77 insertions, 0 deletions
diff --git a/comm/mail/components/preferences/offline.xhtml b/comm/mail/components/preferences/offline.xhtml
new file mode 100644
index 0000000000..77a86cfa86
--- /dev/null
+++ b/comm/mail/components/preferences/offline.xhtml
@@ -0,0 +1,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://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"
+ onload="gOfflineDialog.dialogSetup();"
+ data-l10n-id="offline-dialog-window"
+>
+ <dialog id="OfflineSettingsDialog" dlgbuttons="accept,cancel">
+ <script src="chrome://global/content/preferencesBindings.js" />
+ <script src="chrome://messenger/content/preferences/offline.js" />
+
+ <linkset>
+ <html:link rel="localization" href="messenger/preferences/offline.ftl" />
+ </linkset>
+
+ <checkbox
+ data-l10n-id="autodetect-online-label"
+ preference="offline.autoDetect"
+ />
+
+ <separator class="thin" />
+
+ <label
+ data-l10n-id="offline-preference-startup-label"
+ control="whenStartingUp"
+ />
+ <radiogroup
+ id="whenStartingUp"
+ class="indent"
+ preference="offline.startup_state"
+ >
+ <radio value="0" data-l10n-id="status-radio-remember" />
+ <radio value="1" data-l10n-id="status-radio-ask" />
+ <radio value="2" data-l10n-id="status-radio-always-online" />
+ <radio value="3" data-l10n-id="status-radio-always-offline" />
+ <radio value="4" hidden="true" />
+ </radiogroup>
+
+ <separator />
+
+ <label data-l10n-id="going-online-label" control="whengoingOnlinestate" />
+ <radiogroup
+ id="whengoingOnlinestate"
+ orient="horizontal"
+ class="indent"
+ preference="offline.send.unsent_messages"
+ >
+ <radio value="1" data-l10n-id="going-online-auto" />
+ <radio value="2" data-l10n-id="going-online-not" />
+ <radio value="0" data-l10n-id="going-online-ask" />
+ </radiogroup>
+
+ <separator class="thin" />
+
+ <label data-l10n-id="going-offline-label" control="whengoingOfflinestate" />
+ <radiogroup
+ id="whengoingOfflinestate"
+ orient="horizontal"
+ class="indent"
+ preference="offline.download.download_messages"
+ >
+ <radio value="1" data-l10n-id="going-offline-auto" />
+ <radio value="2" data-l10n-id="going-offline-not" />
+ <radio value="0" data-l10n-id="going-offline-ask" />
+ </radiogroup>
+ <separator />
+ </dialog>
+</window>