home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
- <?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
- <?xml-stylesheet href="chrome://browser/skin/pref/pref.css" type="text/css"?>
-
- <!DOCTYPE window [
- <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
- %brandDTD;
- <!ENTITY % prefPrivacyDTD SYSTEM "chrome://browser/locale/pref/pref-privacy.dtd" >
- %prefPrivacyDTD;
- ]>
-
- <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- onload="parent.initPanel('chrome://browser/content/pref/pref-privacy.xul');"
- onunload="unload();" headertitle="&lHeader;">
-
- <!-- MERC - Brad Lewis - have separated start up & other functions of pref-privacy.js into pref-privacyStart
- so I can import it into browser.js
- -->
- <script type="application/x-javascript" src="chrome://browser/content/pref/pref-privacy.js"/>
- <script type="application/x-javascript" src="chrome://browser/content/search.js"/>
- <script type="application/x-javascript" src="chrome://mozapps/content/autofill/datacardUtils.js"/>
- <script type="application/x-javascript" src="chrome://browser/content/pref/pref-privacy-utils.js"/>
- <!-- END MERC - Brad Lewis - -->
-
- <stringbundle id="privacyBundle" src="chrome://browser/locale/pref/prefutilities.properties"/>
-
- <broadcaster id="cookieBroadcaster"/>
-
- <description>&privacyDescription.label;</description>
-
- <hbox>
- <vbox flex="3">
- <checkbox id="toggleAnonMode"
- crop="end"
- label="&anonMode.label;"
- prefstring="privacy.anonMode.enabled"
- oncommand="anonmodeToggle(this.checked);"/>
- <description style="margin-left: 30px;">Clears all browse information when you close the browser.</description>
- </vbox>
- <separator orient="vertical" class="groove" style="width: 2px;"/>
- <button label="&clearAll.label;" flex="1" oncommand="PrivacyPanel.clearAll(true);"/>
- </hbox>
-
- <vbox id="privacyCategories" class="listBox settingsBox" flex="1" style="overflow: auto;"
- oncommand="if (event.originalTarget.getAttribute('anonid') == 'disclosure') unexpandOld(event);"
- onclick="if (event.originalTarget.getAttribute('anonid') == 'label') unexpandOld(event);">
- <!-- History -->
- <expander id="history" label="&history.label;" clearlabel="&clearHistory.label;" onclear="clearHistory();"
- open="true" persist="open">
- <hbox align="center">
- <label value="&pageHis.label;" accesskey="&pageHis.accesskey;" control="histDay"/>
- <textbox id="histDay" size="3"
- preftype="int" prefstring="browser.history_expire_days"/>
- <label value="&days.label;"/>
- </hbox>
- <checkbox id="historyClearOnExit"
- label="Clear Page History on browser exit"
- prefstring="privacy.history.clear_on_exit"/>
- </expander>
-
- <!-- Search History -->
- <expander id="search" label="&search.label;" clearlabel="&clearSearchHistory.label;" persist="open">
- <description>&searchHistoryDescription.label;</description>
- <checkbox id="searchClearOnExit"
- label="Clear Search History on browser exit"
- prefstring="privacy.search.clear_on_exit"/>
- </expander>
-
-
- <!-- Automatic Form Fill -->
- <expander id="formfill" label="&formfill.label;" clearlabel="&clearFormfill.label;" persist="open">
- <description>&formfillDescription.label.clear;</description>
- <description>&formfillDescription.label;</description>
- <!-- checkbox id="enableFormFill" label="&formfillEnable.label;" accesskey="&formfillEnable.accesskey;"
- prefstring="browser.formfill.enable"/ -->
- </expander>
-
- <!-- Passwords -->
- <expander id="passwords" label="&passwords.label;" clearlabel="&clearPasswords.label;" persist="open">
- <description>&passwordsDescription.clear.label;</description>
- <separator orient="horizontal" class="thin"/>
- <hbox flex="1">
- <vbox flex="1">
- <description>&passwordsDescription.label;</description>
- <!-- MERC JVL <checkbox id="enablePasswords" label="&passwordsEnable.label;" accesskey="&passwordsEnable.accesskey;"
- prefstring="signon.rememberSignons"/>
- -->
- </vbox>
- <vbox>
- <button label="&viewPasswords.label;" oncommand="viewSignons();"/>
- <button id="masterPasswordBtn" label="" oncommand="changeMasterPassword();"/>
- </vbox>
- </hbox>
- </expander>
-
- <!-- Downloaded Files List -->
- <expander id="downloads" label="&downloads.label;" clearlabel="&clearDownloads.label;" persist="open">
- <description>&downloadsDescription.label;</description>
-
- <hbox align="center" id="downloadsRetentionBox">
- <description>&downloadsRetentionPolicy.label;</description>
- </hbox>
- <checkbox id="downloadsClearOnExit"
- label="Clear Download Manager History on browser exit"
- prefstring="privacy.downloads.clear_on_exit"/>
- </expander>
-
- <!-- Cookies -->
- <expander id="cookies" label="&cookies.label;" clearlabel="&clearCookies.label;" persist="open">
- <vbox flex="1">
- <description>&cookieExplanation.label;</description>
- <separator class="thin"/>
- <hbox>
- <vbox flex="1">
- <data id="cookieBehavior" prefstring="network.cookie.cookieBehavior" preftype="int"/>
- <!--checkbox id="enableCookies"
- oncommand="updateCookieBehavior();updateCookieBroadcaster();"
- label="&enableCookies.label;" accesskey="&enableCookies.accesskey;"/-->
- <!--checkbox id="enableCookiesForOriginatingSiteOnly" observes="cookieBroadcaster"
- label="&forOriginatingSiteOnly.label;" accesskey="&forOriginatingSiteOnly.accesskey;"
- style="margin-left: 23px;" oncommand="updateCookieBehavior();"/-->
- <separator class="thin"/>
- <hbox align="center">
- <description>&cookieRetention.label;</description>
- <menulist id="networkCookieLifetime"
- prefstring="network.cookie.lifetimePolicy">
- <menupopup>
- <menuitem value="0" label="&acceptNormally.label;"/>
- <menuitem value="2" label="&acceptForSession.label;"/>
- <menuitem value="1" label="&askAboutCookies.label;"/>
- </menupopup>
- </menulist>
- </hbox>
- </vbox>
- <vbox>
- <hbox pack="end">
- <button label="&exceptions.label;" hidden="true" oncommand="viewCookieExceptions();"/>
- <button label="&viewCookies.label;" oncommand="viewCookies();"/>
- </hbox>
- </vbox>
- </hbox>
- </vbox>
- </expander>
-
- <!-- Cache -->
- <expander id="cache" label="&cache.label;" clearlabel="&clearCache.label;" persist="open">
- <label value="&cacheExplanation.label;"/>
- <separator class="thin"/>
- <hbox align="center">
- <label value="&diskCache.label;" accesskey="&diskCache.accesskey;" control="browserCacheDiskCache"/>
- <textbox id="browserCacheDiskCache" size="8" preftype="int"
- prefstring="browser.cache.disk.capacity"/>
- <label value="&kbytes;"/>
- </hbox>
- <checkbox id="cacheClearOnExit"
- label="Clear Cache on browser exit"
- prefstring="privacy.cache.clear_on_exit"/>
- </expander>
- </vbox>
-
-
- <menulist id="downloadsRetentionPolicy" hidden="true"
- preftype="int" prefstring="browser.download.manager.retention" prefdefval="0">
- <menupopup>
- <menuitem value="0" label="&downloadsRemoveImmediately.label;"/>
- <menuitem value="1" label="&downloadsRemoveExit.label;"/>
- <menuitem value="2" label="&downloadsRemoveManually.label;"/>
- </menupopup>
- </menulist>
-
- </page>
-
-