2005-02-25 12:07:58 +03:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2005-09-13 22:40:56 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
2005-02-25 12:07:58 +03:00
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# 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/
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# 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.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# The Original Code is the Firefox Sanitizer.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Ben Goodger.
|
2005-02-25 12:07:58 +03:00
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2005
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# Contributor(s):
|
|
|
|
# Ben Goodger <ben@mozilla.org>
|
2005-08-23 20:38:28 +04:00
|
|
|
# Giorgio Maone <g.maone@informaction.com>
|
2008-11-06 06:57:00 +03:00
|
|
|
# Johnathan Nightingale <johnath@mozilla.com>
|
2009-04-15 21:59:07 +04:00
|
|
|
# Drew Willcoxon <adw@mozilla.com>
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# 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.
|
2005-09-13 22:40:56 +04:00
|
|
|
#
|
2005-02-25 12:07:58 +03:00
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/"?>
|
2009-04-15 21:59:07 +04:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/sanitizeDialog.css"?>
|
|
|
|
|
|
|
|
#ifdef CRH_DIALOG_TREE_VIEW
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://browser/content/sanitizeDialog.css"?>
|
2005-02-25 12:07:58 +03:00
|
|
|
|
2005-02-27 09:39:44 +03:00
|
|
|
<!DOCTYPE prefwindow [
|
2005-03-10 21:44:11 +03:00
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
2005-02-25 12:07:58 +03:00
|
|
|
<!ENTITY % sanitizeDTD SYSTEM "chrome://browser/locale/sanitize.dtd">
|
|
|
|
%brandDTD;
|
|
|
|
%sanitizeDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<prefwindow id="SanitizeDialog" type="child"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
dlgbuttons="accept,cancel"
|
2008-11-06 06:57:00 +03:00
|
|
|
title="&sanitizeDialog2.title;"
|
2009-04-15 21:59:07 +04:00
|
|
|
noneverythingtitle="&sanitizeDialog2.title;"
|
2009-03-20 08:30:29 +03:00
|
|
|
style="width: &dialog.width;;"
|
2005-02-25 12:07:58 +03:00
|
|
|
ondialogaccept="gSanitizePromptDialog.sanitize();">
|
|
|
|
|
2005-08-05 10:27:30 +04:00
|
|
|
<prefpane id="SanitizeDialogPane" onpaneload="gSanitizePromptDialog.init();">
|
2009-04-15 21:59:07 +04:00
|
|
|
<stringbundle id="bundleBrowser"
|
|
|
|
src="chrome://browser/locale/browser.properties"/>
|
2008-05-05 23:54:29 +04:00
|
|
|
|
2009-04-15 21:59:07 +04:00
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://browser/content/sanitize.js"/>
|
2008-05-06 22:52:09 +04:00
|
|
|
|
2009-04-15 21:59:07 +04:00
|
|
|
#ifdef CRH_DIALOG_TREE_VIEW
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://global/content/globalOverlay.js"/>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://browser/content/places/treeView.js"/>
|
2010-04-17 14:07:19 +04:00
|
|
|
<script type="application/javascript"><![CDATA[
|
2010-04-26 23:04:17 +04:00
|
|
|
Components.utils.import("resource://gre/modules/PlacesUtils.jsm");
|
2010-04-18 18:06:01 +04:00
|
|
|
Components.utils.import("resource:///modules/PlacesUIUtils.jsm");
|
2010-04-17 14:07:19 +04:00
|
|
|
]]></script>
|
2009-04-15 21:59:07 +04:00
|
|
|
#endif
|
2008-05-06 22:52:09 +04:00
|
|
|
|
2009-04-15 21:59:07 +04:00
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://browser/content/sanitizeDialog.js"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
|
|
|
|
<preferences id="sanitizePreferences">
|
2008-11-06 06:57:00 +03:00
|
|
|
<preference id="privacy.cpd.history" name="privacy.cpd.history" type="bool"/>
|
|
|
|
<preference id="privacy.cpd.formdata" name="privacy.cpd.formdata" type="bool"/>
|
2009-05-14 02:42:07 +04:00
|
|
|
<preference id="privacy.cpd.downloads" name="privacy.cpd.downloads" type="bool" disabled="true"/>
|
2008-11-06 06:57:00 +03:00
|
|
|
<preference id="privacy.cpd.cookies" name="privacy.cpd.cookies" type="bool"/>
|
|
|
|
<preference id="privacy.cpd.cache" name="privacy.cpd.cache" type="bool"/>
|
|
|
|
<preference id="privacy.cpd.sessions" name="privacy.cpd.sessions" type="bool"/>
|
2009-01-20 18:59:49 +03:00
|
|
|
<preference id="privacy.cpd.siteSettings" name="privacy.cpd.siteSettings" type="bool"/>
|
2008-11-06 06:57:00 +03:00
|
|
|
</preferences>
|
|
|
|
|
|
|
|
<preferences id="nonItemPreferences">
|
|
|
|
<preference id="privacy.sanitize.timeSpan"
|
|
|
|
name="privacy.sanitize.timeSpan"
|
|
|
|
type="int"/>
|
2005-02-25 12:07:58 +03:00
|
|
|
</preferences>
|
|
|
|
|
2009-04-15 21:59:07 +04:00
|
|
|
<hbox id="SanitizeDurationBox" align="center">
|
|
|
|
<label value="&clearTimeDuration.label;"
|
|
|
|
accesskey="&clearTimeDuration.accesskey;"
|
|
|
|
control="sanitizeDurationChoice"
|
|
|
|
id="sanitizeDurationLabel"/>
|
|
|
|
<menulist id="sanitizeDurationChoice"
|
|
|
|
preference="privacy.sanitize.timeSpan"
|
|
|
|
onselect="gSanitizePromptDialog.selectByTimespan();"
|
|
|
|
flex="1">
|
|
|
|
<menupopup id="sanitizeDurationPopup">
|
|
|
|
#ifdef CRH_DIALOG_TREE_VIEW
|
|
|
|
<menuitem label="" value="-1" id="sanitizeDurationCustom"/>
|
|
|
|
#endif
|
|
|
|
<menuitem label="&clearTimeDuration.lastHour;" value="1"/>
|
|
|
|
<menuitem label="&clearTimeDuration.last2Hours;" value="2"/>
|
|
|
|
<menuitem label="&clearTimeDuration.last4Hours;" value="3"/>
|
|
|
|
<menuitem label="&clearTimeDuration.today;" value="4"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem label="&clearTimeDuration.everything;" value="0"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
<label id="sanitizeDurationSuffixLabel"
|
|
|
|
value="&clearTimeDuration.suffix;"/>
|
|
|
|
</hbox>
|
|
|
|
|
2009-05-15 11:24:33 +04:00
|
|
|
<separator class="thin"/>
|
|
|
|
|
2009-04-15 21:59:07 +04:00
|
|
|
#ifdef CRH_DIALOG_TREE_VIEW
|
|
|
|
<deck id="durationDeck">
|
|
|
|
<tree id="placesTree" flex="1" hidecolumnpicker="true" rows="10"
|
|
|
|
disabled="true" disableKeyNavigation="true">
|
|
|
|
<treecols>
|
|
|
|
<treecol id="date" label="&clearTimeDuration.dateColumn;" flex="1"/>
|
|
|
|
<splitter class="tree-splitter"/>
|
|
|
|
<treecol id="title" label="&clearTimeDuration.nameColumn;" flex="5"/>
|
|
|
|
</treecols>
|
|
|
|
<treechildren id="placesTreechildren"
|
|
|
|
ondragstart="gSanitizePromptDialog.grippyMoved('ondragstart', event);"
|
|
|
|
ondragover="gSanitizePromptDialog.grippyMoved('ondragover', event);"
|
|
|
|
onkeypress="gSanitizePromptDialog.grippyMoved('onkeypress', event);"
|
|
|
|
onmousedown="gSanitizePromptDialog.grippyMoved('onmousedown', event);"/>
|
|
|
|
</tree>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
<vbox id="sanitizeEverythingWarningBox">
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<hbox align="center">
|
|
|
|
<image id="sanitizeEverythingWarningIcon"/>
|
2009-05-15 11:24:33 +04:00
|
|
|
<vbox id="sanitizeEverythingWarningDescBox" flex="1">
|
2009-04-15 21:59:07 +04:00
|
|
|
<description id="sanitizeEverythingWarning"/>
|
|
|
|
<description id="sanitizeEverythingUndoWarning">&sanitizeEverythingUndoWarning;</description>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
<spacer flex="1"/>
|
2008-11-06 06:57:00 +03:00
|
|
|
</vbox>
|
2009-04-15 21:59:07 +04:00
|
|
|
|
|
|
|
#ifdef CRH_DIALOG_TREE_VIEW
|
|
|
|
</deck>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
<separator class="thin"/>
|
|
|
|
|
|
|
|
<hbox id="detailsExpanderWrapper" align="center">
|
|
|
|
<button type="image"
|
|
|
|
id="detailsExpander"
|
|
|
|
class="expander-down"
|
2009-05-15 20:42:08 +04:00
|
|
|
persist="class"
|
2009-04-15 21:59:07 +04:00
|
|
|
oncommand="gSanitizePromptDialog.toggleItemList();"/>
|
|
|
|
<label id="detailsExpanderLabel"
|
|
|
|
value="&detailsProgressiveDisclosure.label;"
|
|
|
|
accesskey="&detailsProgressiveDisclosure.accesskey;"
|
|
|
|
control="detailsExpander"/>
|
|
|
|
</hbox>
|
2010-05-18 17:37:43 +04:00
|
|
|
<listbox id="itemList" rows="6" collapsed="true" persist="collapsed">
|
2009-05-14 02:42:07 +04:00
|
|
|
<listitem label="&itemHistoryAndDownloads.label;"
|
2009-04-15 21:59:07 +04:00
|
|
|
type="checkbox"
|
|
|
|
accesskey="&itemHistoryAndDownloads.accesskey;"
|
2009-05-14 02:42:07 +04:00
|
|
|
preference="privacy.cpd.history"
|
|
|
|
onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/>
|
2009-04-15 21:59:07 +04:00
|
|
|
<listitem label="&itemFormSearchHistory.label;"
|
|
|
|
type="checkbox"
|
|
|
|
accesskey="&itemFormSearchHistory.accesskey;"
|
|
|
|
preference="privacy.cpd.formdata"
|
|
|
|
onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/>
|
|
|
|
<listitem label="&itemCookies.label;"
|
|
|
|
type="checkbox"
|
|
|
|
accesskey="&itemCookies.accesskey;"
|
|
|
|
preference="privacy.cpd.cookies"
|
|
|
|
onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/>
|
|
|
|
<listitem label="&itemCache.label;"
|
|
|
|
type="checkbox"
|
|
|
|
accesskey="&itemCache.accesskey;"
|
|
|
|
preference="privacy.cpd.cache"
|
|
|
|
onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/>
|
|
|
|
<listitem label="&itemActiveLogins.label;"
|
|
|
|
type="checkbox"
|
|
|
|
accesskey="&itemActiveLogins.accesskey;"
|
|
|
|
preference="privacy.cpd.sessions"
|
|
|
|
onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/>
|
|
|
|
<listitem label="&itemSitePreferences.label;"
|
|
|
|
type="checkbox"
|
|
|
|
accesskey="&itemSitePreferences.accesskey;"
|
|
|
|
preference="privacy.cpd.siteSettings"
|
|
|
|
noduration="true"
|
|
|
|
onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/>
|
|
|
|
</listbox>
|
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
</prefpane>
|
|
|
|
</prefwindow>
|