3
* ***** BEGIN LICENSE BLOCK *****
4
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
6
* The contents of this file are subject to the Mozilla Public
7
* License Version 1.1 (the "MPL"); you may not use this file
8
* except in compliance with the MPL. You may obtain a copy of
9
* the MPL at http://www.mozilla.org/MPL/
11
* Software distributed under the MPL is distributed on an "AS
12
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
13
* implied. See the MPL for the specific language governing
14
* rights and limitations under the MPL.
16
* The Original Code is Enigmail.
18
* The Initial Developer of the Original Code is Ramalingam Saravanan.
19
* Portions created by Ramalingam Saravanan <svn@xmlterm.org> are
20
* Copyright (C) 2001 Ramalingam Saravanan. All Rights Reserved.
23
* Patrick Brunschwig <patrick@mozilla-enigmail.org>
25
* Alternatively, the contents of this file may be used under the terms of
26
* either the GNU General Public License Version 2 or later (the "GPL"), or
27
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28
* in which case the provisions of the GPL or the LGPL are applicable instead
29
* of those above. If you wish to allow use of your version of this file only
30
* under the terms of either the GPL or the LGPL, and not to allow others to
31
* use your version of this file under the terms of the MPL, indicate your
32
* decision by deleting the provisions above and replace them with the notice
33
* and other provisions required by the GPL or the LGPL. If you do not delete
34
* the provisions above, a recipient may use your version of this file under
35
* the terms of any one of the MPL, the GPL or the LGPL.
36
* ***** END LICENSE BLOCK ***** *
39
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
40
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
41
<?xml-stylesheet href="chrome://enigmail/skin/enigmail.css" type="text/css"?>
44
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
46
<!ENTITY % enigMailDTD SYSTEM "chrome://enigmail/locale/enigmail.dtd" >
49
<dialog id="enigmailPrefsAdv"
50
title="&enigmail.preferences.label;"
51
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
52
onload="prefOnLoad();"
53
ondialogaccept="return prefOnAccept();">
55
<script type="application/x-javascript" src="chrome://enigmail/content/enigmailCommon.js"/>
56
<script type="application/x-javascript" src="chrome://enigmail/content/pref-enigmail.js"/>
59
<tooltip id="neverAsk.tooltip">
60
<description>&enigmail.neverAsk.tooltip;</description>
62
<tooltip id="prefs.overrideGpg.tooltip">
63
<description>&enigmail.prefs.overrideGpg.tooltip;</description>
65
<tooltip id="maxIdleMinutes.tooltip">
66
<description>&enigmail.maxIdleMinutes.tooltip;</description>
68
<tooltip id="userNoPassphrase.tooltip">
69
<description>&enigmail.userNoPassphrase.tooltip;</description>
71
<tooltip id="expertUser.tooltip">
72
<description>&enigmail.expertUser.tooltip;</description>
74
<tooltip id="basicUser.tooltip">
75
<description>&enigmail.basicUser.tooltip;</description>
77
<tooltip id="resetPrefs.tooltip">
78
<description>&enigmail.resetPrefs.tooltip;</description>
80
<tooltip id="encryptToSelf.tooltip">
81
<description>&enigmail.encryptToSelf.tooltip;</description>
83
<tooltip id="wrapHtmlBeforeSend.tooltip">
84
<description>&enigmail.wrapHtmlBeforeSend.tooltip;</description>
86
<tooltip id="alwaysTrustSend.tooltip">
87
<description>&enigmail.alwaysTrustSend.tooltip;</description>
89
<tooltip id="allowEmptySubject.tooltip">
90
<description>&enigmail.allowEmptySubject.tooltip;</description>
92
<tooltip id="confirmBeforeSend.tooltip">
93
<description>&enigmail.confirmBeforeSend.tooltip;</description>
95
<tooltip id="perRecipientRules.tooltip">
96
<description>&enigmail.perRecipientRules.tooltip;</description>
98
<tooltip id="perRecipientRulesAndEmail.tooltip">
99
<description>&enigmail.perRecipientRulesAndEmail.tooltip;</description>
101
<tooltip id="perEmailAddress.tooltip">
102
<description>&enigmail.perEmailAddress.tooltip;</description>
104
<tooltip id="askRecipientsAlways.tooltip">
105
<description>&enigmail.askRecipientsAlways.tooltip;</description>
107
<tooltip id="defineRules.tooltip">
108
<description>&enigmail.defineRules.tooltip;</description>
110
<tooltip id="keepCryptoSettingsForReply.tooltip">
111
<description>&enigmail.keepCryptoSettingsForReply.tooltip;</description>
114
<tooltip id="doubleDashSeparator.tooltip">
115
<description>&enigmail.doubleDashSeparator.tooltip;</description>
118
<tooltip id="useGpgAgent.tooltip">
119
<description>&enigmail.useGpgAgent.tooltip;</description>
122
<tooltip id="noHushMailSupport.tooltip">
123
<description>&enigmail.noHushMailSupport.tooltip;</description>
126
<tooltip id="mime_parts_on_demand.tooltip">
127
<description>&enigmail.mime_parts_on_demand.tooltip;</description>
130
<tooltip id="disableSMIMEui.tooltip">
131
<description>&enigmail.disableSMIMEui.tooltip;</description>
134
<tooltip id="agentAdditionalParam.tooltip">
135
<description>&enigmail.agentAdditionalParam.tooltip;</description>
138
<tooltip id="resetRememberedValues.tooltip">
139
<description>&enigmail.resetRememberedValues.tooltip;</description>
143
<tabbox flex="1" style="margin:5px" id="prefTabs">
144
<tabs id="prefTabBox">
145
<tab id="basicTab" label="&enigmail.basic.label;"/>
146
<tab id="sendTab" label="&enigmail.sending.label;" advanced="true"/>
147
<tab id="keySelTab" label="&enigmail.keySel.label;" advanced="true"/>
148
<tab id="advancedTab" label="&enigmail.advancedPrefsButton.label;" advanced="true"/>
149
<tab id="keyserverTab" label="&enigmail.keyserver.label;" advanced="true"/>
150
<tab id="debugTab" label="&enigmail.debug.label;" advanced="true"/>
153
<tabpanels flex="1" id="enigPrefTabPanel">
155
<vbox id="basic" flex="1">
156
<description class="enigmailPrefsTitle">&enigmail.basicPrefs.label;</description>
158
<groupbox orient="vertical" flex="1">
159
<caption label="&enigmail.prefs.pathsTitle.label;"/>
160
<hbox align="center">
161
<label id="enigmailGpgPath" value="(error)"/>
163
<hbox align="center">
164
<checkbox label="&enigmail.prefs.overrideGpg.label;"
165
tooltip="prefs.overrideGpg.tooltip"
167
oncommand="enigActivateDependent(this, 'enigmail_agentPath enigmail_browsePath');"/>
168
<textbox id="enigmail_agentPath" size="30" aria-labelledby="enigOverrideGpg"/>
169
<button id="enigmail_browsePath"
170
label="&enigmail.browse.label;"
171
oncommand="enigLocateGpg();"/>
176
<groupbox orient="vertical" flex="1">
177
<caption label="&enigmail.passwordSettings.label;"/>
178
<hbox autostretch="never" align="center">
179
<label control="enigmail_maxIdleMinutes"
180
tooltip="maxIdleMinutes.tooltip"
181
value="&enigmail.maxIdleMinutesHead.label;" id="maxIdleMinutesHeadLabel"/>
183
<textbox id="enigmail_maxIdleMinutes"
184
aria-labelledby="maxIdleMinutesHeadLabel enigmail_maxIdleMinutes maxIdleMinutesTailLabel"
191
tooltip="maxIdleMinutes.tooltip"
192
prefstring="extensions.enigmail.maxIdleMinutes"/>
194
<description tooltip="maxIdleMinutes.tooltip" id="maxIdleMinutesTailLabel">&enigmail.maxIdleMinutesTail.label;</description>
197
<checkbox id="enigmail_noPassphrase"
198
label="&enigmail.userNoPassphrase.label;"
199
tooltip="userNoPassphrase.tooltip"
202
prefstring="extensions.enigmail.noPassphrase"
203
prefattribute="checked"/>
210
<hbox autostretch="never" align="center">
211
<button id="enigmail_advancedUser"
212
label="&enigmail.expertUser.label;"
213
oncommand="enigSwitchAdvancedMode(true)"
214
tooltip="expertUser.tooltip"/>
216
<button id="enigmail_basicUser"
217
label="&enigmail.basicUser.label;"
218
oncommand="enigSwitchAdvancedMode(false)"
219
tooltip="basicUser.tooltip"
224
<vbox autostretch="never" align="end">
226
<button id="uninstall"
228
label="&enigmail.uninstallButton.label;"
229
oncommand="enigUninstall()"/>
230
<button id="resetPrefs"
231
label="&enigmail.resetPrefsButton.label;"
232
tooltip="resetPrefs.tooltip"
233
oncommand="resetPrefs();"/>
239
<!-- "Sending" Tab -->
240
<vbox id="sending" flex="1"
242
<description class="enigmailPrefsTitle">&enigmail.whenSending.label; ...</description>
244
<checkbox id="enigmail_encryptToSelf"
245
label="&enigmail.encryptToSelf.label;"
246
tooltip="encryptToSelf.tooltip"/>
248
<checkbox id="enigmail_wrapHtmlBeforeSend"
249
label="&enigmail.wrapHtmlBeforeSend.label;"
250
tooltip="wrapHtmlBeforeSend.tooltip"/>
252
<checkbox id="enigmail_alwaysTrustSend"
253
label="&enigmail.alwaysTrustSend.label;"
254
tooltip="alwaysTrustSend.tooltip"/>
256
<checkbox id="enigmail_allowEmptySubject"
259
<checkbox id="enigmail_confirmBeforeSend"
260
label="&enigmail.confirmBeforeSend.label;"
261
tooltip="confirmBeforeSend.tooltip"/>
264
<!-- "Key Selection" Tab -->
265
<vbox id="keySel" flex="1"
268
<caption label="&enigmail.recipientsSelectionOption.label;"/>
269
<radiogroup id="enigmail_recipientsSelection"
270
oncommand="activateRulesButton(this, 'openRulesEditor')"
273
prefstring="extensions.enigmail.recipientsSelection">
275
<radio id="perRecipientRules"
277
label="&enigmail.perRecipientRules.label;"
278
tooltip="perRecipientRules.tooltip"/>
280
<radio id="perRecipientRulesAndEmail"
282
label="&enigmail.perRecipientRulesAndEmail.label;"
283
tooltip="perRecipientRulesAndEmail.tooltip"/>
285
<radio id="perEmailAddress"
287
label="&enigmail.perEmailAddress.label;"
288
tooltip="perEmailAddress.tooltip"/>
290
<radio id="askRecipientsAlways"
292
label="&enigmail.askRecipientsAlways.label;"
293
tooltip="askRecipientsAlways.tooltip"/>
298
label="&enigmail.neverAsk.label;"
299
oncommand="enigAlertAskNever()"
300
tooltip="neverAsk.tooltip"/>
304
<vbox autostretch="always" align="end">
305
<button id="openRulesEditor"
306
label="&enigmail.defineRules.label;"
307
tooltip="defineRules.tooltip"
308
oncommand="EnigRulesEditor();"/>
314
<!-- "Advanced" Tab -->
315
<vbox id="advanced" flex="1"
317
<description class="enigmailPrefsTitle">&enigmail.moreOptions.label;</description>
320
<checkbox id="enigmail_keepSettingsForReply"
321
tooltip="keepCryptoSettingsForReply.tooltip"
322
label="&enigmail.keepCryptoSettingsForReply.label;" />
324
<checkbox id="enigmail_useDefaultComment"
326
label="&enigmail.useNonDefaultComment.label;" />
328
<checkbox id="enigmail_doubleDashSeparator"
329
tooltip="doubleDashSeparator.tooltip"
330
label="&enigmail.doubleDashSeparator.label;" />
332
<checkbox id="enigmail_useGpgAgent"
333
tooltip="useGpgAgent.tooltip"
334
label="&enigmail.useGpgAgent.label;" />
336
<checkbox id="enigmail_hushMailSupport"
338
tooltip="noHushMailSupport.tooltip"
339
label="&enigmail.noHushMailSupport.label;" />
341
<checkbox id="enigmail_disableSMIMEui"
342
tooltip="disableSMIMEui.tooltip"
343
label="&enigmail.disableSMIMEui.label;" />
345
<checkbox id="mime_parts_on_demand"
346
tooltip="mime_parts_on_demand.tooltip"
347
label="&enigmail.mime_parts_on_demand.label;" />
352
<hbox align="center">
353
<label control="enigmail_agentAdditionalParam"
354
tooltip="agentAdditionalParam.tooltip"
355
value="&enigmail.agentAdditionalParam.label;"/>
358
<textbox id="enigmail_agentAdditionalParam"
359
tooltip="agentAdditionalParam.tooltip"
367
<button id="resetRememberedValues"
368
label="&enigmail.resetRememberedValues.label;"
369
tooltip="resetRememberedValues.tooltip"
370
oncommand="resetRememberedValues();"/>
374
<!-- "Key Server" Tab -->
375
<vbox id="keyserver" flex="1"
378
<label control="enigmail_keyserver"
379
value="&enigmail.keyservers.label;:" />
380
<textbox id="enigmail_keyserver"/>
381
<label value="&enigmail.keyservers.sample;" style="font-style: italic;"/>
387
<label value="&enigmail.autoKeyRetrieve.label;" id="autoKeyRetrieveLabel1"/>
388
<label value="&enigmail.autoKeyRetrieve2.label;" id="autoKeyRetrieveLabel2"/>
389
<textbox id="enigmail_autoKeyRetrieve" size="35" aria-labelledby="autoKeyRetrieveLabel1 autoKeyRetrieveLabel2"/>
394
<!-- "Debugging" Tab -->
395
<vbox id="debug" flex="1"
397
<description class="enigmailPrefsTitle">&enigmail.debugMenu.label;</description>
406
<rows autostretch="never">
408
<hbox align="center">
409
<label control="enigmail_logDirectory"
410
value="&enigmail.logdirectory.label;" />
412
<textbox id="enigmail_logDirectory" />
415
<hbox align="center">
416
<label control="enigmail_test_email"
417
value="&enigmail.testemail.label;" />
419
<hbox autostretch="never">
420
<textbox id="enigmail_test_email"/>
422
<button class="dialog"
424
label="&enigmail.test.label;"
425
oncommand="EnigTest();"/>