mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-10 18:00:15 +01:00
132 lines
5.7 KiB
XML
132 lines
5.7 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):
|
|
Alec Flett <alecf@netscape.com>
|
|
|
|
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 ***** -->
|
|
|
|
<!DOCTYPE overlay SYSTEM "chrome://messenger/locale/smtpEditOverlay.dtd">
|
|
|
|
<overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<script src="smtpEditOverlay.js"/>
|
|
|
|
<vbox id="smtpServerEditor">
|
|
<groupbox>
|
|
<caption label="&settings.caption;"/>
|
|
<grid flex="1">
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
<rows>
|
|
<row align="center">
|
|
<hbox pack="end"><label value="&serverDescription.label;" accesskey="&serverDescription.accesskey;"
|
|
control="smtp.description"/></hbox>
|
|
<textbox id="smtp.description" flex="1" preftype="string" prefstring="mail.smtpserver.%serverkey%.description"/>
|
|
</row>
|
|
|
|
<row align="center">
|
|
<hbox pack="end"><label value="&serverName.label;" accesskey="&serverName.accesskey;" control="smtp.hostname"/></hbox>
|
|
<textbox id="smtp.hostname" flex="1" preftype="string" class="uri-element" prefstring="mail.smtpserver.%serverkey%.hostname"/>
|
|
</row>
|
|
<row align="center">
|
|
<hbox pack="end"><label value="&serverPort.label;" accesskey="&serverPort.accesskey;" control="smtp.port"/>
|
|
</hbox>
|
|
|
|
<hbox align="center">
|
|
<textbox id="smtp.port" size="4"
|
|
preftype="int"
|
|
prefstring="mail.smtpserver.%serverkey%.port"/>
|
|
<label value="&serverPortDefault.label;"/>
|
|
<label id="smtp.defaultPort"/>
|
|
</hbox>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</groupbox>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<groupbox>
|
|
<caption label="&security.caption;"/>
|
|
<vbox>
|
|
<!-- This hidden one will hold the integer version
|
|
of smtp.useUsername -->
|
|
<label hidden="true" id="smtp.authMethod"/>
|
|
<hbox align="center">
|
|
<checkbox id="smtp.useUsername" label="&alwaysUseUsername.label;"
|
|
accesskey="&alwaysUseUsername.accesskey;"
|
|
oncommand="onUseUsername(event.target,true);"
|
|
prefattribute="value"
|
|
prefstring="mail.smtpserver.%serverkey%.use_username"/>
|
|
</hbox>
|
|
<vbox class="indent">
|
|
<hbox align="center">
|
|
<label id="smtpusernamelabel" value="&userName.label;"
|
|
accesskey="&userName.accesskey;" control="smtp.username"/>
|
|
<textbox id="smtp.username" flex="1"
|
|
preftype="string"
|
|
prefstring="mail.smtpserver.%serverkey%.username"/>
|
|
</hbox>
|
|
</vbox>
|
|
</vbox>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<hbox align="center">
|
|
<label value="&isSecure.label;"/>
|
|
</hbox>
|
|
|
|
<radiogroup id="smtp.trySSL"
|
|
prefstring="mail.smtpserver.%serverkey%.try_ssl"
|
|
oncommand="selectProtocol(0);">
|
|
<hbox class="indent">
|
|
<radio value="0" id="smtp.neverSecure"
|
|
label="&neverSecure.label;" accesskey="&neverSecure.accesskey;"/>
|
|
<radio value="1" id="smtp.sometimesSecure"
|
|
label="&sometimesSecure.label;" accesskey="&sometimesSecure.accesskey;"/>
|
|
<radio value="2" id="smtp.alwaysSecure"
|
|
label="&alwaysSecure.label;" accesskey="&alwaysSecure.accesskey;"/>
|
|
<radio value="3" id="smtp.alwaysSmtpSSL"
|
|
label="&alwaysSmtpS.label;" accesskey="&alwaysSmtpS.accesskey;"/>
|
|
</hbox>
|
|
</radiogroup>
|
|
</groupbox>
|
|
</vbox>
|
|
</overlay>
|