diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /browser/components/preferences/dialogs/connection.xhtml | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/preferences/dialogs/connection.xhtml')
-rw-r--r-- | browser/components/preferences/dialogs/connection.xhtml | 244 |
1 files changed, 244 insertions, 0 deletions
diff --git a/browser/components/preferences/dialogs/connection.xhtml b/browser/components/preferences/dialogs/connection.xhtml new file mode 100644 index 0000000000..4f161a710d --- /dev/null +++ b/browser/components/preferences/dialogs/connection.xhtml @@ -0,0 +1,244 @@ +<?xml version="1.0"?> + +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<?xml-stylesheet href="chrome://global/skin/global.css"?> +<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?> + +<window + type="child" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml" + data-l10n-id="connection-window2" + data-l10n-attrs="title, style" + persist="lastSelected" + onload="gConnectionsDialog.checkForSystemProxy();" +> + <dialog + id="ConnectionsDialog" + buttons="accept,cancel,help" + helpTopic="prefs-connection-settings" + > + <!-- Used for extension-controlled lockdown message --> + <linkset> + <html:link rel="localization" href="browser/preferences/connection.ftl" /> + <html:link + rel="localization" + href="browser/preferences/preferences.ftl" + /> + <html:link rel="localization" href="branding/brand.ftl" /> + </linkset> + + <script src="chrome://browser/content/utilityOverlay.js" /> + <script src="chrome://global/content/preferencesBindings.js" /> + <script src="chrome://browser/content/preferences/extensionControlled.js" /> + + <keyset> + <key + data-l10n-id="connection-close-key" + modifiers="accel" + oncommand="Preferences.close(event)" + /> + </keyset> + + <script src="chrome://browser/content/preferences/dialogs/connection.js" /> + + <hbox + id="proxyExtensionContent" + align="start" + hidden="true" + class="extension-controlled" + > + <description control="disableProxyExtension" flex="1" /> + <button + id="disableProxyExtension" + class="extension-controlled-button accessory-button" + data-l10n-id="connection-disable-extension" + /> + </hbox> + + <groupbox> + <label><html:h2 data-l10n-id="connection-proxy-configure" /></label> + + <radiogroup id="networkProxyType" preference="network.proxy.type"> + <radio value="0" data-l10n-id="connection-proxy-option-no" /> + <radio value="4" data-l10n-id="connection-proxy-option-auto" /> + <radio + value="5" + data-l10n-id="connection-proxy-option-system" + id="systemPref" + hidden="true" + /> + <radio value="1" data-l10n-id="connection-proxy-option-manual" /> + <box id="proxy-grid" class="indent" flex="1"> + <html:div class="proxy-grid-row"> + <hbox pack="end"> + <label + data-l10n-id="connection-proxy-http" + control="networkProxyHTTP" + /> + </hbox> + <hbox align="center"> + <html:input + id="networkProxyHTTP" + type="text" + style="flex: 1" + preference="network.proxy.http" + /> + <label + data-l10n-id="connection-proxy-http-port" + control="networkProxyHTTP_Port" + /> + <html:input + id="networkProxyHTTP_Port" + class="proxy-port-input" + hidespinbuttons="true" + type="number" + min="0" + max="65535" + preference="network.proxy.http_port" + /> + </hbox> + </html:div> + <html:div class="proxy-grid-row"> + <hbox /> + <hbox> + <checkbox + id="shareAllProxies" + data-l10n-id="connection-proxy-https-sharing" + preference="network.proxy.share_proxy_settings" + /> + </hbox> + </html:div> + <html:div class="proxy-grid-row"> + <hbox pack="end"> + <label + data-l10n-id="connection-proxy-https" + control="networkProxySSL" + /> + </hbox> + <hbox align="center"> + <html:input + id="networkProxySSL" + type="text" + style="flex: 1" + preference="network.proxy.ssl" + /> + <label + data-l10n-id="connection-proxy-ssl-port" + control="networkProxySSL_Port" + /> + <html:input + id="networkProxySSL_Port" + class="proxy-port-input" + hidespinbuttons="true" + type="number" + min="0" + max="65535" + size="5" + preference="network.proxy.ssl_port" + /> + </hbox> + </html:div> + <separator class="thin" /> + <html:div class="proxy-grid-row"> + <hbox pack="end"> + <label + data-l10n-id="connection-proxy-socks" + control="networkProxySOCKS" + /> + </hbox> + <hbox align="center"> + <html:input + id="networkProxySOCKS" + type="text" + style="flex: 1" + preference="network.proxy.socks" + /> + <label + data-l10n-id="connection-proxy-socks-port" + control="networkProxySOCKS_Port" + /> + <html:input + id="networkProxySOCKS_Port" + class="proxy-port-input" + hidespinbuttons="true" + type="number" + min="0" + max="65535" + size="5" + preference="network.proxy.socks_port" + /> + </hbox> + </html:div> + <html:div class="proxy-grid-row"> + <spacer /> + <box pack="start"> + <radiogroup + id="networkProxySOCKSVersion" + orient="horizontal" + preference="network.proxy.socks_version" + > + <radio + id="networkProxySOCKSVersion4" + value="4" + data-l10n-id="connection-proxy-socks4" + /> + <radio + id="networkProxySOCKSVersion5" + value="5" + data-l10n-id="connection-proxy-socks5" + /> + </radiogroup> + </box> + </html:div> + </box> + <radio value="2" data-l10n-id="connection-proxy-autotype" /> + <hbox class="indent" flex="1" align="center"> + <html:input + id="networkProxyAutoconfigURL" + type="text" + style="flex: 1" + preference="network.proxy.autoconfig_url" + oninput="gConnectionsDialog.updateReloadButton();" + /> + <button + id="autoReload" + data-l10n-id="connection-proxy-reload" + oncommand="gConnectionsDialog.reloadPAC();" + preference="pref.advanced.proxies.disable_button.reload" + /> + </hbox> + </radiogroup> + </groupbox> + <separator class="thin" /> + <label data-l10n-id="connection-proxy-noproxy" control="networkProxyNone" /> + <html:textarea + id="networkProxyNone" + preference="network.proxy.no_proxies_on" + rows="2" + /> + <label + control="networkProxyNone" + data-l10n-id="connection-proxy-noproxy-desc" + /> + <label + id="networkProxyNoneLocalhost" + control="networkProxyNone" + data-l10n-id="connection-proxy-noproxy-localhost-desc-2" + /> + <separator class="thin" /> + <checkbox + id="autologinProxy" + data-l10n-id="connection-proxy-autologin" + preference="signon.autologin.proxy" + /> + <checkbox + id="networkProxySOCKSRemoteDNS" + preference="network.proxy.socks_remote_dns" + data-l10n-id="connection-proxy-socks-remote-dns" + /> + </dialog> +</window> |