diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/mailnews/base/prefs/content/SmtpServerEdit.xhtml | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | comm/mailnews/base/prefs/content/SmtpServerEdit.xhtml | 208 |
1 files changed, 208 insertions, 0 deletions
diff --git a/comm/mailnews/base/prefs/content/SmtpServerEdit.xhtml b/comm/mailnews/base/prefs/content/SmtpServerEdit.xhtml new file mode 100644 index 0000000000..d0bbda97c6 --- /dev/null +++ b/comm/mailnews/base/prefs/content/SmtpServerEdit.xhtml @@ -0,0 +1,208 @@ +<?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://messenger/skin/input-fields.css" type="text/css"?> +<?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?> + +<!DOCTYPE html SYSTEM "chrome://messenger/locale/smtpEditOverlay.dtd"> + +<html + xmlns="http://www.w3.org/1999/xhtml" + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml" + scrolling="false" +> + <head> + <title>&smtpEditTitle.label;</title> + <script + defer="defer" + src="chrome://messenger/content/globalOverlay.js" + ></script> + <script + defer="defer" + src="chrome://global/content/editMenuOverlay.js" + ></script> + <script + defer="defer" + src="chrome://messenger/content/SmtpServerEdit.js" + ></script> + </head> + <html:body + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + > + <dialog style="width: 100vw; height: 100vh"> + <stringbundle + id="bundle_prefs" + src="chrome://messenger/locale/prefs.properties" + /> + <stringbundle + id="bundle_brand" + src="chrome://branding/locale/brand.properties" + /> + <stringbundle + id="bundle_messenger" + src="chrome://messenger/locale/messenger.properties" + /> + + <vbox id="smtpServerEditor"> + <html:div> + <html:fieldset> + <html:legend>&settings.caption;</html:legend> + <hbox flex="1"> + <vbox> + <hbox flex="1" align="center"> + <label + id="smtp.description.label" + value="&serverDescription.label;" + accesskey="&serverDescription.accesskey;" + control="smtp.description" + /> + </hbox> + <hbox flex="1" align="center"> + <label + id="smtp.hostname.label" + value="&serverName.label;" + accesskey="&serverName.accesskey;" + control="smtp.hostname" + /> + </hbox> + <hbox flex="1" align="center"> + <label + value="&serverPort.label;" + accesskey="&serverPort.accesskey;" + control="smtp.port" + /> + </hbox> + </vbox> + <vbox flex="1"> + <html:input + id="smtp.description" + type="text" + preftype="string" + class="input-inline" + prefstring="mail.smtpserver.%serverkey%.description" + aria-labelledby="smtp.description.label" + /> + <html:input + id="smtp.hostname" + type="text" + preftype="string" + class="uri-element input-inline" + prefstring="mail.smtpserver.%serverkey%.hostname" + aria-labelledby="smtp.hostname.label" + /> + <hbox align="center"> + <html:input + id="smtp.port" + type="number" + class="size5 input-inline" + min="0" + max="65535" + preftype="int" + prefstring="mail.smtpserver.%serverkey%.port" + /> + <label value="&serverPortDefault.label;" /> + <label id="smtp.defaultPort" /> + </hbox> + </vbox> + </hbox> + </html:fieldset> + </html:div> + + <separator class="thin" /> + + <html:div> + <html:fieldset> + <html:legend>&security.caption;</html:legend> + + <hbox flex="1"> + <vbox> + <hbox flex="1" align="center"> + <label + value="&connectionSecurity.label;" + accesskey="&connectionSecurity.accesskey;" + control="smtp.socketType" + /> + </hbox> + <hbox flex="1" align="center"> + <label + value="&authMethod.label;" + accesskey="&authMethod.accesskey;" + control="server.authMethod" + /> + </hbox> + <hbox flex="1" align="center"> + <label + id="smtpUsernameLabel" + value="&userName.label;" + accesskey="&userName.accesskey;" + control="smtpUsername" + /> + </hbox> + </vbox> + <vbox> + <menulist + id="smtp.socketType" + oncommand="sslChanged(true);" + prefstring="mail.smtpserver.%serverkey%.try_ssl" + > + <menupopup id="smtp.socketTypePopup"> + <menuitem + value="0" + label="&connectionSecurityType-0.label;" + /> + <menuitem + id="connectionSecurityType-1" + value="1" + label="&connectionSecurityType-1.label;" + disabled="true" + hidden="true" + /> + <menuitem + value="2" + label="&connectionSecurityType-2.label;" + /> + <menuitem + value="3" + label="&connectionSecurityType-3.label;" + /> + </menupopup> + </menulist> + <menulist + id="smtp.authMethod" + oncommand="authMethodChanged(true);" + wsm_persist="true" + preftype="int" + prefstring="mail.smtpserver.%serverkey%.authMethod" + > + <menupopup id="smtp.authMethodPopup"> + <menuitem id="authMethod-no" value="1" /> + <menuitem id="authMethod-password-cleartext" value="3" /> + <menuitem id="authMethod-password-encrypted" value="4" /> + <menuitem id="authMethod-kerberos" value="5" /> + <menuitem id="authMethod-ntlm" value="6" /> + <menuitem id="authMethod-oauth2" value="10" /> + <menuitem id="authMethod-anysecure" value="8" /> + <menuitem id="authMethod-any" value="9" /> + </menupopup> + </menulist> + <hbox class="input-container"> + <html:input + id="smtpUsername" + type="text" + class="input-inline" + preftype="string" + prefstring="mail.smtpserver.%serverkey%.username" + aria-labelledby="smtpUsernameLabel" + /> + </hbox> + </vbox> + </hbox> + </html:fieldset> + </html:div> + </vbox> + </dialog> + </html:body> +</html> |