*** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@126336 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1,63 +0,0 @@
|
||||
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* ***** 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.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Ryan Cassin.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2002
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Ryan Cassin <rcassin@supernova.org>
|
||||
* Kathleen Brade <brade@netscape.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either 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 ***** */
|
||||
|
||||
function checkPipelining()
|
||||
{
|
||||
try {
|
||||
var enableHTTP11 = document.getElementById("httpVersion11");
|
||||
var enableKeepAlive = document.getElementById("enableKeepAlive");
|
||||
var enablePipelining = document.getElementById("enablePipelining");
|
||||
|
||||
var doDisable = !(enableHTTP11.selected && enableKeepAlive.checked);
|
||||
enablePipelining.disabled = doDisable;
|
||||
} catch(e) {}
|
||||
}
|
||||
|
||||
function checkPipeliningProxy()
|
||||
{
|
||||
try {
|
||||
var enableHTTP11 = document.getElementById("httpVersion11Proxy");
|
||||
var enableKeepAlive = document.getElementById("enableKeepAliveProxy");
|
||||
var enablePipelining = document.getElementById("enablePipeliningProxy");
|
||||
|
||||
var doDisable = !(enableHTTP11.selected && enableKeepAlive.checked);
|
||||
enablePipelining.disabled = doDisable;
|
||||
} catch(e) {}
|
||||
}
|
||||
|
||||
@@ -1,102 +0,0 @@
|
||||
<?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): Mohan Bhamidipati (mohanb@netscape.com)
|
||||
|
||||
-->
|
||||
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window [
|
||||
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
||||
%brandDTD;
|
||||
<!ENTITY % offlineDTD SYSTEM "chrome://communicator/locale/pref/pref-offline.dtd" >
|
||||
%offlineDTD;
|
||||
]>
|
||||
|
||||
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="parent.initPanel('chrome://communicator/content/pref/pref-offline.xul');"
|
||||
headertitle="&boxHeader;">
|
||||
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
var _elementIDs = ["offlineStartupstate", "whengoingOnlinestate", "whengoingOfflinestate", "offlineCompactFolder", "offlineCompactFolderMin"];
|
||||
]]>
|
||||
|
||||
function Startup()
|
||||
{
|
||||
var aCheckbox = document.getElementById("offlineCompactFolder");
|
||||
enableField(aCheckbox, "offlineCompactFolderMin");
|
||||
}
|
||||
|
||||
function enableField(aCheckbox, aNodeID)
|
||||
{
|
||||
var aField = document.getElementById(aNodeID);
|
||||
if (aCheckbox.checked)
|
||||
aField.removeAttribute("disabled");
|
||||
else
|
||||
aField.setAttribute("disabled", "true");
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<groupbox>
|
||||
<caption label="&rHeader;"/>
|
||||
|
||||
<!-- uncomment when 82487 is fixed -->
|
||||
<!-- <label value="&textStart;"/>
|
||||
<radiogroup id="offlineStartupstate"
|
||||
prefstring="offline.startup_state">
|
||||
<radio value="0" label="&radioAskMode;"/>
|
||||
<radio value="1" label="&radioUsePrev;"/>
|
||||
</radiogroup> -->
|
||||
|
||||
<separator class="thin"/>
|
||||
<label value="&textGoingOnline;"/>
|
||||
<radiogroup id="whengoingOnlinestate"
|
||||
prefstring="offline.send.unsent_messages">
|
||||
<radio value="0" label="&radioAskUnsent;"/>
|
||||
<radio value="1" label="&radioAutoSend;"/>
|
||||
<radio value="2" label="&radioNotSend;"/>
|
||||
</radiogroup>
|
||||
|
||||
<separator class="thin"/>
|
||||
<label value="&textGoingOffline;"/>
|
||||
<radiogroup id="whengoingOfflinestate"
|
||||
prefstring="offline.download.download_messages">
|
||||
<radio value="0" label="&radioAskDownload;"/>
|
||||
<radio value="1" label="&radioAutoDownload;"/>
|
||||
<radio value="2" label="&radioNotDownload;"/>
|
||||
</radiogroup>
|
||||
|
||||
</groupbox>
|
||||
|
||||
<groupbox>
|
||||
<caption label="&Diskspace;"/>
|
||||
<hbox align="center">
|
||||
<checkbox id="offlineCompactFolder" label="&offlineCompact.label;" accesskey="&offlineCompact.accesskey;"
|
||||
prefstring="mail.prompt_purge_threshhold"
|
||||
oncommand="enableField(this,'offlineCompactFolderMin');"/>
|
||||
<textbox id="offlineCompactFolderMin" size="5" value="100"
|
||||
preftype="int" prefstring="mail.purge_threshhold"/>
|
||||
<label value="&kb.label;"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
</page>
|
||||
@@ -142,11 +142,6 @@
|
||||
<treecell url="chrome://browser/content/pref/pref-proxies.xul" label="&proxies.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-http.xul" label="&httpnetworking.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-smartupdate.xul" label="&smart.label;"/>
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<!ENTITY lHeader "HTTP Networking">
|
||||
<!ENTITY rHeader "HTTP Network Preferences">
|
||||
|
||||
<!-- Network-->
|
||||
<!ENTITY prefDirect.label "Direct Connection Options">
|
||||
<!ENTITY prefProxy.label "Proxy Connection Options">
|
||||
<!ENTITY prefEnableHTTP10.label "Use HTTP 1.0">
|
||||
<!ENTITY prefEnableHTTP10.accesskey "U">
|
||||
<!ENTITY prefEnableHTTP10Proxy.accesskey "S">
|
||||
<!ENTITY prefEnableHTTP11.label "Use HTTP 1.1">
|
||||
<!ENTITY prefEnableHTTP11.accesskey "H">
|
||||
<!ENTITY prefEnableHTTP11Proxy.accesskey "T">
|
||||
<!ENTITY prefEnableKeepAlive.label "Enable Keep-Alive">
|
||||
<!ENTITY prefEnableKeepAlive.accesskey "K">
|
||||
<!ENTITY prefEnableKeepAliveProxy.accesskey "L">
|
||||
<!ENTITY prefEnablePipelining.label "Enable Pipelining">
|
||||
<!ENTITY prefEnablePipelining.accesskey "P">
|
||||
<!ENTITY prefEnablePipeliningProxy.accesskey "I">
|
||||
<!ENTITY prefPara "HTTP connections may be fine-tuned using these options to enhance either performance or compatibility. Some proxy servers, for example, are known to require HTTP/1.0 (see the release notes for details).">
|
||||
<!ENTITY prefPipeWarning "WARNING: pipelining is an experimental feature, designed to improve page-load performance, that is unfortunately not well supported by some web servers and proxies.">
|
||||
@@ -25,7 +25,6 @@
|
||||
<!ENTITY down.label "Download">
|
||||
<!ENTITY cache.label "Cache">
|
||||
<!ENTITY proxies.label "Proxies">
|
||||
<!ENTITY httpnetworking.label "HTTP Networking">
|
||||
<!ENTITY smart.label "Software Installation">
|
||||
<!ENTITY debug.label "Debug">
|
||||
<!ENTITY debug1.label "Events">
|
||||
|
||||
Reference in New Issue
Block a user