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://communicator/skin/" type="text/css"?>
40
<?xml-stylesheet href="chrome://enigmail/skin/enigmail.css" type="text/css"?>
43
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
45
<!ENTITY % enigMailDTD SYSTEM "chrome://enigmail/locale/enigmail.dtd" >
48
<page id="enigmailPrefs"
49
headertitle="&enigmail.openpgp.label;"
50
xmlns:html="http://www.w3.org/1999/xhtml"
51
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
54
onunload="prefSeamonkeyOnClose();"
55
onload="initPrefSeamonkey();">
57
<script type="application/x-javascript" src="chrome://enigmail/content/enigmailCommon.js"/>
58
<script type="application/x-javascript" src="chrome://enigmail/content/pref-enigmail-seamonkey.js"/>
59
<script type="application/x-javascript" src="chrome://enigmail/content/pref-enigmail.js"/>
61
<script type="application/x-javascript">
63
// List of persisted elements (required to save prefs)
66
"enigmail_noPassphrase",
67
"enigmail_maxIdleMinutes",
68
"enigmail_advancedUser"
74
<tooltip id="neverAsk.tooltip">
75
<description>&enigmail.neverAsk.tooltip;</description>
77
<tooltip id="prefs.overrideGpg.tooltip">
78
<description>&enigmail.prefs.overrideGpg.tooltip;</description>
80
<tooltip id="maxIdleMinutes.tooltip">
81
<description>&enigmail.maxIdleMinutes.tooltip;</description>
83
<tooltip id="userNoPassphrase.tooltip">
84
<description>&enigmail.userNoPassphrase.tooltip;</description>
86
<tooltip id="expertUser.tooltip">
87
<description>&enigmail.expertUser.tooltip;</description>
89
<tooltip id="resetPrefs.tooltip">
90
<description>&enigmail.resetPrefs.tooltip;</description>
95
<groupbox orient="vertical" flex="1">
96
<caption label="&enigmail.prefs.pathsTitle.label;"/>
98
<label id="enigmailGpgPath" value="(error)"/>
100
<hbox align="center">
101
<checkbox label="&enigmail.prefs.overrideGpg.label;"
102
tooltip="prefs.overrideGpg.tooltip"
104
oncommand="enigActivateDependent(this, 'enigmail_agentPath enigmail_browsePath');"/>
105
<textbox id="enigmail_agentPath" aria-labelledby="enigOverrideGpg"
109
prefstring="extensions.enigmail.agentPath"/>
110
<button id="enigmail_browsePath"
111
label="&enigmail.browse.label;"
112
oncommand="enigLocateGpg();"/>
117
<groupbox orient="vertical" flex="1">
118
<caption label="&enigmail.passwordSettings.label;"/>
119
<hbox autostretch="never" align="center">
120
<label control="enigmail_maxIdleMinutes"
121
tooltip="maxIdleMinutes.tooltip"
122
value="&enigmail.maxIdleMinutesHead.label;" id="maxIdleMinutesHeadLabel"/>
124
<textbox id="enigmail_maxIdleMinutes" aria-labelledby="maxIdleMinutesHeadLabel enigmail_maxIdleMinutes maxIdleMinutesTailLabel"
129
tooltip="maxIdleMinutes.tooltip"
130
prefstring="extensions.enigmail.maxIdleMinutes"/>
132
<description tooltip="maxIdleMinutes.tooltip" id="maxIdleMinutesTailLabel">&enigmail.maxIdleMinutesTail.label;</description>
135
<checkbox id="enigmail_noPassphrase"
136
label="&enigmail.userNoPassphrase.label;"
137
tooltip="userNoPassphrase.tooltip"
140
prefstring="extensions.enigmail.noPassphrase"
141
prefattribute="checked"/>
148
<hbox autostretch="never" align="center">
149
<hbox autostretch="never" align="center">
150
<button id="enigmail_advancedUser"
151
label="&enigmail.expertUser.label;"
152
oncommand="enigSwitchAdvancedMode(true)"
153
tooltip="expertUser.tooltip"/>
155
<button id="enigmail_basicUser"
156
label="&enigmail.basicUser.label;"
157
oncommand="enigSwitchAdvancedMode(false)"
158
tooltip="basicUser.tooltip"
164
<vbox autostretch="never" align="end">
165
<hbox id="enigmailPrefsBox">
166
<button class="dialog"
168
label="&enigmail.advancedPrefsButton.label; ..."
170
oncommand="EnigPrefWindow(false,'seamonkey')"/>
171
<button id="uninstall"
173
label="&enigmail.uninstallButton.label;"
174
oncommand="enigUninstall()"/>
175
<button id="resetPrefs"
176
label="&enigmail.resetPrefsButton.label;"
177
tooltip="resetPrefs.tooltip"
178
oncommand="resetPrefs();"/>