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