Source code

Revision control

Other Tools

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
<?xml-stylesheet href="chrome://global/skin/"?>
10
<?xml-stylesheet href="chrome://browser/skin/sanitizeDialog.css"?>
11
12
13
<?xml-stylesheet href="chrome://browser/content/sanitizeDialog.css"?>
14
15
<!DOCTYPE dialog>
16
17
<dialog id="SanitizeDialog" type="child"
20
buttons="accept,cancel"
21
persist="lastSelected screenX screenY"
22
role="dialog"
23
data-l10n-id="dialog-title"
24
data-l10n-attrs="style"
25
onload="gSanitizePromptDialog.init();">
26
27
<linkset>
28
<html:link rel="localization" href="browser/sanitize.ftl"/>
29
</linkset>
30
33
34
<hbox id="SanitizeDurationBox" align="center">
35
<label data-l10n-id="clear-time-duration-prefix"
36
control="sanitizeDurationChoice"
37
id="sanitizeDurationLabel"/>
38
<menulist id="sanitizeDurationChoice"
39
preference="privacy.sanitize.timeSpan"
40
onselect="gSanitizePromptDialog.selectByTimespan();"
41
flex="1">
42
<menupopup id="sanitizeDurationPopup">
43
<menuitem data-l10n-id="clear-time-duration-value-last-hour" value="1"/>
44
<menuitem data-l10n-id="clear-time-duration-value-last-2-hours" value="2"/>
45
<menuitem data-l10n-id="clear-time-duration-value-last-4-hours" value="3"/>
46
<menuitem data-l10n-id="clear-time-duration-value-today" value="4"/>
47
<menuseparator/>
48
<menuitem data-l10n-id="clear-time-duration-value-everything" value="0"/>
49
</menupopup>
50
</menulist>
51
<label id="sanitizeDurationSuffixLabel"
52
data-l10n-id="clear-time-duration-suffix"/>
53
</hbox>
54
55
<separator class="thin"/>
56
57
<vbox id="sanitizeEverythingWarningBox">
58
<spacer flex="1"/>
59
<hbox align="center">
60
<image id="sanitizeEverythingWarningIcon"/>
61
<vbox id="sanitizeEverythingWarningDescBox" flex="1">
62
<description id="sanitizeEverythingWarning"/>
63
<description id="sanitizeEverythingUndoWarning" data-l10n-id="sanitize-everything-undo-warning"></description>
64
</vbox>
65
</hbox>
66
<spacer flex="1"/>
67
</vbox>
68
69
<separator class="thin"/>
70
71
<groupbox>
72
<label><html:h2 data-l10n-id="history-section-label"/></label>
73
<hbox>
74
<vbox data-l10n-id="sanitize-prefs-style" data-l10n-attrs="style">
75
<checkbox data-l10n-id="item-history-and-downloads"
76
preference="privacy.cpd.history"/>
77
<checkbox data-l10n-id="item-active-logins"
78
preference="privacy.cpd.sessions"/>
79
<checkbox data-l10n-id="item-form-search-history"
80
preference="privacy.cpd.formdata"/>
81
</vbox>
82
<vbox flex="1">
83
<checkbox data-l10n-id="item-cookies"
84
preference="privacy.cpd.cookies"/>
85
<checkbox data-l10n-id="item-cache"
86
preference="privacy.cpd.cache"/>
87
</vbox>
88
</hbox>
89
</groupbox>
90
<groupbox>
91
<label><html:h2 data-l10n-id="data-section-label"/></label>
92
<hbox>
93
<vbox data-l10n-id="sanitize-prefs-style" data-l10n-attrs="style">
94
<checkbox data-l10n-id="item-site-preferences"
95
preference="privacy.cpd.siteSettings"/>
96
</vbox>
97
<vbox flex="1">
98
<checkbox data-l10n-id="item-offline-apps"
99
preference="privacy.cpd.offlineApps"/>
100
</vbox>
101
</hbox>
102
</groupbox>
103
</dialog>