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:26:10 +00:00
|
|
|
|
|
|
|
Jason Eager <jce2@po.cwru.edu>
|
|
|
|
-Added a syntax example for the "no proxy" field.
|
1999-08-10 02:48:56 +00:00
|
|
|
-->
|
2006-05-17 02:24:36 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
2006-05-17 02:29:13 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/dialogOverlay.css" type="text/css"?>
|
1999-06-04 23:28:56 +00:00
|
|
|
|
2006-05-17 02:24:35 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-proxies.dtd" >
|
2006-05-17 02:25:47 +00:00
|
|
|
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
2006-05-17 02:28:18 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2006-05-17 02:24:52 +00:00
|
|
|
class="color-dialog"
|
|
|
|
orient="vertical"
|
2006-05-17 02:28:18 +00:00
|
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-proxies.xul');">
|
1999-06-04 23:28:56 +00:00
|
|
|
|
2006-05-17 02:28:42 +00:00
|
|
|
<script type="application/x-javascript">
|
2006-05-17 02:24:52 +00:00
|
|
|
<![CDATA[
|
2006-05-17 02:28:43 +00:00
|
|
|
var _elementIDs = ["networkProxyType",
|
2006-05-17 02:28:44 +00:00
|
|
|
"networkProxyFTP", "networkProxyFTP_Port",
|
|
|
|
"networkProxyGopher", "networkProxyGopher_Port",
|
|
|
|
"networkProxyHTTP", "networkProxyHTTP_Port",
|
|
|
|
"networkProxySOCKS", "networkProxySOCKS_Port",
|
2006-05-17 02:31:00 +00:00
|
|
|
"networkProxySOCKSVersion",
|
|
|
|
"networkProxySSL", "networkProxySSL_Port",
|
2006-05-17 02:28:44 +00:00
|
|
|
"networkProxyNone", "networkProxyAutoconfigURL"];
|
2006-05-17 02:24:52 +00:00
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
2006-05-17 02:28:44 +00:00
|
|
|
<stringbundle id="bundle_prefutilities"
|
|
|
|
src="chrome://pref/locale/prefutilities.properties"/>
|
2006-05-17 02:28:42 +00:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-proxies.js"/>
|
2006-05-17 02:22:45 +00:00
|
|
|
|
2006-05-17 02:30:33 +00:00
|
|
|
<hbox class="box-smallheader" title="&lHeader;"/>
|
2006-05-17 02:24:09 +00:00
|
|
|
|
2006-05-17 02:30:33 +00:00
|
|
|
<groupbox orient="vertical">
|
2006-05-17 02:28:51 +00:00
|
|
|
<label value="&proxyTitle.label;"/>
|
2006-05-17 02:24:09 +00:00
|
|
|
|
2006-05-17 02:24:52 +00:00
|
|
|
<radiogroup id="networkProxyType" orient="vertical"
|
|
|
|
pref="true" preftype="int" prefstring="network.proxy.type"
|
2006-05-17 02:28:51 +00:00
|
|
|
prefattribute="value">
|
2006-05-17 02:30:43 +00:00
|
|
|
<vbox align="start">
|
2006-05-17 02:28:51 +00:00
|
|
|
<radio group="networkProxyType" value="0" label="&directTypeRadio.label;" accesskey="&directTypeRadio.accesskey;" oncommand="DoEnabling();"/>
|
|
|
|
<radio group="networkProxyType" value="1" label="&manualTypeRadio.label;" accesskey="&manualTypeRadio.accesskey;" oncommand="DoEnabling();"/>
|
2006-05-17 02:28:18 +00:00
|
|
|
</vbox>
|
2006-05-17 02:24:52 +00:00
|
|
|
<grid class="indent" flex="1">
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column flex="1"/>
|
|
|
|
</columns>
|
|
|
|
|
|
|
|
<rows>
|
2006-05-17 02:30:43 +00:00
|
|
|
<row align="center">
|
2006-05-17 02:31:00 +00:00
|
|
|
<hbox autostretch="never" align="right">
|
2006-05-17 02:30:16 +00:00
|
|
|
<text class="label" value="&ftp.label;" accesskey="&ftp.accesskey;" for="networkProxyFTP"/>
|
2006-05-17 02:31:00 +00:00
|
|
|
</hbox>
|
2006-05-17 02:30:43 +00:00
|
|
|
<hbox align="center">
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxyFTP" pref="true" preftype="string" prefstring="network.proxy.ftp"
|
2006-05-17 02:24:52 +00:00
|
|
|
prefattribute="value" flex="1"/>
|
|
|
|
<text class="label" value="&port.label;" accesskey="&FTPport.accesskey;" for="networkProxyFTP_Port"/>
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxyFTP_Port" pref="true" preftype="int" prefstring="network.proxy.ftp_port"
|
2006-05-17 02:24:52 +00:00
|
|
|
prefattribute="value" size="5"/>
|
2006-05-17 02:30:33 +00:00
|
|
|
</hbox>
|
2006-05-17 02:28:43 +00:00
|
|
|
</row>
|
2006-05-17 02:30:43 +00:00
|
|
|
<row align="center">
|
2006-05-17 02:31:00 +00:00
|
|
|
<hbox autostretch="never" align="right">
|
|
|
|
<text class="label" value="&gopher.label;" accesskey="&gopher.accesskey;" for="networkProxyGopher"/>
|
|
|
|
</hbox>
|
2006-05-17 02:30:43 +00:00
|
|
|
<hbox align="center">
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxyGopher" pref="true" preftype="string" prefstring="network.proxy.gopher"
|
2006-05-17 02:28:43 +00:00
|
|
|
prefattribute="value" flex="1"/>
|
|
|
|
<!-- gopher port doesn't have an accesskey because the window needs a redesign - bbaetz -->
|
|
|
|
<text class="label" value="&port.label;" accesskey="&gopherPort.accesskey;" for="networkProxyGopher_Port"/>
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxyGopher_Port" pref="true" preftype="int" prefstring="network.proxy.gopher_port"
|
2006-05-17 02:28:43 +00:00
|
|
|
prefattribute="value" size="5"/>
|
2006-05-17 02:30:33 +00:00
|
|
|
</hbox>
|
2006-05-17 02:24:52 +00:00
|
|
|
</row>
|
2006-05-17 02:30:43 +00:00
|
|
|
<row align="center">
|
2006-05-17 02:31:00 +00:00
|
|
|
<hbox autostretch="never" align="right">
|
|
|
|
<text class="label" value="&http.label;" accesskey="&http.accesskey;" for="networkProxyHTTP"/>
|
|
|
|
</hbox>
|
2006-05-17 02:30:43 +00:00
|
|
|
<hbox align="center">
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxyHTTP" pref="true" preftype="string" prefstring="network.proxy.http"
|
2006-05-17 02:24:52 +00:00
|
|
|
prefattribute="value" flex="1"/>
|
|
|
|
<text class="label" value="&port.label;" accesskey="&HTTPport.accesskey;" for="networkProxyHTTP_Port"/>
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxyHTTP_Port" pref="true" preftype="int" prefstring="network.proxy.http_port"
|
2006-05-17 02:24:52 +00:00
|
|
|
prefattribute="value" size="5"/>
|
2006-05-17 02:30:33 +00:00
|
|
|
</hbox>
|
2006-05-17 02:24:52 +00:00
|
|
|
</row>
|
2006-05-17 02:30:43 +00:00
|
|
|
<row align="center">
|
2006-05-17 02:31:00 +00:00
|
|
|
<hbox autostretch="never" align="right">
|
|
|
|
<text class="label" value="&ssl.label;" accesskey="&ssl.accesskey;" for="networkProxySSL"/>
|
|
|
|
</hbox>
|
2006-05-17 02:30:43 +00:00
|
|
|
<hbox align="center">
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxySSL" pref="true" preftype="string" prefstring="network.proxy.ssl"
|
2006-05-17 02:25:30 +00:00
|
|
|
prefattribute="value" flex="1"/>
|
|
|
|
<text class="label" value="&port.label;" accesskey="&SSLport.accesskey;" for="networkProxySSL_Port"/>
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxySSL_Port" pref="true" preftype="int" prefstring="network.proxy.ssl_port"
|
2006-05-17 02:25:30 +00:00
|
|
|
prefattribute="value" size="5"/>
|
2006-05-17 02:30:33 +00:00
|
|
|
</hbox>
|
2006-05-17 02:25:30 +00:00
|
|
|
</row>
|
2006-05-17 02:30:43 +00:00
|
|
|
<row align="center">
|
2006-05-17 02:31:00 +00:00
|
|
|
<hbox autostretch="never" align="right">
|
|
|
|
<text class="label" value="&socks.label;" accesskey="&socks.accesskey;" for="networkProxySOCKS"/>
|
|
|
|
</hbox>
|
2006-05-17 02:30:43 +00:00
|
|
|
<hbox align="center">
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxySOCKS" pref="true" preftype="string" prefstring="network.proxy.socks"
|
2006-05-17 02:26:08 +00:00
|
|
|
prefattribute="value" flex="1"/>
|
|
|
|
<text class="label" value="&port.label;" accesskey="&SOCKSport.accesskey;" for="networkProxySOCKS_Port"/>
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxySOCKS_Port" pref="true" preftype="int" prefstring="network.proxy.socks_port"
|
2006-05-17 02:26:08 +00:00
|
|
|
prefattribute="value" size="5"/>
|
2006-05-17 02:30:33 +00:00
|
|
|
</hbox>
|
2006-05-17 02:28:44 +00:00
|
|
|
</row>
|
2006-05-17 02:31:00 +00:00
|
|
|
<row>
|
|
|
|
<spacer/>
|
|
|
|
<radiogroup id="networkProxySOCKSVersion" orient="horizontal"
|
|
|
|
pref="true" preftype="int" prefstring="network.proxy.socks_version"
|
|
|
|
prefattribute="value">
|
|
|
|
<radio group="networkProxySOCKSVersion" id="networkProxySOCKSVersion4" value="4" label="&socks4.label;" accesskey="&socks4.accesskey;" />
|
|
|
|
<radio group="networkProxySOCKSVersion" id="networkProxySOCKSVersion5" value="5" label="&socks5.label;" accesskey="&socks5.accesskey;" />
|
|
|
|
</radiogroup>
|
|
|
|
</row>
|
|
|
|
|
2006-05-17 02:30:43 +00:00
|
|
|
<row align="center">
|
2006-05-17 02:31:00 +00:00
|
|
|
<hbox autostretch="never" align="right">
|
|
|
|
<text class="label" value="&noproxy.label;" accesskey="&noproxy.accesskey;" for="networkProxyNone"/>
|
|
|
|
</hbox>
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxyNone" pref="true" preftype="string" prefstring="network.proxy.no_proxies_on"
|
2006-05-17 02:24:52 +00:00
|
|
|
prefattribute="value"/>
|
|
|
|
</row>
|
2006-05-17 02:26:10 +00:00
|
|
|
<row>
|
2006-05-17 02:31:00 +00:00
|
|
|
<spacer/>
|
2006-05-17 02:26:10 +00:00
|
|
|
<text class="label" value="&noproxyExplain.label;" for="networkProxyNone"/>
|
|
|
|
</row>
|
2006-05-17 02:24:52 +00:00
|
|
|
</rows>
|
|
|
|
</grid>
|
2006-05-17 02:31:00 +00:00
|
|
|
<hbox align="left">
|
2006-05-17 02:28:51 +00:00
|
|
|
<radio group="networkProxyType" value="2" label="&autoTypeRadio.label;" accesskey="&autoTypeRadio.accesskey;" oncommand="DoEnabling();"/>
|
2006-05-17 02:30:33 +00:00
|
|
|
</hbox>
|
|
|
|
<hbox class="indent" flex="1">
|
2006-05-17 02:28:45 +00:00
|
|
|
<textbox id="networkProxyAutoconfigURL" flex="1"
|
2006-05-17 02:24:52 +00:00
|
|
|
pref="true" preftype="string" prefstring="network.proxy.autoconfig_url"
|
2006-05-17 02:25:21 +00:00
|
|
|
prefattribute="value"/>
|
2006-05-17 02:29:28 +00:00
|
|
|
<button id="autoReload" class="dialog" label="&reload.label;" accesskey="&reload.accesskey;"
|
2006-05-17 02:30:38 +00:00
|
|
|
oncommand="ReloadPAC();"
|
2006-05-17 02:29:28 +00:00
|
|
|
pref="true" preftype="bool"
|
|
|
|
prefstring="pref.advanced.proxies.disable_button.reload" prefattribute="disabled"/>
|
2006-05-17 02:30:33 +00:00
|
|
|
</hbox>
|
2006-05-17 02:24:52 +00:00
|
|
|
</radiogroup>
|
2006-05-17 02:24:09 +00:00
|
|
|
|
2006-05-17 02:30:33 +00:00
|
|
|
</groupbox>
|
1999-10-21 19:53:19 +00:00
|
|
|
|
1999-06-04 23:28:56 +00:00
|
|
|
</window>
|
1999-10-21 19:53:19 +00:00
|
|
|
|