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-http.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  5KB  |  114 lines

  1. <?xml version="1.0"?> 
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is mozilla.org code.
  16.    -
  17.    - The Initial Developer of the Original Code is
  18.    - Ryan Cassin.
  19.    - Portions created by the Initial Developer are Copyright (C) 2002
  20.    - the Initial Developer. All Rights Reserved.
  21.    -
  22.    - Contributor(s):
  23.    -   Ryan Cassin <rcassin@supernova.org>
  24.    -   Kathleen Brade <brade@netscape.com>
  25.    -
  26.    - Alternatively, the contents of this file may be used under the terms of
  27.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  28.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  29.    - in which case the provisions of the GPL or the LGPL are applicable instead
  30.    - of those above. If you wish to allow use of your version of this file only
  31.    - under the terms of either the GPL or the LGPL, and not to allow others to
  32.    - use your version of this file under the terms of the MPL, indicate your
  33.    - decision by deleting the provisions above and replace them with the notice
  34.    - and other provisions required by the LGPL or the GPL. If you do not delete
  35.    - the provisions above, a recipient may use your version of this file under
  36.    - the terms of any one of the MPL, the GPL or the LGPL.
  37.    -
  38.    - ***** END LICENSE BLOCK ***** -->
  39.  
  40. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  41.  
  42. <!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-http.dtd" >
  43. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  44.       onload="parent.initPanel('chrome://communicator/content/pref/pref-http.xul');checkPipelining();checkPipeliningProxy();"
  45.       headertitle="&lHeader;">
  46.  
  47.   <script type="application/x-javascript" 
  48.           src="chrome://communicator/content/pref/pref-http.js"/>
  49.           
  50.   <script type="application/x-javascript">
  51.   <![CDATA[
  52.     var _elementIDs = ["httpVersion", "enableKeepAlive", "enablePipelining",
  53.                        "httpVersionProxy",
  54.                        "enableKeepAliveProxy", "enablePipeliningProxy"];
  55.   ]]>
  56.   </script>
  57.  
  58.   <description>&prefPara;</description>
  59.  
  60.   <hbox align="start">
  61.   <groupbox flex="1">
  62.     <caption label="&prefDirect.label;"/>
  63.     <vbox class="box-padded" align="start">
  64.       <radiogroup id="httpVersion" 
  65.                   preftype="string" prefstring="network.http.version"
  66.                   oncommand="checkPipelining();">
  67.         <radio value="1.0" label="&prefEnableHTTP10.label;"
  68.                accesskey="&prefEnableHTTP10.accesskey;"/>
  69.         <radio value="1.1" label="&prefEnableHTTP11.label;" 
  70.                accesskey="&prefEnableHTTP11.accesskey;" id="httpVersion11"/>
  71.       </radiogroup>
  72.  
  73.       <separator/>
  74.  
  75.       <checkbox id="enableKeepAlive" label="&prefEnableKeepAlive.label;"
  76.                 accesskey="&prefEnableKeepAlive.accesskey;" 
  77.                 prefstring="network.http.keep-alive" oncommand="checkPipelining();"/>
  78.  
  79.       <checkbox id="enablePipelining" label="&prefEnablePipelining.label;"
  80.                 accesskey="prefEnablePipelining.accesskey;"
  81.                 prefstring="network.http.pipelining"/>
  82.     </vbox>
  83.   </groupbox>
  84.  
  85.   <groupbox flex="1">
  86.     <caption label="&prefProxy.label;"/>
  87.     <vbox class="box-padded" align="start">
  88.       <radiogroup id="httpVersionProxy" 
  89.                   preftype="string" prefstring="network.http.proxy.version"
  90.                   oncommand="checkPipeliningProxy();">
  91.         <radio value="1.0" label="&prefEnableHTTP10.label;"
  92.                accesskey="&prefEnableHTTP10Proxy.accesskey;"/>
  93.         <radio value="1.1" label="&prefEnableHTTP11.label;" 
  94.                accesskey="&prefEnableHTTP11Proxy.accesskey;" id="httpVersion11Proxy"/>
  95.       </radiogroup>
  96.  
  97.       <separator/>
  98.  
  99.       <checkbox id="enableKeepAliveProxy" label="&prefEnableKeepAlive.label;"
  100.                 accesskey="&prefEnableKeepAliveProxy.accesskey;" 
  101.                 prefstring="network.http.proxy.keep-alive" oncommand="checkPipeliningProxy();"/>
  102.  
  103.       <checkbox id="enablePipeliningProxy" label="&prefEnablePipelining.label;"
  104.                 accesskey="&prefEnablePipeliningProxy.accesskey;"
  105.                 prefstring="network.http.proxy.pipelining"/>
  106.     </vbox>
  107.   </groupbox>
  108.   </hbox>
  109.  
  110.   <description>&prefPipeWarning;</description>
  111.  
  112. </page>
  113.  
  114.