home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / mail.xpi / bin / chrome / messenger.jar / content / messenger / smtpEditOverlay.xul < prev    next >
Extensible Markup Language  |  2001-07-09  |  3KB  |  76 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.  The contents of this file are subject to the Netscape Public
  5.  License Version 1.1 (the "License"); you may not use this file
  6.  except in compliance with the License. You may obtain a copy of
  7.  the License at http://www.mozilla.org/NPL/
  8.  
  9.  Software distributed under the License is distributed on an "AS
  10.  IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.  implied. See the License for the specific language governing
  12.  rights and limitations under the License.
  13.  
  14.  The Original Code is Mozilla Communicator client code, released
  15.  March 31, 1998.
  16.  
  17.  The Initial Developer of the Original Code is Netscape
  18.  Communications Corporation. Portions created by Netscape are
  19.  Copyright (C) 1998-1999 Netscape Communications Corporation. All
  20.  Rights Reserved.
  21.  
  22.  Contributors:
  23.  Alec Flett <alecf@netscape.com>
  24.  
  25. -->
  26.  
  27. <!DOCTYPE window SYSTEM "chrome://messenger/locale/smtpEditOverlay.dtd">
  28.  
  29. <overlay  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  30.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  31.  
  32.   <script src="smtpEditOverlay.js"/>
  33.  
  34.   <vbox id="smtpServerEditor">
  35.     <hbox autostretch="never">
  36.       <text class="label" value="&serverName.label;"/>
  37.       <textbox wsm_persist="true" id="smtp.hostname" flex="1"
  38.                pref="true" preftype="string" prefattribute="value"
  39.                prefstring="mail.smtpserver.%serverkey%.hostname"/>
  40.     </hbox>
  41.     <!-- use a grid here when it's implemented -->
  42.     <vbox>
  43.       <!-- This hidden one will hold the integer version
  44.            of smtp.useUsername -->
  45.       <text hidden="true" id="smtp.authMethod" wsm_persist="true"/>
  46.       <hbox autostretch="never">
  47.       <checkbox id="smtp.useUsername" label="&alwaysUseUsername.label;" wsm_persist="true"
  48.                 oncommand="onUseUsername(event.target,true);"
  49.                 pref="true" preftype="bool" prefattribute="value"
  50.                 prefstring="mail.smtpserver.%serverkey%.use_username"/>
  51.       </hbox>                
  52.       <vbox style="margin-left: 2em">
  53.         <hbox autostretch="never">
  54.           <text id="smtpusernamelabel" class="label" value="&userName.label;"/>
  55.           <textbox wsm_persist="true" id="smtp.username" flex="1"
  56.                    pref="true" preftype="string" prefattribute="value"
  57.                    prefstring="mail.smtpserver.%serverkey%.username"/>
  58.         </hbox>
  59.       </vbox>
  60.      </vbox>
  61.      <hbox autostretch="never">
  62.   <text class="label" value="&isSecure.label;"/>
  63.      </hbox>
  64.      <radiogroup id="smtp.trySSL" wsm_persist="true"
  65.                  pref="true" preftype="int" prefattribute="value"
  66.                  prefstring="mail.smtpserver.%serverkey%.try_ssl">
  67.        <hbox style="margin-left: 2em">
  68.          <radio group="smtp.trySSL" value="0" label="&neverSecure.label;" id="smtp.neverSecure"/>
  69.          <radio group="smtp.trySSL" value="1" label="&sometimesSecure.label;" id="smtp.sometimesSecure"/>
  70.          <radio group="smtp.trySSL" value="2" label="&alwaysSecure.label;" id="smtp.alwaysSecure"/>
  71.        </hbox>
  72.      </radiogroup>
  73.   </vbox>
  74.  
  75. </overlay>
  76.