зеркало из https://github.com/mozilla/pjs.git
162 строки
7.2 KiB
XML
162 строки
7.2 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 page SYSTEM "chrome://communicator/locale/pref/pref-proxies.dtd" >
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-proxies.xul');"
|
|
headertitle="&pref.proxies.title;">
|
|
|
|
<script type="application/x-javascript">
|
|
<![CDATA[
|
|
var _elementIDs = ["networkProxyType", "networkProxyShareSettings",
|
|
"networkProxyFTP", "networkProxyFTP_Port",
|
|
"networkProxyGopher", "networkProxyGopher_Port",
|
|
"networkProxyHTTP", "networkProxyHTTP_Port",
|
|
"networkProxySOCKS", "networkProxySOCKS_Port",
|
|
"networkProxySOCKSVersion", "networkProxySOCKSRemoteDNS",
|
|
"networkProxySSL", "networkProxySSL_Port",
|
|
"networkProxyNone", "networkProxyAutoconfigURL"];
|
|
]]>
|
|
</script>
|
|
|
|
<stringbundle id="bundle_prefutilities"
|
|
src="chrome://pref/locale/prefutilities.properties"/>
|
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-proxies.js"/>
|
|
|
|
<description>&pref.proxies.desc;</description>
|
|
<groupbox>
|
|
<caption label="&proxyTitle.label;"/>
|
|
<radiogroup id="networkProxyType" prefstring="network.proxy.type" align="stretch">
|
|
<vbox align="left">
|
|
<radio value="0" label="&directTypeRadio.label;"
|
|
accesskey="&directTypeRadio.accesskey;"
|
|
oncommand="DoEnabling();"/>
|
|
|
|
<radio value="4" label="&wpadTypeRadio.label;"
|
|
accesskey="&wpadTypeRadio.accesskey;"
|
|
oncommand="DoEnabling();"/>
|
|
|
|
<radio value="2" label="&autoTypeRadio.label;"
|
|
accesskey="&autoTypeRadio.accesskey;"
|
|
oncommand="DoEnabling();"/>
|
|
</vbox>
|
|
|
|
<hbox class="indent" flex="1" align="center">
|
|
<textbox id="networkProxyAutoconfigURL" flex="1" preftype="string" class="uri-element"
|
|
prefstring="network.proxy.autoconfig_url" onchange="FixProxyURL();"/>
|
|
<button id="autoReload" label="&reload.label;" accesskey="&reload.accesskey;"
|
|
oncommand="ReloadPAC();"
|
|
prefstring="pref.advanced.proxies.disable_button.reload"/>
|
|
</hbox>
|
|
|
|
<vbox align="left">
|
|
<radio value="1" label="&manualTypeRadio.label;"
|
|
accesskey="&manualTypeRadio.accesskey;"
|
|
oncommand="DoEnabling();"/>
|
|
</vbox>
|
|
|
|
<grid class="indent">
|
|
<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" onchange="DoProxyCopy();"/>
|
|
<label value="&port.label;" accesskey="&HTTPport.accesskey;" control="networkProxyHTTP_Port"/>
|
|
<textbox id="networkProxyHTTP_Port" preftype="int" prefstring="network.proxy.http_port"
|
|
size="5" onchange="DoProxyCopy();"/>
|
|
<button id="advancedButton" label="&advanced.label;"
|
|
accesskey="&advanced.accesskey;"
|
|
oncommand="openAdvancedDialog();"/>
|
|
</hbox>
|
|
</row>
|
|
|
|
<row align="center">
|
|
<hbox align="center" pack="end">
|
|
<label value="&noproxy.label;" accesskey="&noproxy.accesskey;" control="networkProxyNone"/>
|
|
</hbox>
|
|
<textbox id="networkProxyNone" preftype="string" prefstring="network.proxy.no_proxies_on" class="uri-element"/>
|
|
</row>
|
|
<row>
|
|
<spacer/>
|
|
<label value="&noproxyExplain.label;" control="networkProxyNone"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</radiogroup>
|
|
</groupbox>
|
|
|
|
<!-- Data elements for data transfer to and from the "Advanced" dialog. -->
|
|
<data id="networkProxySSL" prefattribute="value"
|
|
preftype="string" prefstring="network.proxy.ssl"/>
|
|
<data id="networkProxySSL_Port" prefattribute="value"
|
|
preftype="int" prefstring="network.proxy.ssl_port"/>
|
|
|
|
<data id="networkProxyFTP" prefattribute="value"
|
|
preftype="string" prefstring="network.proxy.ftp"/>
|
|
<data id="networkProxyFTP_Port" prefattribute="value"
|
|
preftype="int" prefstring="network.proxy.ftp_port"/>
|
|
|
|
<data id="networkProxyGopher" prefattribute="value"
|
|
preftype="string" prefstring="network.proxy.gopher"/>
|
|
<data id="networkProxyGopher_Port" prefattribute="value"
|
|
preftype="int" prefstring="network.proxy.gopher_port"/>
|
|
|
|
<data id="networkProxySOCKS" prefattribute="value"
|
|
preftype="string" prefstring="network.proxy.socks"/>
|
|
<data id="networkProxySOCKS_Port" prefattribute="value"
|
|
preftype="int" prefstring="network.proxy.socks_port"/>
|
|
<data id="networkProxySOCKSVersion" prefattribute="value"
|
|
preftype="int" prefstring="network.proxy.socks_version"/>
|
|
<data id="networkProxySOCKSRemoteDNS" prefattribute="value"
|
|
preftype="bool" prefstring="network.proxy.socks_remote_dns"/>
|
|
|
|
<data id="networkProxyShareSettings" prefattribute="value"
|
|
preftype="bool" prefdefval=""
|
|
prefstring="network.proxy.share_proxy_settings"/>
|
|
</page>
|