|
1 <?xml version="1.0"?> |
|
2 |
|
3 <!-- -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- --> |
|
4 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
5 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
6 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
7 |
|
8 <!DOCTYPE overlay [ |
|
9 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> |
|
10 <!ENTITY % securityDTD SYSTEM "chrome://browser/locale/preferences/security.dtd"> |
|
11 %brandDTD; |
|
12 %securityDTD; |
|
13 ]> |
|
14 |
|
15 <overlay id="SecurityPaneOverlay" |
|
16 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
|
17 |
|
18 <prefpane id="paneSecurity" |
|
19 onpaneload="gSecurityPane.init();" |
|
20 helpTopic="prefs-security"> |
|
21 |
|
22 <preferences id="securityPreferences"> |
|
23 <!-- XXX buttons --> |
|
24 <preference id="pref.privacy.disable_button.view_passwords" |
|
25 name="pref.privacy.disable_button.view_passwords" |
|
26 type="bool"/> |
|
27 <preference id="pref.privacy.disable_button.view_passwords_exceptions" |
|
28 name="pref.privacy.disable_button.view_passwords_exceptions" |
|
29 type="bool"/> |
|
30 |
|
31 <!-- Add-ons, malware, phishing --> |
|
32 <preference id="xpinstall.whitelist.required" |
|
33 name="xpinstall.whitelist.required" |
|
34 type="bool"/> |
|
35 <preference id="browser.safebrowsing.malware.enabled" |
|
36 name="browser.safebrowsing.malware.enabled" |
|
37 type="bool"/> |
|
38 <preference id="browser.safebrowsing.enabled" |
|
39 name="browser.safebrowsing.enabled" |
|
40 type="bool"/> |
|
41 |
|
42 <!-- Passwords --> |
|
43 <preference id="signon.rememberSignons" name="signon.rememberSignons" type="bool"/> |
|
44 |
|
45 </preferences> |
|
46 |
|
47 <script type="application/javascript" src="chrome://browser/content/preferences/security.js"/> |
|
48 |
|
49 <stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/> |
|
50 |
|
51 <!-- addons, forgery (phishing) UI --> |
|
52 <groupbox id="addonsPhishingGroup"> |
|
53 <hbox id="addonInstallBox"> |
|
54 <checkbox id="warnAddonInstall" flex="1" |
|
55 label="&warnAddonInstall.label;" |
|
56 accesskey="&warnAddonInstall.accesskey;" |
|
57 preference="xpinstall.whitelist.required" |
|
58 onsyncfrompreference="return gSecurityPane.readWarnAddonInstall();"/> |
|
59 <button id="addonExceptions" |
|
60 label="&addonExceptions.label;" |
|
61 accesskey="&addonExceptions.accesskey;" |
|
62 oncommand="gSecurityPane.showAddonExceptions();"/> |
|
63 </hbox> |
|
64 |
|
65 <separator class="thin"/> |
|
66 <checkbox id="blockAttackSites" |
|
67 label="&blockAttackSites.label;" |
|
68 accesskey="&blockAttackSites.accesskey;" |
|
69 preference="browser.safebrowsing.malware.enabled" /> |
|
70 <checkbox id="blockWebForgeries" |
|
71 label="&blockWebForgeries.label;" |
|
72 accesskey="&blockWebForgeries.accesskey;" |
|
73 preference="browser.safebrowsing.enabled" /> |
|
74 </groupbox> |
|
75 |
|
76 <!-- Passwords --> |
|
77 <groupbox id="passwordsGroup" orient="vertical"> |
|
78 <caption label="&passwords.label;"/> |
|
79 |
|
80 <hbox id="savePasswordsBox"> |
|
81 <checkbox id="savePasswords" flex="1" |
|
82 label="&rememberPasswords.label;" accesskey="&rememberPasswords.accesskey;" |
|
83 preference="signon.rememberSignons" |
|
84 onsyncfrompreference="return gSecurityPane.readSavePasswords();"/> |
|
85 <button id="passwordExceptions" |
|
86 label="&passwordExceptions.label;" |
|
87 accesskey="&passwordExceptions.accesskey;" |
|
88 oncommand="gSecurityPane.showPasswordExceptions();" |
|
89 preference="pref.privacy.disable_button.view_passwords_exceptions"/> |
|
90 </hbox> |
|
91 <hbox id="masterPasswordBox"> |
|
92 <checkbox id="useMasterPassword" flex="1" |
|
93 oncommand="gSecurityPane.updateMasterPasswordButton();" |
|
94 label="&useMasterPassword.label;" |
|
95 accesskey="&useMasterPassword.accesskey;"/> |
|
96 <button id="changeMasterPassword" |
|
97 label="&changeMasterPassword.label;" |
|
98 accesskey="&changeMasterPassword.accesskey;" |
|
99 oncommand="gSecurityPane.changeMasterPassword();"/> |
|
100 </hbox> |
|
101 |
|
102 <hbox id="showPasswordsBox"> |
|
103 <spacer flex="1"/> |
|
104 <button id="showPasswords" |
|
105 label="&savedPasswords.label;" accesskey="&savedPasswords.accesskey;" |
|
106 oncommand="gSecurityPane.showPasswords();" |
|
107 preference="pref.privacy.disable_button.view_passwords"/> |
|
108 </hbox> |
|
109 </groupbox> |
|
110 |
|
111 </prefpane> |
|
112 |
|
113 </overlay> |