mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
100 lines
4.0 KiB
XML
100 lines
4.0 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
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):
|
|
-->
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-cache.dtd" >
|
|
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
|
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');">
|
|
|
|
<script language="JavaScript">
|
|
<![CDATA[
|
|
_elementIDs = ["browserCacheMemoryCache", "browserCacheDiskCache", "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>
|
|
|
|
<box class="box-smallheader" title="&lHeader;"/>
|
|
|
|
<titledbox orient="vertical">
|
|
<title><text value="&cacheTitle.label;"/></title>
|
|
|
|
<html>&cachePara;</html>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<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>
|
|
<button class="dialog" value="&clearMemCache.label;" accesskey="&clearMemCache.accesskey;"
|
|
oncommand="prefClearMemCache();"/>
|
|
</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>
|
|
<button class="dialog" value="&clearDiskCache.label;" accesskey="&clearDiskCache.accesskey;"
|
|
oncommand="prefClearDiskCache();"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<html>&docCache;</html>
|
|
<box orient="vertical" autostretch="never" class="indent">
|
|
<radiogroup id="browserCacheCheckDocFrequency" orient="vertical" autostretch="never"
|
|
pref="true" preftype="int" prefstring="browser.cache.check_doc_frequency"
|
|
prefattribute="data">
|
|
<radio group="browserCacheCheckDocFrequency" data="0" value="&oncePsessionRadio.label;" accesskey="&oncePsessionRadio.accesskey;"/>
|
|
<radio group="browserCacheCheckDocFrequency" data="1" value="&everyTimeRadio.label;" accesskey="&everyTimeRadio.accesskey;"/>
|
|
<radio group="browserCacheCheckDocFrequency" data="2" value="&neverRadio.label;" accesskey="&neverRadio.accesskey;"/>
|
|
</radiogroup>
|
|
</box>
|
|
|
|
</titledbox>
|
|
|
|
</window>
|
|
|