home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / mozil06.zip / bin / chrome / messenger.jar / content / messenger / am-server.xul < prev    next >
Extensible Markup Language  |  2001-02-14  |  6KB  |  147 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
  3. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://messenger/locale/am-server-top.dtd" >
  6.  
  7. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  8.         xmlns:html="http://www.w3.org/1999/xhtml"
  9.         class="color-dialog"
  10.         onload="parent.onPanelLoaded('am-server.xul');"
  11.         orient="vertical">
  12.  
  13.   <script src="chrome://messenger/content/am-server.js"/>
  14.   <script src="chrome://global/content/strres.js"/>
  15.  
  16.   <text hidden="true" wsm_persist="true" id="server.type"/>
  17.   <text hidden="true" wsm_persist="true" id="server.hostName"/>
  18.   <text hidden="true" wsm_persist="true" id="server.username"/>
  19.  
  20.   <box class="box-smallheader" title="&serverSettings.label;"/>
  21.  
  22.   <grid>
  23.     <columns>
  24.       <column/>
  25.       <column/>
  26.     </columns>
  27.     <rows>      
  28.       <row autostretch="never">
  29.         <text class="label" value="&serverType.label;"/>
  30.         <text class="label" id="servertype.verbose"/>
  31.       </row>
  32.       <row autostretch="never">
  33.         <text class="label" value="&serverName.label;"/>
  34.         <text class="label" id="servername.verbose"/>
  35.       </row>
  36.       <row autostretch="never">
  37.         <text class="label" value="&userName.label;"/>
  38.         <text class="label" id="username.verbose"/>
  39.       </row>
  40.       <row autostretch="never">
  41.         <text class="label" value="&port.label;"/>
  42.         <textfield wsm_persist="true" size="3" id="server.port"/>
  43.       </row>
  44.     </rows>
  45.   </grid>
  46.   <spring class="spacer"/>
  47.  
  48.   <titledbox>
  49.   <title value="&serverSettings.label;"/>
  50.   <box id="serverPrefContainer" orient="vertical" flex="1">
  51.  
  52.   <checkbox wsm_persist="true" id="server.isSecure" value="&isSecure.label;" hidefor="pop3"/>
  53. <!--
  54.   <checkbox wsm_persist="true" id="server.rememberPassword" hidefor="nntp"
  55.             value="&savePassword.label;"/>
  56. -->
  57.   <box orient="horizontal" autostretch="never">
  58.     <checkbox wsm_persist="true" id="server.doBiff" value="&biffStart.label;"/>
  59.     <textfield wsm_persist="true" id="server.biffMinutes" size="3"/>
  60.     <text class="label" for="server.biffMinutes" value="&biffEnd.label;"/>
  61.   </box>
  62.   <checkbox style="margin-left: 2em" hidefor="imap,nntp"
  63.             wsm_persist="true" id="server.downloadOnBiff"
  64.             value="&downloadOnBiff.label;"/>
  65.   <checkbox wsm_persist="true" id="pop3.leaveMessagesOnServer"
  66.             value="&leaveOnServer.label;"/>
  67.  
  68.   <checkbox wsm_persist="true" id="pop3.deleteMailLeftOnServer"
  69.             value="&deleteOnServer.label;"/>
  70.   <box iscontrolcontainer="true" autostretch="never">
  71.     <checkbox wsm_persist="true" value="&maxMessageSizePrefix.label;" id="pop3.limitMessageSize"/>
  72.     <textfield wsm_persist="true" id="pop3.maxMessageSize" size="3"/>
  73.     <text value="&maxMessageSizePostfix.label;" for="pop3.limitMessageSize" class="label"/>
  74.   </box>
  75.   <separator class="thin"/>
  76.   <!-- IMAP -->
  77.   <box iscontrolcontainer="true" autostretch="never">
  78.     <text class="label" value="&deleteMessagePrefix.label;"/>
  79.     <menulist wsm_persist="true" id="imap.deleteModel">
  80.       <menupopup>
  81.         <menuitem data="1" value="&modelMoveToTrash.label;"/>
  82.         <menuitem data="0" value="&modelMarkDeleted.label;"/>
  83.         <menuitem data="2" value="&modelDeleteImmediately.label;"/>
  84.       </menupopup>
  85.     </menulist>
  86.     <spring flex="1"/>
  87.   </box>
  88.   <separator class="thin"/>
  89.  
  90.   <checkbox wsm_persist="true" id="imap.cleanupInboxOnExit"
  91.             value="&expungeOnExit.label;"/>
  92.   <checkbox wsm_persist="true" id="server.emptyTrashOnExit" iscontrolcontainer="true"
  93.             value="&emptyTrashOnExit.label;" hidefor="nntp"/>
  94.  
  95.   <box iscontrolcontainer="true" flex="1">
  96.     <box flex="1">
  97.       <spring flex="1"/>
  98.       <button value="&advancedButton.label;"
  99.               oncommand="openImapAdvanced(event);"/>
  100.     </box>
  101.  
  102.     <checkbox hidden="true" wsm_persist="true" id="imap.dualUseFolders"/>
  103.     <checkbox hidden="true" wsm_persist="true" id="imap.usingSubscription"/>
  104.     <text hidden="true" wsm_persist="true" id="imap.personalNamespace"/>
  105.     <text hidden="true" wsm_persist="true" id="imap.publicNamespace"/>
  106.     <text hidden="true" wsm_persist="true" id="imap.otherUsersNamespace"/>
  107.     <text hidden="true" wsm_persist="true" id="imap.serverDirectory"/>
  108.     <checkbox hidden="true" wsm_persist="true" id="imap.overrideNamespaces"/>
  109.   </box>
  110.  
  111.   <!-- News -->
  112.   <box orient="horizontal">
  113.     <checkbox wsm_persist="true" id="nntp.notifyOn"
  114.                 value="&maxMessagesStart.label;"/>
  115.     <box iscontrolcontainer="true" autostretch="never">
  116.       <textfield wsm_persist="true" id="nntp.maxArticles" size="6"/>
  117.       <text class="label" for="nntp.maxArticles" value="&maxMessagesEnd.label;"/>
  118.     </box>
  119.   </box>
  120. <!-- take out for now - bug 45079
  121.     <box iscontrolcontainer="true" flex="100%">
  122.       <titledbox orient="vertical">
  123.          <title><text class="header label" value="&abbreviate.label;"/></title>
  124.  
  125.          <radiogroup orient="vertical" wsm_persist="true" id="nntp.abbreviate">
  126.            <radio group="nntp.abbreviate" wsm_persist="true" data="true" value="&abbreviateOn.label;"/>
  127.            <radio group="nntp.abbreviate" wsm_persist="true" data="false" value="&abbreviateOff.label;"/>
  128.          </radiogroup>
  129.       </titledbox>
  130.   </box>
  131. -->
  132.  
  133.   <box orient="vertical" iscontrolcontainer="true">
  134.     <text class="label" value="&newsrcFilePath.label;" for="nntp.newsrcFilePath"/>
  135.     <textfield wsm_persist="true" id="nntp.newsrcFilePath"
  136.                datatype="nsIFileSpec"/>
  137.   </box>
  138.   </box>
  139.   </titledbox>
  140.   <spring flex="100%"/>
  141.   <box orient="vertical">
  142.     <text class="label" value="&localPath.label;" for="server.localPath"/>
  143.     <textfield wsm_persist="true" id="server.localPath"
  144.             datatype="nsIFileSpec"/>
  145.   </box>
  146. </window>
  147.