1999-06-04 23:28:56 +00:00
|
|
|
<?xml version="1.0"?>
|
2006-05-17 02:38:30 +00:00
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
|
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
|
|
|
|
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/
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
|
|
March 31, 1998.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is
|
|
|
|
Netscape Communications Corporation.
|
|
|
|
Portions created by the Initial Developer are Copyright (C) 1998-1999
|
|
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
Diego Biurrun <diego@biurrun.de>
|
|
|
|
|
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
|
|
either of 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.
|
|
|
|
|
|
|
|
***** END LICENSE BLOCK ***** -->
|
2006-05-17 02:24:52 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2006-05-17 02:22:45 +00:00
|
|
|
|
2006-05-17 02:35:16 +00:00
|
|
|
<!DOCTYPE page [
|
2006-05-17 02:39:32 +00:00
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
2006-05-17 02:32:18 +00:00
|
|
|
%brandDTD;
|
|
|
|
<!ENTITY % prefCacheDTD SYSTEM "chrome://communicator/locale/pref/pref-cache.dtd" >
|
|
|
|
%prefCacheDTD;
|
|
|
|
]>
|
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-17 02:31:51 +00:00
|
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-cache.xul');"
|
2006-05-17 02:39:53 +00:00
|
|
|
headertitle="&pref.cache.title;">
|
1999-06-04 23:28:56 +00:00
|
|
|
|
2006-05-17 02:28:42 +00:00
|
|
|
<script type="application/x-javascript">
|
2006-05-17 02:24:52 +00:00
|
|
|
<![CDATA[
|
2006-05-17 02:35:27 +00:00
|
|
|
var _elementIDs = ["browserCacheDiskCache", "browserCacheCheckDocFrequency", "enablePrefetch"];
|
2006-05-17 02:35:41 +00:00
|
|
|
function GetFields(pageData) {
|
|
|
|
// because the cache is in kilobytes, and the UI is in megabytes.
|
|
|
|
pageData.browserCacheDiskCache.value <<= 10;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
function SetFields(pageData) {
|
|
|
|
pageData.browserCacheDiskCache.value >>= 10;
|
|
|
|
return true;
|
|
|
|
}
|
2006-05-17 02:24:52 +00:00
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
2006-05-17 02:28:44 +00:00
|
|
|
<stringbundle id="bundle_prefutilities"
|
|
|
|
src="chrome://communicator/locale/pref/prefutilities.properties"/>
|
2006-05-17 02:28:42 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-cache.js"/>
|
1999-06-04 23:28:56 +00:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<groupbox>
|
2006-05-17 02:39:53 +00:00
|
|
|
<caption label="&pref.cache.caption;"/>
|
2006-05-17 02:24:57 +00:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<description>&cachePara;</description>
|
2006-05-17 02:24:09 +00:00
|
|
|
|
2006-05-17 02:35:28 +00:00
|
|
|
<hbox align="center">
|
2006-05-17 02:35:27 +00:00
|
|
|
<label value="&diskCache.label;" accesskey="&diskCache.accesskey;" control="browserCacheDiskCache"/>
|
2006-05-17 02:35:41 +00:00
|
|
|
<textbox id="browserCacheDiskCache" size="5" preftype="int"
|
2006-05-17 02:35:27 +00:00
|
|
|
prefstring="browser.cache.disk.capacity" prefattribute="value"/>
|
2006-05-17 02:35:41 +00:00
|
|
|
<label value="&mbytes;"/>
|
2006-05-17 02:35:27 +00:00
|
|
|
<button label="&clearDiskCache.label;" accesskey="&clearDiskCache.accesskey;"
|
|
|
|
oncommand="prefClearDiskAndMemCache();"
|
|
|
|
id="clearDiskCache"
|
|
|
|
prefstring="pref.advanced.cache.disable_button.clear_disk"/>
|
|
|
|
</hbox>
|
2006-05-17 02:24:52 +00:00
|
|
|
|
2006-05-17 02:35:27 +00:00
|
|
|
<vbox>
|
2006-05-17 02:35:26 +00:00
|
|
|
<label value="&diskCacheFolder.label;"/>
|
2006-05-17 02:35:28 +00:00
|
|
|
<hbox align="center">
|
2006-05-17 02:35:27 +00:00
|
|
|
<textbox id="browserCacheDiskCacheFolder" flex="1" readonly="true" class="uri-element"/>
|
|
|
|
<button label="&chooseDiskCacheFolder.label;" accesskey="&chooseDiskCacheFolder.accesskey;"
|
2006-05-17 02:35:26 +00:00
|
|
|
oncommand="prefCacheSelectFolder();" id="chooseDiskCacheFolder"/>
|
2006-05-17 02:35:27 +00:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2006-05-17 02:35:26 +00:00
|
|
|
<description>&diskCacheFolderExplanation;</description>
|
|
|
|
|
2006-05-17 02:26:00 +00:00
|
|
|
<separator class="thin"/>
|
2006-05-17 02:24:52 +00:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-05-17 02:31:28 +00:00
|
|
|
<description>&docCache;</description>
|
2006-05-17 02:35:27 +00:00
|
|
|
<hbox align="start">
|
|
|
|
<radiogroup id="browserCacheCheckDocFrequency" orient="horizontal" prefstring="browser.cache.check_doc_frequency">
|
|
|
|
<vbox flex="1">
|
|
|
|
<radio value="1" label="&everyTimeRadio.label;" accesskey="&everyTimeRadio.accesskey;"/>
|
|
|
|
<radio value="3" label="&autoRadio.label;" accesskey="&autoRadio.accesskey;"/>
|
|
|
|
</vbox>
|
|
|
|
<vbox flex="1">
|
|
|
|
<radio value="0" label="&oncePsessionRadio.label;" accesskey="&oncePsessionRadio.accesskey;"/>
|
|
|
|
<radio value="2" label="&neverRadio.label;" accesskey="&neverRadio.accesskey;"/>
|
|
|
|
</vbox>
|
2006-05-17 02:25:59 +00:00
|
|
|
</radiogroup>
|
2006-05-17 02:35:27 +00:00
|
|
|
</hbox>
|
|
|
|
|
|
|
|
</groupbox>
|
2006-05-17 02:24:09 +00:00
|
|
|
|
2006-05-17 02:35:27 +00:00
|
|
|
<groupbox id="prefetch">
|
|
|
|
<caption id="prefetchLabel" label="&prefetchTitle.label;"/>
|
|
|
|
<vbox id="prefetchBox" align="start">
|
|
|
|
<checkbox id="enablePrefetch" label="&enablePrefetch.label;" accesskey="&enablePrefetch.accesskey;"
|
|
|
|
prefstring="network.prefetch-next" />
|
|
|
|
<!-- <vbox class="indent" flex="1">
|
|
|
|
<description>&prefetchDesc.label;</description>
|
|
|
|
</vbox> -->
|
|
|
|
</vbox>
|
2006-05-17 02:30:33 +00:00
|
|
|
</groupbox>
|
2006-05-17 02:31:26 +00:00
|
|
|
</page>
|