зеркало из https://github.com/mozilla/pjs.git
203 строки
7.6 KiB
XML
203 строки
7.6 KiB
XML
<?xml version="1.0"?>
|
|
<!-- ***** 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 Communicator client code, released
|
|
March 31, 1998.
|
|
|
|
The Initial Developer of the Original Code is
|
|
Netscape Communications Corporation.
|
|
Portions created by the Initial Developer are Copyright (C) 1998-1999
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
Contributor(s):
|
|
Stefan Borggraefe <Stefan.Borggraefe@gmx.de>
|
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
either of 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 ***** -->
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
|
|
<!DOCTYPE dialog SYSTEM "chrome://communicator/locale/pref/pref-proxies-advanced.dtd" >
|
|
|
|
<dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
id="advancedProxyPreferences"
|
|
title="&pref.proxies.advanced.title;"
|
|
onload="onLoad();"
|
|
buttons="accept,cancel,help"
|
|
ondialogaccept="return sendSettingsToProxyPanel();"
|
|
ondialoghelp="openHelp('nav-prefs-advanced-proxy-advanced', 'chrome://communicator/locale/help/suitehelp.rdf');"
|
|
style="width: 33em;"
|
|
persist="screenX,screenY">
|
|
|
|
<script type="application/x-javascript"
|
|
src="chrome://help/content/contextHelp.js"/>
|
|
<script type="application/x-javascript"
|
|
src="chrome://communicator/content/pref/pref-proxies-advanced.js"/>
|
|
|
|
<groupbox>
|
|
<caption label="&protocols.caption;"/>
|
|
<description>&protocols.description;</description>
|
|
|
|
<grid>
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
|
|
<rows>
|
|
<row align="center">
|
|
<hbox align="center" pack="end">
|
|
<label value="&http.label;" accesskey="&http.accesskey;"
|
|
control="networkProxyHTTP"/>
|
|
</hbox>
|
|
<hbox align="center">
|
|
<textbox id="networkProxyHTTP" preftype="string"
|
|
prefstring="network.proxy.http"
|
|
flex="1" class="uri-element" oninput="DoProxyCopy();"/>
|
|
<label value="&port.label;" accesskey="&HTTPport.accesskey;"
|
|
control="networkProxyHTTP_Port"/>
|
|
<textbox id="networkProxyHTTP_Port" preftype="int"
|
|
prefstring="network.proxy.http_port"
|
|
size="5" oninput="DoProxyCopy();"/>
|
|
</hbox>
|
|
</row>
|
|
|
|
<row>
|
|
<spacer/>
|
|
<hbox align="left">
|
|
<checkbox id="networkProxyShareSettings" label="&reuseProxy.label;"
|
|
accesskey="&reuseProxy.accesskey;"
|
|
oncommand="DoEnabling(); DoProxyCopy();"/>
|
|
</hbox>
|
|
</row>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<row align="center">
|
|
<hbox align="center" pack="end">
|
|
<label value="&ssl.label;" accesskey="&ssl.accesskey;"
|
|
control="networkProxySSL"/>
|
|
</hbox>
|
|
<hbox align="center">
|
|
<textbox id="networkProxySSL" preftype="string"
|
|
prefstring="network.proxy.ssl"
|
|
flex="1" class="uri-element"/>
|
|
<label value="&port.label;" accesskey="&SSLport.accesskey;"
|
|
control="networkProxySSL_Port"/>
|
|
<textbox id="networkProxySSL_Port" preftype="int"
|
|
prefstring="network.proxy.ssl_port" size="5"/>
|
|
</hbox>
|
|
</row>
|
|
|
|
<row align="center">
|
|
<hbox align="center" pack="end">
|
|
<label value="&ftp.label;" accesskey="&ftp.accesskey;"
|
|
control="networkProxyFTP"/>
|
|
</hbox>
|
|
<hbox align="center">
|
|
<textbox id="networkProxyFTP" preftype="string"
|
|
prefstring="network.proxy.ftp" flex="1"
|
|
class="uri-element"/>
|
|
<label value="&port.label;" accesskey="&FTPport.accesskey;"
|
|
control="networkProxyFTP_Port"/>
|
|
<textbox id="networkProxyFTP_Port" preftype="int"
|
|
prefstring="network.proxy.ftp_port" size="5"/>
|
|
</hbox>
|
|
</row>
|
|
|
|
<row align="center">
|
|
<hbox align="center" pack="end">
|
|
<label value="&gopher.label;" accesskey="&gopher.accesskey;"
|
|
control="networkProxyGopher"/>
|
|
</hbox>
|
|
<hbox align="center">
|
|
<textbox id="networkProxyGopher" preftype="string"
|
|
prefstring="network.proxy.gopher"
|
|
flex="1" class="uri-element"/>
|
|
<label value="&port.label;" control="networkProxyGopher_Port"/>
|
|
<textbox id="networkProxyGopher_Port" preftype="int"
|
|
prefstring="network.proxy.gopher_port"
|
|
prefattribute="value" size="5"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</groupbox>
|
|
|
|
<groupbox>
|
|
<caption label="&socks.caption;"/>
|
|
<description>&socks.description;</description>
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row align="center">
|
|
<hbox align="center" pack="end">
|
|
<label value="&socks.label;" accesskey="&socks.accesskey;"
|
|
control="networkProxySOCKS"/>
|
|
</hbox>
|
|
<hbox align="center">
|
|
<textbox id="networkProxySOCKS" preftype="string"
|
|
prefstring="network.proxy.socks"
|
|
flex="1" class="uri-element"/>
|
|
<label value="&port.label;" accesskey="&SOCKSport.accesskey;"
|
|
control="networkProxySOCKS_Port"/>
|
|
<textbox id="networkProxySOCKS_Port" preftype="int"
|
|
prefstring="network.proxy.socks_port"
|
|
size="5"/>
|
|
</hbox>
|
|
</row>
|
|
|
|
<row>
|
|
<spacer/>
|
|
<radiogroup id="networkProxySOCKSVersion" orient="horizontal"
|
|
prefstring="network.proxy.socks_version">
|
|
<radio id="networkProxySOCKSVersion4" value="4"
|
|
label="&socks4.label;" accesskey="&socks4.accesskey;"/>
|
|
<radio id="networkProxySOCKSVersion5" value="5"
|
|
label="&socks5.label;" accesskey="&socks5.accesskey;"/>
|
|
</radiogroup>
|
|
</row>
|
|
|
|
<row>
|
|
<spacer/>
|
|
<hbox align="left">
|
|
<checkbox id="networkProxySOCKSRemoteDNS"
|
|
label="&socksRemoteDNS.label;"
|
|
accesskey="&socksRemoteDNS.accesskey;"/>
|
|
</hbox>
|
|
</row>
|
|
|
|
</rows>
|
|
</grid>
|
|
</groupbox>
|
|
|
|
</dialog>
|