browser/components/preferences/sanitize.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/components/preferences/sanitize.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,104 @@
     1.4 +<?xml version="1.0"?>
     1.5 +
     1.6 +<!-- -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- -->
     1.7 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.8 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.9 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
    1.10 +
    1.11 +<?xml-stylesheet href="chrome://global/skin/"?>
    1.12 +<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css" type="text/css"?> 
    1.13 +
    1.14 +<!DOCTYPE dialog [
    1.15 +  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
    1.16 +  <!ENTITY % sanitizeDTD SYSTEM "chrome://browser/locale/sanitize.dtd">
    1.17 +  %brandDTD;
    1.18 +  %sanitizeDTD;
    1.19 +]>
    1.20 +
    1.21 +<prefwindow id="SanitizeDialog" type="child"
    1.22 +            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.23 +            dlgbuttons="accept,cancel,help"
    1.24 +            ondialoghelp="openPrefsHelp()"
    1.25 +            style="width: &dialog.width2;;"
    1.26 +            title="&sanitizePrefs2.title;"
    1.27 +            onload="gSanitizeDialog.onClearHistoryChanged();">
    1.28 +
    1.29 +  <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
    1.30 +  <script type="application/javascript" src="chrome://browser/content/preferences/sanitize.js"/>
    1.31 +
    1.32 +  <prefpane id="SanitizeDialogPane"
    1.33 +            helpTopic="prefs-clear-private-data">
    1.34 +
    1.35 +    <preferences>
    1.36 +      <preference id="privacy.clearOnShutdown.history"               name="privacy.clearOnShutdown.history"               type="bool"
    1.37 +                  onchange="return gSanitizeDialog.onClearHistoryChanged();"/>
    1.38 +      <preference id="privacy.clearOnShutdown.formdata"              name="privacy.clearOnShutdown.formdata"              type="bool"/>
    1.39 +      <preference id="privacy.clearOnShutdown.passwords"             name="privacy.clearOnShutdown.passwords"             type="bool"/>
    1.40 +      <preference id="privacy.clearOnShutdown.downloads"             name="privacy.clearOnShutdown.downloads"             type="bool"/>
    1.41 +      <preference id="privacy.clearOnShutdown.cookies"               name="privacy.clearOnShutdown.cookies"               type="bool"/>
    1.42 +      <preference id="privacy.clearOnShutdown.cache"                 name="privacy.clearOnShutdown.cache"                 type="bool"/>
    1.43 +      <preference id="privacy.clearOnShutdown.offlineApps"           name="privacy.clearOnShutdown.offlineApps"           type="bool"/>
    1.44 +      <preference id="privacy.clearOnShutdown.sessions"              name="privacy.clearOnShutdown.sessions"              type="bool"/>
    1.45 +      <preference id="privacy.clearOnShutdown.siteSettings"          name="privacy.clearOnShutdown.siteSettings"          type="bool"/>
    1.46 +    </preferences>
    1.47 +
    1.48 +    <description>&clearDataSettings2.label;</description>
    1.49 +
    1.50 +    <groupbox orient="horizontal">
    1.51 +      <caption label="&historySection.label;"/>
    1.52 +      <grid flex="1">
    1.53 +        <columns>
    1.54 +          <column style="width: &column.width2;"/>
    1.55 +          <column flex="1"/>
    1.56 +        </columns>
    1.57 +        <rows>
    1.58 +          <row>
    1.59 +            <checkbox label="&itemHistoryAndDownloads.label;"
    1.60 +                      accesskey="&itemHistoryAndDownloads.accesskey;"
    1.61 +                      preference="privacy.clearOnShutdown.history"/>
    1.62 +            <checkbox label="&itemCookies.label;"
    1.63 +                      accesskey="&itemCookies.accesskey;"
    1.64 +                      preference="privacy.clearOnShutdown.cookies"/>
    1.65 +          </row>
    1.66 +          <row>
    1.67 +            <checkbox label="&itemActiveLogins.label;"
    1.68 +                      accesskey="&itemActiveLogins.accesskey;"
    1.69 +                      preference="privacy.clearOnShutdown.sessions"/>
    1.70 +            <checkbox label="&itemCache.label;"
    1.71 +                      accesskey="&itemCache.accesskey;"
    1.72 +                      preference="privacy.clearOnShutdown.cache"/>
    1.73 +          </row>
    1.74 +          <row>
    1.75 +            <checkbox label="&itemFormSearchHistory.label;"
    1.76 +                      accesskey="&itemFormSearchHistory.accesskey;"
    1.77 +                      preference="privacy.clearOnShutdown.formdata"/>
    1.78 +          </row>
    1.79 +        </rows>
    1.80 +      </grid>
    1.81 +    </groupbox>
    1.82 +    <groupbox orient="horizontal">
    1.83 +      <caption label="&dataSection.label;"/>
    1.84 +      <grid flex="1">
    1.85 +        <columns>
    1.86 +          <column style="width: &column.width2;"/>
    1.87 +          <column flex="1"/>
    1.88 +        </columns>
    1.89 +        <rows>
    1.90 +          <row>
    1.91 +            <checkbox label="&itemPasswords.label;"
    1.92 +                      accesskey="&itemPasswords.accesskey;"
    1.93 +                      preference="privacy.clearOnShutdown.passwords"/>
    1.94 +            <checkbox label="&itemOfflineApps.label;"
    1.95 +                      accesskey="&itemOfflineApps.accesskey;"
    1.96 +                      preference="privacy.clearOnShutdown.offlineApps"/>
    1.97 +          </row>
    1.98 +          <row>
    1.99 +            <checkbox label="&itemSitePreferences.label;"
   1.100 +                      accesskey="&itemSitePreferences.accesskey;"
   1.101 +                      preference="privacy.clearOnShutdown.siteSettings"/>
   1.102 +          </row>
   1.103 +        </rows>
   1.104 +      </grid>
   1.105 +    </groupbox>
   1.106 +  </prefpane>
   1.107 +</prefwindow>

mercurial