blob: 63638544c58a80a1ca0165941dd68c773e85c239 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE overlay SYSTEM "chrome://communicator/locale/pref/pref-history.dtd" >
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<prefpane id="history_pane"
label="&pref.history.title;"
script="chrome://communicator/content/pref/pref-history.js">
<preferences id="history_preferences">
<preference id="places.history.enabled"
name="places.history.enabled"
type="bool"/>
<preference id="pref.browser.history.disable_button.clear_hist"
name="pref.browser.history.disable_button.clear_hist"
type="bool"/>
<preference id="pref.browser.history.disable_button.clear_urlbar"
name="pref.browser.history.disable_button.clear_urlbar"
type="bool"/>
<preference id="browser.urlbar.historyEnabled"
name="browser.urlbar.historyEnabled"
type="bool"/>
<preference id="general.open_location.last_url"
name="general.open_location.last_url"
type="string"/>
<preference id="browser.formfill.enable"
name="browser.formfill.enable"
type="bool"/>
<preference id="browser.formfill.expire_days"
name="browser.formfill.expire_days"
type="int"/>
</preferences>
<groupbox>
<caption label="&pref.history.caption;"/>
<hbox align="center">
<description flex="1">&historyPages.label;</description>
<hbox align="center"
pack="end">
<button label="&clearHistory.label;"
accesskey="&clearHistory.accesskey;"
oncommand="prefClearGlobalHistory();"
id="browserClearHistory"
preference="pref.browser.history.disable_button.clear_hist"/>
</hbox>
</hbox>
<checkbox id="histEnable"
label="&enableHistory.label;"
accesskey="&enableHistory.accesskey;"
preference="places.history.enabled"/>
</groupbox>
<!-- no honey, I haven't been viewing porn, honest! -->
<groupbox>
<caption label="&locationBarHistory.caption;"/>
<hbox align="center">
<vbox pack="end">
<checkbox id="urlbarHistoryEnabled"
label="&urlBarHistoryEnabled.caption;"
accesskey="&urlBarHistoryEnabled.accesskey;"
preference="browser.urlbar.historyEnabled"
oncommand="prefUrlBarHistoryToggle(this.checked);"/>
<hbox align="center"
pack="end">
<description flex="1">&clearLocationBar.label;</description>
<button id="ClearUrlBarHistoryButton"
label="&clearLocationBarButton.label;"
accesskey="&clearLocationBarButton.accesskey;"
oncommand="prefClearUrlbarHistory(this); this.disabled = true;"
preference="pref.browser.history.disable_button.clear_urlbar"/>
</hbox>
</vbox>
</hbox>
</groupbox>
<!-- form history -->
<groupbox>
<caption label="&formfillHistory.caption;"/>
<checkbox id="formfillEnable"
label="&enableFormfill.label;"
accesskey="&enableFormfill.accesskey;"
preference="browser.formfill.enable"/>
<hbox align="center">
<label value="&formfillExpire.label;"
accesskey="&formfillExpire.accesskey;"
control="formfillDay"/>
<textbox id="formfillDay"
type="number"
size="4"
preference="browser.formfill.expire_days"/>
<label value="&formfillDays.label;"/>
</hbox>
</groupbox>
</prefpane>
</overlay>
|