2008-07-22 16:21:15 +04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
# -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
|
|
|
# The Original Code is the Thunderbird Preferences System.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Scott MacGregor.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2005
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
# Scott MacGregor <mscott@mozilla.org
|
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
|
|
|
<!DOCTYPE overlay [
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
2009-03-11 22:55:40 +03:00
|
|
|
<!ENTITY % securityDTD SYSTEM "chrome://messenger/locale/preferences/security.dtd">
|
2008-07-22 16:21:15 +04:00
|
|
|
%brandDTD;
|
2009-03-11 22:55:40 +03:00
|
|
|
%securityDTD;
|
2008-07-22 16:21:15 +04:00
|
|
|
]>
|
|
|
|
|
2009-03-11 22:55:40 +03:00
|
|
|
<overlay id="SecurityPaneOverlay"
|
2008-07-22 16:21:15 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
2009-03-11 22:55:40 +03:00
|
|
|
<prefpane id="paneSecurity" onpaneload="gSecurityPane.init();">
|
2009-12-25 21:17:01 +03:00
|
|
|
<script type="application/javascript" src="chrome://messenger/content/preferences/security.js"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
<stringbundle id="bundlePreferences" src="chrome://messenger/locale/preferences/preferences.properties"/>
|
|
|
|
|
2009-06-06 20:47:26 +04:00
|
|
|
<preferences id="securityPreferences">
|
2009-03-11 22:55:40 +03:00
|
|
|
<preference id="mail.preferences.security.selectedTabIndex"
|
|
|
|
name="mail.preferences.security.selectedTabIndex" type="int"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<preference id="mail.spam.manualMark"
|
|
|
|
name="mail.spam.manualMark"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="mail.spam.manualMarkMode"
|
|
|
|
name="mail.spam.manualMarkMode"
|
|
|
|
type="int"/>
|
|
|
|
<preference id="mail.spam.markAsReadOnSpam"
|
|
|
|
name="mail.spam.markAsReadOnSpam"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="mail.spam.logging.enabled"
|
|
|
|
name="mail.spam.logging.enabled"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="mail.phishing.detection.enabled"
|
|
|
|
name="mail.phishing.detection.enabled"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="browser.safebrowsing.enabled"
|
|
|
|
name="browser.safebrowsing.enabled"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="mailnews.downloadToTempFile"
|
|
|
|
name="mailnews.downloadToTempFile"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="pref.privacy.disable_button.view_passwords"
|
|
|
|
name="pref.privacy.disable_button.view_passwords"
|
|
|
|
type="bool"/>
|
2009-09-09 23:35:54 +04:00
|
|
|
<!-- Cookies -->
|
|
|
|
<preference id="pref.privacy.disable_button.cookie_exceptions"
|
|
|
|
name="pref.privacy.disable_button.cookie_exceptions"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="pref.privacy.disable_button.view_cookies"
|
|
|
|
name="pref.privacy.disable_button.view_cookies"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="network.cookie.cookieBehavior"
|
|
|
|
name="network.cookie.cookieBehavior"
|
|
|
|
type="int"/>
|
|
|
|
<preference id="network.cookie.lifetimePolicy"
|
|
|
|
name="network.cookie.lifetimePolicy"
|
|
|
|
type="int"/>
|
|
|
|
<preference id="network.cookie.blockFutureCookies"
|
|
|
|
name="network.cookie.blockFutureCookies"
|
|
|
|
type="bool"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</preferences>
|
|
|
|
|
2009-03-11 22:55:40 +03:00
|
|
|
<tabbox id="securityPrefs" flex="1" onselect="gSecurityPane.tabSelectionChanged();">
|
2008-07-22 16:21:15 +04:00
|
|
|
<tabs>
|
|
|
|
<tab label="&itemJunk.label;"/>
|
|
|
|
<tab label="&itemPhishing.label;"/>
|
|
|
|
<tab label="&itemAntiVirus.label;"/>
|
|
|
|
<tab label="&itemPasswords.label;"/>
|
2009-09-09 23:35:54 +04:00
|
|
|
<tab label="&itemCookies.label;"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</tabs>
|
|
|
|
|
|
|
|
<tabpanels flex="1">
|
|
|
|
<tabpanel orient="vertical">
|
|
|
|
<description>&junkMail.intro;</description>
|
|
|
|
<separator class="thin"/>
|
|
|
|
|
|
|
|
<checkbox id="manualMark"
|
|
|
|
preference="mail.spam.manualMark"
|
2009-03-11 22:55:40 +03:00
|
|
|
oncommand="gSecurityPane.updateManualMarkMode(this.checked);"
|
2008-07-22 16:21:15 +04:00
|
|
|
label="&manualMark.label;" accesskey="&manualMark.accesskey;"/>
|
|
|
|
|
|
|
|
<radiogroup id="manualMarkMode" class="indent"
|
|
|
|
preference="mail.spam.manualMarkMode" aria-labelledby="manualMark">
|
|
|
|
<radio id="manualMarkMode0" value="0" label="&manualMarkModeMove.label;" accesskey="&manualMarkModeMove.accesskey;"/>
|
|
|
|
<radio id="manualMarkMode1" value="1" label="&manualMarkModeDelete.label;" accesskey="&manualMarkModeDelete.accesskey;"/>
|
|
|
|
</radiogroup>
|
|
|
|
|
|
|
|
<checkbox id="markAsReadOnSpam" label="&markAsReadOnSpam.label;"
|
|
|
|
accesskey="&markAsReadOnSpam.accesskey;"
|
|
|
|
preference="mail.spam.markAsReadOnSpam"/>
|
|
|
|
|
|
|
|
<hbox align="start">
|
|
|
|
<checkbox id="enableJunkLogging" label="&enableJunkLogging.label;"
|
2009-03-11 22:55:40 +03:00
|
|
|
oncommand="gSecurityPane.updateJunkLogButton(this.checked);"
|
2008-07-22 16:21:15 +04:00
|
|
|
preference="mail.spam.logging.enabled"
|
|
|
|
accesskey="&enableJunkLogging.accesskey;"/>
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<button id="openJunkLogButton" label="&openJunkLog.label;" accesskey="&openJunkLog.accesskey;"
|
2009-03-11 22:55:40 +03:00
|
|
|
oncommand="gSecurityPane.openJunkLog();"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</hbox>
|
|
|
|
<hbox align="start">
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<button label="&resetTrainingData.label;" accesskey="&resetTrainingData.accesskey;"
|
2009-03-11 22:55:40 +03:00
|
|
|
oncommand="gSecurityPane.resetTrainingData()"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</hbox>
|
|
|
|
</tabpanel>
|
|
|
|
|
|
|
|
<!-- Phishing Detector -->
|
|
|
|
<tabpanel orient="vertical">
|
|
|
|
<description>&phishingDetector1.intro;</description>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<checkbox id="enablePhishingDetector"
|
|
|
|
label="&enablePhishingDetector1.label;" accesskey="&enablePhishingDetector1.accesskey;"
|
|
|
|
preference="mail.phishing.detection.enabled"/>
|
|
|
|
<!--
|
|
|
|
<checkbox id="useDownloadedList" class="indent" label="&useDownloadedList.label;"
|
|
|
|
accesskey="&useDownloadedList.accesskey;"
|
|
|
|
preference="browser.safebrowsing.enabled"/>
|
|
|
|
-->
|
|
|
|
</tabpanel>
|
|
|
|
|
|
|
|
<!-- Anti Virus -->
|
|
|
|
<tabpanel orient="vertical">
|
|
|
|
<description>&antiVirus.intro;</description>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<checkbox id="enableAntiVirusQuaruntine"
|
|
|
|
label="&antiVirus.label;" accesskey="&antiVirus.accesskey;"
|
|
|
|
preference="mailnews.downloadToTempFile"/>
|
|
|
|
|
|
|
|
</tabpanel>
|
|
|
|
|
|
|
|
<!-- Password -->
|
|
|
|
|
|
|
|
<tabpanel orient="vertical">
|
|
|
|
<description>&savedPasswords.intro;</description>
|
|
|
|
<hbox>
|
2009-01-15 20:55:32 +03:00
|
|
|
<spacer flex="1"/>
|
|
|
|
<button label="&savedPasswords.label;" accesskey="&savedPasswords.accesskey;"
|
2009-03-11 22:55:40 +03:00
|
|
|
oncommand="gSecurityPane.showPasswords();"
|
2008-07-22 16:21:15 +04:00
|
|
|
preference="pref.privacy.disable_button.view_passwords"/>
|
|
|
|
</hbox>
|
2009-01-15 20:55:32 +03:00
|
|
|
<!-- XXX button to do a showExceptions()? -->
|
|
|
|
|
|
|
|
<separator class="thin"/>
|
|
|
|
|
2009-11-30 12:36:03 +03:00
|
|
|
<description>&masterPassword.intro;</description>
|
2009-01-15 20:55:32 +03:00
|
|
|
<hbox>
|
|
|
|
<checkbox id="useMasterPassword" flex="1"
|
|
|
|
label="&useMasterPassword.label;" accesskey="&useMasterPassword.accesskey;"
|
2009-03-11 22:55:40 +03:00
|
|
|
oncommand="gSecurityPane.updateMasterPasswordButton();"/>
|
2009-01-15 20:55:32 +03:00
|
|
|
|
|
|
|
<button id="changeMasterPassword"
|
|
|
|
label="&changeMasterPassword.label;" accesskey="&changeMasterPassword.accesskey;"
|
2009-03-11 22:55:40 +03:00
|
|
|
oncommand="gSecurityPane.changeMasterPassword();"/>
|
2009-01-15 20:55:32 +03:00
|
|
|
</hbox>
|
|
|
|
<separator flex="1"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</tabpanel>
|
2009-09-09 23:35:54 +04:00
|
|
|
|
|
|
|
<!-- Cookies -->
|
|
|
|
<tabpanel orient="vertical">
|
|
|
|
<description>&cookies.intro;</description>
|
|
|
|
<separator class="thin"/>
|
|
|
|
|
|
|
|
<hbox id="cookiesBox">
|
|
|
|
<checkbox id="acceptCookies" label="&acceptCookies.label;" flex="1"
|
|
|
|
preference="network.cookie.cookieBehavior"
|
|
|
|
accesskey="&acceptCookies.accesskey;"
|
|
|
|
onsyncfrompreference="return gSecurityPane.readAcceptCookies();"
|
|
|
|
onsynctopreference="return gSecurityPane.writeAcceptCookies();"/>
|
|
|
|
<button id="cookieExceptions" oncommand="gSecurityPane.showCookieExceptions();"
|
|
|
|
label="&cookieExceptions.label;" accesskey="&cookieExceptions.accesskey;"
|
|
|
|
preference="pref.privacy.disable_button.cookie_exceptions"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox id="keepRow" class="indent">
|
|
|
|
<hbox id="keepBox" align="center">
|
|
|
|
<label id="keepUntil"
|
|
|
|
control="keepCookiesUntil"
|
|
|
|
accesskey="&keepUntil.accesskey;">&keepUntil.label;</label>
|
|
|
|
<menulist id="keepCookiesUntil"
|
|
|
|
preference="network.cookie.lifetimePolicy">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&expire.label;" value="0"/>
|
|
|
|
<menuitem label="&close.label;" value="2"/>
|
|
|
|
<menuitem label="&askEachTime.label;" value="1"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
|
|
|
<hbox flex="1"/>
|
|
|
|
<button id="showCookiesButton" label="&showCookies.label;"
|
|
|
|
accesskey="&showCookies.accesskey;"
|
|
|
|
oncommand="gSecurityPane.showCookies();"
|
|
|
|
preference="pref.privacy.disable_button.view_cookies"/>
|
|
|
|
</hbox>
|
|
|
|
</tabpanel>
|
2008-07-22 16:21:15 +04:00
|
|
|
</tabpanels>
|
|
|
|
</tabbox>
|
|
|
|
|
|
|
|
<separator/>
|
|
|
|
|
|
|
|
</prefpane>
|
|
|
|
</overlay>
|