3 # -*- Mode: Java; tab-width:
4; indent-tabs-mode: nil; c-basic-offset:
4 -*-
4 # ***** BEGIN LICENSE BLOCK *****
5 # Version: MPL
1.1/GPL
2.0/LGPL
2.1
7 # The contents of this file are subject to the Mozilla Public License Version
8 #
1.1 (the
"License"); you may not use this file except in compliance with
9 # the License. You may obtain a copy of the License at
10 # http://www.mozilla.org/MPL/
12 # Software distributed under the License is distributed on an
"AS IS" basis,
13 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14 # for the specific language governing rights and limitations under the
17 # The Original Code is the Firefox Preferences System.
19 # The Initial Developer of the Original Code is
20 # Jeff Walden
<jwalden+code@mit.edu
>.
21 # Portions created by the Initial Developer are Copyright (C)
2006
22 # the Initial Developer. All Rights Reserved.
26 # Alternatively, the contents of this file may be used under the terms of
27 # either the GNU General Public License Version
2 or later (the
"GPL"), or
28 # the GNU Lesser General Public License Version
2.1 or later (the
"LGPL"),
29 # in which case the provisions of the GPL or the LGPL are applicable instead
30 # of those above. If you wish to allow use of your version of this file only
31 # under the terms of either the GPL or the LGPL, and not to allow others to
32 # use your version of this file under the terms of the MPL, indicate your
33 # decision by deleting the provisions above and replace them with the notice
34 # and other provisions required by the GPL or the LGPL. If you do not delete
35 # the provisions above, a recipient may use your version of this file under
36 # the terms of any one of the MPL, the GPL or the LGPL.
38 # ***** END LICENSE BLOCK *****
41 <!ENTITY % brandDTD SYSTEM
"chrome://branding/locale/brand.dtd">
42 <!ENTITY % securityDTD SYSTEM
"chrome://browser/locale/preferences/security.dtd">
47 <overlay id=
"SecurityPaneOverlay"
48 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
50 <prefpane id=
"paneSecurity"
51 onpaneload=
"gSecurityPane.init();"
52 helpTopic=
"prefs-security">
54 <preferences id=
"securityPreferences">
56 <preference id=
"pref.privacy.disable_button.view_passwords"
57 name=
"pref.privacy.disable_button.view_passwords"
59 <preference id=
"pref.privacy.disable_button.view_passwords_exceptions"
60 name=
"pref.privacy.disable_button.view_passwords_exceptions"
63 <!-- Add-ons, malware, phishing -->
64 <preference id=
"xpinstall.whitelist.required"
65 name=
"xpinstall.whitelist.required"
67 <preference id=
"browser.safebrowsing.malware.enabled"
68 name=
"browser.safebrowsing.malware.enabled"
70 <preference id=
"browser.safebrowsing.enabled"
71 name=
"browser.safebrowsing.enabled"
75 <preference id=
"signon.rememberSignons" name=
"signon.rememberSignons" type=
"bool"/>
79 <script type=
"application/x-javascript" src=
"chrome://browser/content/preferences/security.js"/>
81 <stringbundle id=
"bundlePreferences" src=
"chrome://browser/locale/preferences/preferences.properties"/>
83 <!-- addons, forgery (phishing) UI -->
84 <groupbox id=
"addonsPhishingGroup"
85 xmlns:
aaa=
"http://www.w3.org/2005/07/aaa">
86 <hbox id=
"addonInstallBox">
87 <checkbox id=
"warnAddonInstall" flex=
"1"
88 label=
"&warnAddonInstall.label;"
89 accesskey=
"&warnAddonInstall.accesskey;"
90 preference=
"xpinstall.whitelist.required"
91 onsyncfrompreference=
"return gSecurityPane.readWarnAddonInstall();"/>
92 <button id=
"addonExceptions"
93 label=
"&addonExceptions.label;"
94 accesskey=
"&addonExceptions.accesskey;"
95 oncommand=
"gSecurityPane.showAddonExceptions();"/>
98 <separator class=
"thin"/>
99 <checkbox id=
"blockAttackSites"
100 label=
"&blockAttackSites.label;"
101 accesskey=
"&blockAttackSites.accesskey;"
102 preference=
"browser.safebrowsing.malware.enabled" />
103 <checkbox id=
"blockWebForgeries"
104 label=
"&blockWebForgeries.label;"
105 accesskey=
"&blockWebForgeries.accesskey;"
106 preference=
"browser.safebrowsing.enabled" />
110 <groupbox id=
"passwordsGroup" orient=
"vertical">
111 <caption label=
"&passwords.label;"/>
113 <hbox id=
"savePasswordsBox">
114 <checkbox id=
"savePasswords" flex=
"1"
115 label=
"&rememberPasswords.label;" accesskey=
"&rememberPasswords.accesskey;"
116 preference=
"signon.rememberSignons"
117 onsyncfrompreference=
"return gSecurityPane.readSavePasswords();"/>
118 <button id=
"passwordExceptions"
119 label=
"&passwordExceptions.label;"
120 accesskey=
"&passwordExceptions.accesskey;"
121 oncommand=
"gSecurityPane.showPasswordExceptions();"
122 preference=
"pref.privacy.disable_button.view_passwords_exceptions"/>
124 <hbox id=
"masterPasswordBox">
125 <checkbox id=
"useMasterPassword" flex=
"1"
126 oncommand=
"gSecurityPane.updateMasterPasswordButton();"
127 label=
"&useMasterPassword.label;"
128 accesskey=
"&useMasterPassword.accesskey;"/>
129 <button id=
"changeMasterPassword"
130 label=
"&changeMasterPassword.label;"
131 accesskey=
"&changeMasterPassword.accesskey;"
132 oncommand=
"gSecurityPane.changeMasterPassword();"/>
135 <hbox id=
"showPasswordsBox">
137 <button id=
"showPasswords"
138 label=
"&savedPasswords.label;" accesskey=
"&savedPasswords.accesskey;"
139 oncommand=
"gSecurityPane.showPasswords();"
140 preference=
"pref.privacy.disable_button.view_passwords"/>
144 <!-- Warning Messages -->
145 <hbox class=
"bottomBox">
146 <groupbox id=
"warningMessagesGroup" orient=
"horizontal" flex=
"1"
148 <caption label=
"&warnings.label;"/>
150 <description control=
"warningSettings" flex=
"1">&chooseWarnings.label;
</description>
151 <button id=
"warningSettings"
152 label=
"&warningSettings.label;"
153 accesskey=
"&warningSettings.accesskey;"
154 oncommand=
"gSecurityPane.showWarningMessageSettings();"/>