gecko-dev/suite/common/pref/pref-cache.xul

102 lines
4.3 KiB
Plaintext
Raw Normal View History

1999-06-04 23:28:56 +00:00
<?xml version="1.0"?>
1999-08-10 02:48:56 +00:00
<!--
The contents of this file are subject to the Netscape 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/NPL/
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 Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
-->
2006-05-17 02:24:52 +00:00
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
2006-05-17 02:24:35 +00:00
<?xml-stylesheet href="chrome://communicator/skin/pref/pref.css" type="text/css"?>
2006-05-17 02:24:27 +00:00
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
2006-05-17 02:24:35 +00:00
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-cache.dtd" >
2006-05-17 02:24:52 +00:00
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="color-dialog"
orient="vertical" title="&title.label;"
onload="parent.initPanel('chrome://communicator/content/pref/pref-cache.xul');">
1999-06-04 23:28:56 +00:00
2006-05-17 02:24:52 +00:00
<script language="JavaScript">
<![CDATA[
_elementIDs = ["browserCacheMemoryCache", "browserCacheDiskCache", "browserCacheDirectory", "browserCacheCheckDocFrequency"];
]]>
</script>
<script language="javascript" src="chrome://global/content/strres.js"></script>
<script language="javascript" src="chrome://communicator/content/pref/prefutilities.js"></script>
<script language="javascript" src="chrome://communicator/content/pref/pref-cache.js"></script>
1999-06-04 23:28:56 +00:00
2006-05-17 02:24:52 +00:00
<box class="box-smallheader" title="&lHeader;" description="&rHeader;"/>
1999-06-04 23:28:56 +00:00
2006-05-17 02:24:09 +00:00
<titledbox orient="vertical">
2006-05-17 02:24:52 +00:00
<html>&cachePara;</html>
2006-05-17 02:24:09 +00:00
2006-05-17 02:24:52 +00:00
<separator/>
<grid>
<columns>
<column/>
<column flex="1"/>
<column/>
</columns>
<rows>
<row>
<text class="label" value="&memCache.label;" accesskey="&memCache.accesskey;" for="browserCacheMemoryCache"/>
<box autostretch="never">
<textfield id="browserCacheMemoryCache" size="5" pref="true" preftype="int"
prefstring="browser.cache.memory_cache_size" prefattribute="value"/>
<text class="label" value="&kbyes;"/>
</box>
2006-05-17 02:24:52 +00:00
<button class="dialog" value="&clearMemCache.label;" accesskey="&clearMemCache.accesskey;"/>
</row>
<row>
<text class="label" value="&diskCache.label;" accesskey="&diskCache.accesskey;" for="browserCacheDiskCache"/>
<box autostretch="never">
<textfield id="browserCacheDiskCache" size="5" pref="true" preftype="int"
prefstring="browser.cache.disk_cache_size" prefattribute="value"/>
<text class="label" value="&kbyes;"/>
</box>
2006-05-17 02:24:52 +00:00
<button class="dialog" value="&clearDiskCache.label;" accesskey="&clearDiskCache.accesskey;"/>
</row>
<row>
<text class="label" value="&diskCacheFolder.label;" accesskey="&diskCacheFolder.accesskey;" for="browserCacheDirectory"/>
<textfield id="browserCacheDirectory" flex="1" pref="true" preftype="string"
prefstring="browser.cache.directory" prefattribute="value"/>
<button class="dialog" value="&chooseFolder.label;" accesskey="&chooseFolder.accesskey;"
oncommand="prefCacheSelectFolder();"/>
</row>
</rows>
</grid>
<separator/>
<html>&docCache;</html>
2006-05-17 02:24:09 +00:00
2006-05-17 02:24:52 +00:00
<radiogroup id="browserCacheCheckDocFrequency" orient="vertical" autostretch="never"
pref="true" preftype="int" prefstring="browser.cache.check_doc_frequency"
prefattribute="data">
<radio data="0" value="&oncePsessionRadio.label;" accesskey="&oncePsessionRadio.accesskey;"/>
<radio data="1" value="&everyTimeRadio.label;" accesskey="&everyTimeRadio.accesskey;"/>
<radio data="2" value="&neverRadio.label;" accesskey="&neverRadio.accesskey;"/>
</radiogroup>
</titledbox>
</window>
1999-06-04 23:28:56 +00:00