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):
|
|
|
|
-->
|
1999-12-06 09:21:10 +00:00
|
|
|
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
|
2000-03-14 11:31:54 +00:00
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
1999-06-04 23:28:56 +00:00
|
|
|
|
1999-08-10 02:48:56 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-proxies.dtd" >
|
1999-06-04 23:28:56 +00:00
|
|
|
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
2000-01-07 06:52:11 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
class="dialog" title="Sample Prefs Panel"
|
|
|
|
align="vertical"
|
|
|
|
onload="if( parent.handle ) parent.handle.onpageload( 'pref-proxies' ); else parent.queuedTag = 'pref-proxies';">
|
1999-06-04 23:28:56 +00:00
|
|
|
|
2000-01-07 06:52:11 +00:00
|
|
|
<html:script language="javascript" src="chrome://global/content/strres.js" />
|
|
|
|
<html:script language="javascript" src="chrome://pref/content/prefutilities.js"/>
|
|
|
|
<html:script language="JavaScript" src="chrome://pref/content/pref-proxies.js"/>
|
|
|
|
|
2000-03-14 11:31:54 +00:00
|
|
|
<box type="smallheader" title="&lHeader;" description="&rHeader;"/>
|
1999-10-21 19:53:19 +00:00
|
|
|
|
2000-01-07 06:52:11 +00:00
|
|
|
<box align="vertical" style="width: 100%;">
|
2000-02-14 01:42:09 +00:00
|
|
|
<titledbox orient="vertical">
|
|
|
|
<html:div>&networkHeader.label;</html:div>
|
|
|
|
<spring class="vgap"/>
|
2000-01-07 06:52:11 +00:00
|
|
|
<box>
|
|
|
|
<html:div>
|
|
|
|
<html:input name="directManualOrAuto" type="radio" id="networkProxyType0"
|
2000-01-08 12:53:56 +00:00
|
|
|
onclick="DoEnabling();"
|
2000-01-07 06:52:11 +00:00
|
|
|
pref="true" preftype="int" prefindex="0" prefstring="network.proxy.type"/>
|
|
|
|
<html:label for="networkProxyType0" accesskey="d" tabindex="0">
|
|
|
|
&directTypeRadio.label;
|
|
|
|
</html:label>
|
2000-02-14 01:42:09 +00:00
|
|
|
</html:div>
|
|
|
|
|
2000-01-07 06:52:11 +00:00
|
|
|
</box>
|
2000-02-14 01:42:09 +00:00
|
|
|
<box align="horizontal" flex="1">
|
2000-01-07 06:52:11 +00:00
|
|
|
<html:div>
|
|
|
|
<html:input name="directManualOrAuto" type="radio" id="networkProxyType1"
|
2000-01-08 12:53:56 +00:00
|
|
|
onclick="DoEnabling();"
|
2000-01-07 06:52:11 +00:00
|
|
|
pref="true" preftype="int" prefindex="1" prefstring="network.proxy.type"/>
|
|
|
|
<html:label for="networkProxyType1" accesskey="m" tabindex="0">
|
|
|
|
&manualTypeRadio.label;
|
|
|
|
</html:label>
|
2000-02-14 01:42:09 +00:00
|
|
|
</html:div>
|
|
|
|
|
|
|
|
<spring flex="1"/>
|
2000-01-08 12:53:56 +00:00
|
|
|
<!--<titledbutton id="viewhideManual" class="dialog push" value="&view.label;" onclick="showManualProxyConfig();"/>-->
|
2000-01-07 06:52:11 +00:00
|
|
|
</box>
|
2000-02-14 01:42:09 +00:00
|
|
|
<html:div align="horizontal" id="manual-proxy" style="width: 100px; height: 100px; padding-left: 21px">
|
|
|
|
<html:table>
|
2000-01-07 06:52:11 +00:00
|
|
|
<html:tr>
|
|
|
|
<html:td>&ftp.label;</html:td>
|
|
|
|
<html:td>
|
|
|
|
<html:input name="ftpproxy" type="text" id="networkProxyFTP"
|
|
|
|
pref="true" preftype="string" prefstring="network.proxy.ftp" size="20"/>
|
|
|
|
</html:td>
|
|
|
|
<html:td>&port.label;</html:td>
|
|
|
|
<html:td>
|
|
|
|
<html:input name="ftpproxyport" type="text" id="networkProxyFTP_Port"
|
|
|
|
pref="true" preftype="int" prefstring="network.proxy.ftp_port" size="5"/>
|
|
|
|
</html:td>
|
|
|
|
</html:tr>
|
|
|
|
<html:tr>
|
|
|
|
<html:td>&http.label;</html:td>
|
|
|
|
<html:td>
|
|
|
|
<html:input name="httpproxy" type="text" id="networkProxyHTTP"
|
|
|
|
pref="true" preftype="string" prefstring="network.proxy.http" size="20"/>
|
|
|
|
</html:td>
|
|
|
|
<html:td>&port.label;</html:td>
|
|
|
|
<html:td>
|
|
|
|
<html:input name="httpproxyport" type="text" id="networkProxyHTTP_Port"
|
|
|
|
pref="true" preftype="int" prefstring="network.proxy.http_port" size="5"/>
|
|
|
|
</html:td>
|
|
|
|
</html:tr>
|
|
|
|
<html:tr>
|
|
|
|
<html:td>&noproxy.label;</html:td>
|
|
|
|
<html:td>
|
|
|
|
<html:input name="noproxy" type="text" id="networkProxyNone"
|
2000-02-15 15:55:58 +00:00
|
|
|
pref="true" preftype="string" prefstring="network.proxy.no_proxies_on" size="20"/>
|
2000-01-07 06:52:11 +00:00
|
|
|
</html:td>
|
|
|
|
</html:tr>
|
|
|
|
</html:table>
|
|
|
|
</html:div>
|
|
|
|
<!-- Not supporting gopher -->
|
|
|
|
<!--
|
|
|
|
<box align="horizontal">
|
|
|
|
<html:div>&gopher.label;</html:div>
|
|
|
|
<html:div>&port.label;</html:div>
|
|
|
|
<html:input name="gopherproxyport" type="text" id="pref:string:network.proxy.gopher_port" size="5" />
|
|
|
|
</box>
|
|
|
|
-->
|
|
|
|
<!-- Not supporting wais right now -->
|
|
|
|
<!--
|
|
|
|
<box align="horizontal">
|
|
|
|
<html:div>&wais.label;</html:div>
|
|
|
|
<html:input name="waisproxy" type="text" id="pref:string:network.proxy.wais" size="20" />
|
|
|
|
<spring flex="100%"/>
|
|
|
|
<html:div>&port.label;</html:div>
|
|
|
|
<html:input name="waisproxyport" type="text" id="pref:string:network.proxy.wais_port" size="5" />
|
|
|
|
</box>
|
|
|
|
-->
|
|
|
|
<!--
|
|
|
|
<box align="put name="gopherproxy" type="text" id="pref:string:network.proxy.gopher" size="20" />
|
|
|
|
<spring flex="100%"/>
|
|
|
|
<html:div>&direct.label;</html:div>
|
|
|
|
</box>
|
|
|
|
-->
|
|
|
|
<!-- No supporting at this point -->
|
|
|
|
<!--
|
|
|
|
<box align="horizontal">
|
|
|
|
<html:div>&sockhost.label;</html:div>
|
|
|
|
<html:input name="sockshost" type="text" id="pref:string:network.socks.host" size="20" />
|
|
|
|
<spring flex="100%"/>
|
|
|
|
<html:div>&port.label;</html:div>
|
|
|
|
<html:input name="socksport" type="text" id="pref:string:network.socks.port" size="5" />
|
|
|
|
</box>
|
|
|
|
-->
|
|
|
|
<html:div>
|
2000-01-08 12:53:56 +00:00
|
|
|
<html:input name="directManualOrAuto" type="radio" id="networkProxyType2"
|
|
|
|
onclick="DoEnabling();"
|
2000-01-07 06:52:11 +00:00
|
|
|
pref="true" preftype="int" prefindex="2" prefstring="network.proxy.type"/>
|
2000-01-08 12:53:56 +00:00
|
|
|
<html:label for="networkProxyType2" accesskey="a" tabindex="0">&autoTypeRadio.label;</html:label>
|
2000-02-14 01:42:09 +00:00
|
|
|
|
|
|
|
</html:div>
|
2000-01-07 06:52:11 +00:00
|
|
|
<box align="horizontal">
|
|
|
|
&configAutoconfigText.label;
|
|
|
|
</box>
|
|
|
|
<box align="horizontal" flex="100%" style="width: 100%;">
|
|
|
|
<spring flex="25%"/>
|
|
|
|
<html:input name="" type="text" flex="100%" id="networkProxyAutoconfigURL"
|
|
|
|
pref="true" preftype="string" prefstring="network.proxy.autoconfig_url"/>
|
2000-01-08 12:53:56 +00:00
|
|
|
<titledbutton class="dialog push" id="autoReload" value="&reload.label;"/>
|
2000-01-07 06:52:11 +00:00
|
|
|
</box>
|
2000-02-14 01:42:09 +00:00
|
|
|
</titledbox>
|
2000-01-07 06:52:11 +00:00
|
|
|
</box>
|
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
|
|
|
|