mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 12:15:51 +00:00
165 lines
4.9 KiB
XML
165 lines
4.9 KiB
XML
<?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):
|
|
-->
|
|
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-proxies.dtd" >
|
|
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
class="dialog"
|
|
onload="manualSelected();return StartUp('Proxies');"
|
|
align="vertical" title="Sample Prefs Panel"
|
|
debug="false">
|
|
|
|
<html:script language="javascript" src="PrefsWindow.js"/>
|
|
|
|
<box class="header" align="horizontal">
|
|
<titledbutton class="left-header-text" value="&lHeader;"/>
|
|
<spring class="header-spring" flex="1"/>
|
|
<titledbutton class="right-header-text" value="&rHeader;"/>
|
|
</box>
|
|
|
|
<box align="vertical" style="width: 100%;">
|
|
<html:fieldset style="width: 100%;">
|
|
|
|
<!-- &networkHeader.label; Bug in boxes-->
|
|
<html:div>
|
|
<html:input name="directManualOrAuto" type="radio" id="pref:0:int:network.proxy.type" />
|
|
<html:label for="pref:0:int:network.proxy.type" accesskey="d" tabindex="0">
|
|
&directTypeRadio.label;
|
|
</html:label>
|
|
</html:div>
|
|
<html:div>
|
|
<html:input name="directManualOrAuto" type="radio" id="pref:1:int:network.proxy.type" />
|
|
<html:label for="pref:1:int:network.proxy.type" accesskey="m" tabindex="0">
|
|
&manualTypeRadio.label;
|
|
</html:label>
|
|
<titledbutton class="dialog push" value="&view.label;" align="left" onclick="openit();"/>
|
|
</html:div>
|
|
<html:div id="manual-proxy" style="display: none">
|
|
<html:table width="100%">
|
|
<html:tr>
|
|
<html:td>
|
|
&ftp.label;
|
|
</html:td>
|
|
<html:td>
|
|
<html:input name="ftpproxy" type="text" id="pref:string:network.proxy.ftp" size="20" />
|
|
</html:td>
|
|
<html:td>
|
|
&port.label;
|
|
</html:td>
|
|
<html:td>
|
|
<html:input name="ftpproxyport" type="text" id="pref:0:int: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="pref:string:network.proxy.http" size="20" />
|
|
</html:td>
|
|
<html:td>
|
|
&port.label;
|
|
</html:td>
|
|
<html:td>
|
|
<html:input name="httpproxyport" type="text" id="pref:0:int: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="pref:string:network.proxy.none" size="20" />
|
|
</html:td>
|
|
</html:tr>
|
|
</html:table>
|
|
|
|
<!-- Not supporting gopher -->
|
|
<!--
|
|
<box align="horizontal">
|
|
<html:div>
|
|
&gopher.label;
|
|
</html:div>
|
|
<html:inv>
|
|
&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:dihorizontal">
|
|
<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>
|
|
|
|
<html:div>
|
|
<html:input name="directManualOrAuto" type="radio" id="pref:2:int:network.proxy.type" />
|
|
<html:label for="pref:2:int:network.proxy.type" accesskey="a" tabindex="0">
|
|
&autoTypeRadio.label;
|
|
</html:label>
|
|
</html:div>
|
|
|
|
<html:div>
|
|
&configAutoconfigText.label;
|
|
<html:input name="" type="text" size="15" id="pref:0:string:network.proxy.autoconfig_url" />
|
|
</html:div>
|
|
<spring flex="1"/><titledbutton class="dialog push" value="&reload.label;" align="right"/>
|
|
</html:fieldset>
|
|
</box>
|
|
</window>
|
|
|