3 # -*- Mode: Java; tab-width:
4; indent-tabs-mode: nil; c-basic-offset:
4 -*-
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v.
2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/
2.0/.
8 <!DOCTYPE prefwindow SYSTEM
"chrome://browser/locale/preferences/connection.dtd">
10 <?xml-stylesheet href=
"chrome://global/skin/"?>
12 <prefwindow id=
"ConnectionsDialog" type=
"child"
13 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
14 title=
"&connectionsDialog.title;"
15 dlgbuttons=
"accept,cancel,help"
16 onbeforeaccept=
"return gConnectionsDialog.beforeAccept();"
17 onload=
"gConnectionsDialog.checkForSystemProxy();"
18 ondialoghelp=
"openPrefsHelp()"
20 style=
"width: &window.macWidth; !important;">
22 style=
"width: &window.width; !important;">
25 <script type=
"application/javascript" src=
"chrome://browser/content/utilityOverlay.js"/>
27 <prefpane id=
"ConnectionsDialogPane"
28 helpTopic=
"prefs-connection-settings">
31 <preference id=
"network.proxy.type" name=
"network.proxy.type" type=
"int" onchange=
"gConnectionsDialog.proxyTypeChanged();"/>
32 <preference id=
"network.proxy.http" name=
"network.proxy.http" type=
"string"/>
33 <preference id=
"network.proxy.http_port" name=
"network.proxy.http_port" type=
"int"/>
34 <preference id=
"network.proxy.ftp" name=
"network.proxy.ftp" type=
"string"/>
35 <preference id=
"network.proxy.ftp_port" name=
"network.proxy.ftp_port" type=
"int"/>
36 <preference id=
"network.proxy.ssl" name=
"network.proxy.ssl" type=
"string"/>
37 <preference id=
"network.proxy.ssl_port" name=
"network.proxy.ssl_port" type=
"int"/>
38 <preference id=
"network.proxy.socks" name=
"network.proxy.socks" type=
"string"/>
39 <preference id=
"network.proxy.socks_port" name=
"network.proxy.socks_port" type=
"int"/>
40 <preference id=
"network.proxy.socks_version" name=
"network.proxy.socks_version" type=
"int" onchange=
"gConnectionsDialog.updateDNSPref();"/>
41 <preference id=
"network.proxy.socks_remote_dns" name=
"network.proxy.socks_remote_dns" type=
"bool"/>
42 <preference id=
"network.proxy.no_proxies_on" name=
"network.proxy.no_proxies_on" type=
"string"/>
43 <preference id=
"network.proxy.autoconfig_url" name=
"network.proxy.autoconfig_url" type=
"string"/>
44 <preference id=
"network.proxy.share_proxy_settings"
45 name=
"network.proxy.share_proxy_settings"
47 <preference id=
"signon.autologin.proxy"
48 name=
"signon.autologin.proxy"
51 <preference id=
"pref.advanced.proxies.disable_button.reload"
52 name=
"pref.advanced.proxies.disable_button.reload"
55 <preference id=
"network.proxy.backup.ftp" name=
"network.proxy.backup.ftp" type=
"string"/>
56 <preference id=
"network.proxy.backup.ftp_port" name=
"network.proxy.backup.ftp_port" type=
"int"/>
57 <preference id=
"network.proxy.backup.ssl" name=
"network.proxy.backup.ssl" type=
"string"/>
58 <preference id=
"network.proxy.backup.ssl_port" name=
"network.proxy.backup.ssl_port" type=
"int"/>
59 <preference id=
"network.proxy.backup.socks" name=
"network.proxy.backup.socks" type=
"string"/>
60 <preference id=
"network.proxy.backup.socks_port" name=
"network.proxy.backup.socks_port" type=
"int"/>
63 <script type=
"application/javascript" src=
"chrome://browser/content/preferences/connection.js"/>
65 <stringbundle id=
"preferencesBundle" src=
"chrome://browser/locale/preferences/preferences.properties"/>
68 <caption label=
"&proxyTitle.label;"/>
70 <radiogroup id=
"networkProxyType" preference=
"network.proxy.type"
71 onsyncfrompreference=
"return gConnectionsDialog.readProxyType();">
72 <radio value=
"0" label=
"&noProxyTypeRadio.label;" accesskey=
"&noProxyTypeRadio.accesskey;"/>
73 <radio value=
"4" label=
"&WPADTypeRadio.label;" accesskey=
"&WPADTypeRadio.accesskey;"/>
74 <radio value=
"5" label=
"&systemTypeRadio.label;" accesskey=
"&systemTypeRadio.accesskey;" id=
"systemPref" hidden=
"true"/>
75 <radio value=
"1" label=
"&manualTypeRadio.label;" accesskey=
"&manualTypeRadio.accesskey;"/>
76 <grid class=
"indent" flex=
"1">
84 <label value=
"&http.label;" accesskey=
"&http.accesskey;" control=
"networkProxyHTTP"/>
87 <textbox id=
"networkProxyHTTP" flex=
"1"
88 preference=
"network.proxy.http" onsyncfrompreference=
"return gConnectionsDialog.readHTTPProxyServer();"/>
89 <label value=
"&port.label;" accesskey=
"&HTTPport.accesskey;" control=
"networkProxyHTTP_Port"/>
90 <textbox id=
"networkProxyHTTP_Port" type=
"number" max=
"65535" size=
"5"
91 preference=
"network.proxy.http_port" onsyncfrompreference=
"return gConnectionsDialog.readHTTPProxyPort();"/>
97 <checkbox id=
"shareAllProxies" label=
"&shareproxy.label;" accesskey=
"&shareproxy.accesskey;"
98 preference=
"network.proxy.share_proxy_settings"
99 onsyncfrompreference=
"return gConnectionsDialog.updateProtocolPrefs();"/>
104 <label value=
"&ssl.label;" accesskey=
"&ssl.accesskey;" control=
"networkProxySSL"/>
106 <hbox align=
"center">
107 <textbox id=
"networkProxySSL" flex=
"1" preference=
"network.proxy.ssl"
108 onsyncfrompreference=
"return gConnectionsDialog.readProxyProtocolPref('ssl', false);"/>
109 <label value=
"&port.label;" accesskey=
"&SSLport.accesskey;" control=
"networkProxySSL_Port"/>
110 <textbox id=
"networkProxySSL_Port" type=
"number" max=
"65535" size=
"5" preference=
"network.proxy.ssl_port"
111 onsyncfrompreference=
"return gConnectionsDialog.readProxyProtocolPref('ssl', true);"/>
116 <label value=
"&ftp.label;" accesskey=
"&ftp.accesskey;" control=
"networkProxyFTP"/>
118 <hbox align=
"center">
119 <textbox id=
"networkProxyFTP" flex=
"1" preference=
"network.proxy.ftp"
120 onsyncfrompreference=
"return gConnectionsDialog.readProxyProtocolPref('ftp', false);"/>
121 <label value=
"&port.label;" accesskey=
"&FTPport.accesskey;" control=
"networkProxyFTP_Port"/>
122 <textbox id=
"networkProxyFTP_Port" type=
"number" max=
"65535" size=
"5" preference=
"network.proxy.ftp_port"
123 onsyncfrompreference=
"return gConnectionsDialog.readProxyProtocolPref('ftp', true);"/>
128 <label value=
"&socks.label;" accesskey=
"&socks.accesskey;" control=
"networkProxySOCKS"/>
130 <hbox align=
"center">
131 <textbox id=
"networkProxySOCKS" flex=
"1" preference=
"network.proxy.socks"
132 onsyncfrompreference=
"return gConnectionsDialog.readProxyProtocolPref('socks', false);"/>
133 <label value=
"&port.label;" accesskey=
"&SOCKSport.accesskey;" control=
"networkProxySOCKS_Port"/>
134 <textbox id=
"networkProxySOCKS_Port" type=
"number" max=
"65535" size=
"5" preference=
"network.proxy.socks_port"
135 onsyncfrompreference=
"return gConnectionsDialog.readProxyProtocolPref('socks', true);"/>
141 <radiogroup id=
"networkProxySOCKSVersion" orient=
"horizontal"
142 preference=
"network.proxy.socks_version">
143 <radio id=
"networkProxySOCKSVersion4" value=
"4" label=
"&socks4.label;" accesskey=
"&socks4.accesskey;" />
144 <radio id=
"networkProxySOCKSVersion5" value=
"5" label=
"&socks5.label;" accesskey=
"&socks5.accesskey;" />
146 <checkbox id=
"networkProxySOCKSRemoteDNS" preference=
"network.proxy.socks_remote_dns" label=
"&socksRemoteDNS.label;" accesskey=
"&socksRemoteDNS.accesskey;" />
149 <label value=
"&noproxy.label;" accesskey=
"&noproxy.accesskey;" control=
"networkProxyNone"/>
150 <textbox id=
"networkProxyNone" preference=
"network.proxy.no_proxies_on" multiline=
"true" rows=
"2"/>
151 <label value=
"&noproxyExplain.label;" control=
"networkProxyNone"/>
154 <radio value=
"2" label=
"&autoTypeRadio.label;" accesskey=
"&autoTypeRadio.accesskey;"/>
155 <hbox class=
"indent" flex=
"1" align=
"center">
156 <textbox id=
"networkProxyAutoconfigURL" flex=
"1" preference=
"network.proxy.autoconfig_url"
157 oninput=
"gConnectionsDialog.updateReloadButton();"/>
158 <button id=
"autoReload" icon=
"refresh"
159 label=
"&reload.label;" accesskey=
"&reload.accesskey;"
160 oncommand=
"gConnectionsDialog.reloadPAC();"
161 preference=
"pref.advanced.proxies.disable_button.reload"/>
165 <separator class=
"thin"/>
166 <checkbox id=
"autologinProxy"
167 label=
"&autologinproxy.label;"
168 accesskey=
"&autologinproxy.accesskey;"
169 preference=
"signon.autologin.proxy"
170 tooltiptext=
"&autologinproxy.tooltip;"/>