home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / communicator / pref / pref-cache.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  4KB  |  103 lines

  1. <?xml version="1.0"?> 
  2. <!--
  3.    The contents of this file are subject to the Netscape Public
  4.    License Version 1.1 (the "License"); you may not use this file
  5.    except in compliance with the License. You may obtain a copy of
  6.    the License at http://www.mozilla.org/NPL/
  7.     
  8.    Software distributed under the License is distributed on an "AS
  9.    IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    implied. See the License for the specific language governing
  11.    rights and limitations under the License.
  12.     
  13.    The Original Code is Mozilla Communicator client code, released
  14.    March 31, 1998.
  15.    
  16.    The Initial Developer of the Original Code is Netscape
  17.    Communications Corporation. Portions created by Netscape are
  18.    Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19.    Rights Reserved.
  20.    
  21.    Contributor(s): 
  22.         Diego Biurrun   <diego@biurrun.de>
  23.                 - added disk cache folder choice
  24.   -->
  25. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  26.  
  27. <!DOCTYPE page [
  28. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  29. %brandDTD;
  30. <!ENTITY % prefCacheDTD SYSTEM "chrome://communicator/locale/pref/pref-cache.dtd" >
  31. %prefCacheDTD;
  32. ]>
  33.  
  34. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  35.       onload="parent.initPanel('chrome://communicator/content/pref/pref-cache.xul');"
  36.       headertitle="&lHeader;">
  37.  
  38.   <script type="application/x-javascript">
  39.   <![CDATA[
  40.     var _elementIDs = ["browserCacheDiskCache", "browserCacheCheckDocFrequency", "enablePrefetch"];
  41.   ]]>
  42.   </script>
  43.   
  44.   <stringbundle id="bundle_prefutilities"
  45.                 src="chrome://communicator/locale/pref/prefutilities.properties"/>
  46.   <script type="application/x-javascript" src="chrome://communicator/content/pref/pref-cache.js"/>
  47.  
  48.   <groupbox>
  49.     <caption label="&cacheTitle.label;"/>
  50.     
  51.     <description>&cachePara;</description>
  52.  
  53.     <hbox align="center">
  54.       <label value="&diskCache.label;" accesskey="&diskCache.accesskey;" control="browserCacheDiskCache"/>
  55.       <textbox id="browserCacheDiskCache" size="8" preftype="int"
  56.                   prefstring="browser.cache.disk.capacity" prefattribute="value"/>
  57.       <label value="&kbytes;"/>
  58.       <button label="&clearDiskCache.label;" accesskey="&clearDiskCache.accesskey;"
  59.               oncommand="prefClearDiskAndMemCache();"
  60.               id="clearDiskCache"
  61.               prefstring="pref.advanced.cache.disable_button.clear_disk"/>
  62.     </hbox>
  63.  
  64.     <vbox>
  65.       <label value="&diskCacheFolder.label;"/>
  66.       <hbox align="center">
  67.         <textbox id="browserCacheDiskCacheFolder" flex="1" readonly="true" class="uri-element"/>
  68.         <button label="&chooseDiskCacheFolder.label;" accesskey="&chooseDiskCacheFolder.accesskey;"
  69.               oncommand="prefCacheSelectFolder();" id="chooseDiskCacheFolder"/>
  70.       </hbox>
  71.     </vbox>
  72.     <description>&diskCacheFolderExplanation;</description>
  73.  
  74.     <separator class="thin"/>
  75.     
  76.     <description>&docCache;</description>
  77.     <hbox align="start">
  78.       <radiogroup id="browserCacheCheckDocFrequency" orient="horizontal" prefstring="browser.cache.check_doc_frequency">
  79.         <vbox flex="1">
  80.           <radio value="1" label="&everyTimeRadio.label;" accesskey="&everyTimeRadio.accesskey;"/>
  81.           <radio value="3" label="&autoRadio.label;" accesskey="&autoRadio.accesskey;"/>
  82.         </vbox>
  83.         <vbox flex="1">
  84.           <radio value="0" label="&oncePsessionRadio.label;" accesskey="&oncePsessionRadio.accesskey;"/>
  85.           <radio value="2" label="&neverRadio.label;" accesskey="&neverRadio.accesskey;"/>
  86.         </vbox>
  87.       </radiogroup>
  88.     </hbox>
  89.  
  90.   </groupbox>
  91.  
  92.   <groupbox id="prefetch">
  93.     <caption id="prefetchLabel" label="&prefetchTitle.label;"/>
  94.     <vbox id="prefetchBox" align="start">
  95.       <checkbox id="enablePrefetch" label="&enablePrefetch.label;" accesskey="&enablePrefetch.accesskey;"
  96.                 prefstring="network.prefetch-next" />
  97.       <!-- <vbox class="indent" flex="1">
  98.         <description>&prefetchDesc.label;</description>
  99.       </vbox> -->
  100.     </vbox>
  101.   </groupbox>
  102. </page>
  103.