home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / mail.xpi / bin / chrome / messenger.jar / content / messenger / am-offline.xul < prev    next >
Extensible Markup Language  |  2001-08-31  |  6KB  |  127 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.  
  5. The contents of this file are subject to the Netscape Public
  6. License Version 1.1 (the "License"); you may not use this file
  7. except in compliance with the License. You may obtain a copy of
  8. the License at http://www.mozilla.org/NPL/
  9.  
  10. Software distributed under the License is distributed on an "AS
  11. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  12. implied. See the License for the specific language governing
  13. rights and limitations under the License.
  14.  
  15. The Initial Developer of the Original Code is Netscape
  16. Communications Corporation. Portions created by Netscape are
  17.  Copyright (C) 1998-2001 Netscape Communications Corporation. All
  18. Rights Reserved.
  19.  
  20. Contributors:
  21.     dianesun@netscape.com
  22.  
  23. -->
  24.  
  25. <?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>
  26.  
  27. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  28. <?xul-overlay href="chrome://messenger/content/msgFolderPickerOverlay.xul"?>
  29.  
  30. <!DOCTYPE window SYSTEM "chrome://messenger/locale/am-offline.dtd">
  31.  
  32. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  33.         xmlns:html="http://www.w3.org/1999/xhtml"
  34.         class="color-dialog"
  35.         onload="parent.onPanelLoaded('am-offline.xul');"
  36.         orient="vertical">
  37.  
  38.     <stringbundle id="bundle_prefs" src="chrome://messenger/locale/prefs.properties"/> 
  39.  
  40.     <script type="application/x-javascript" src="chrome://messenger/content/AccountManager.js"/>
  41.     <script type="application/x-javascript" src="chrome://messenger/content/am-offline.js"/>
  42.     
  43.     <broadcaster id="bc_notDownload"/>
  44.     <broadcaster id="bc_downloadMsg"/>
  45.     <broadcaster id="bc_keepMsg"/>
  46.     <broadcaster id="bc_removeBody"/>
  47.  
  48.     <text hidden="true" wsm_persist="true" id="server.type"/>  
  49.  
  50.     <hbox id="headertitle" class="box-smallheader"/>
  51.  
  52.     <groupbox orient="vertical" id="offline.titlebox"  hidable="true" hidefor="pop3">
  53.       <label value="&offlineGroupTitle.label;"/>
  54.  
  55.     <html iscontrolcontainer="true" hidable="true" hidefor="pop3,nntp">&offlineImapDesc.label;</html>
  56.     <html iscontrolcontainer="true" hidable="true" hidefor="pop3,imap">&offlineNntpDesc.label;</html>
  57.  
  58.     <checkbox iscontrolcontainer="true" hidable="true" hidefor="pop3,nntp" 
  59.               id="offline.downloadBodiesOnGetNewMail" wsm_persist="true" 
  60.               label="&makeInboxMsgsAvailable.label;" 
  61.               accesskey="&makeInboxMsgsAvailable.accesskey;"/>
  62.  
  63.     <checkbox iscontrolcontainer="true" hidable="true" hidefor="pop3,nntp" 
  64.               id="offline.newFolder" label="&offlineNewFolder.label;" 
  65.               accesskey="&offlineNewFolder.accesskey;"/>
  66.  
  67.     <separator class="thin" hidable="true" hidefor="pop3,nntp"/>
  68.  
  69.     <html iscontrolcontainer="true" hidable="true" hidefor="pop3,nntp">&selectButtonDesc.label;</html>
  70.  
  71.     <hbox iscontrolcontainer="true" hidable="true" hidefor="pop3" align="right">
  72.         <button label="&offlineSelect.label;" oncommand="onClickSelect()" id="selectFolderButton"/>
  73.     </hbox>
  74.  
  75.     </groupbox>    
  76.     
  77.     <separator class="thin"/>
  78.     <groupbox orient="vertical" id="diskspace.titlebox">
  79.       <label value="&diskspaceGroupTitle.label;"/>
  80.  
  81.     <html iscontrolcontainer="true" hidable="true" hidefor="pop3">&offlineMsg.label;</html>
  82.     <html iscontrolcontainer="true" hidable="true" hidefor="imap,nntp">&offlinePopDesc.label;</html>
  83.  
  84.     <hbox autostretch="never">
  85.         <checkbox  wsm_persist="true" id="offline.notDownload"
  86.             label="&offlineNotDownload.label;" accesskey="&offlineNotDownload.accesskey;" oncommand="onCheckItem('bc_notDownload', 'offline.notDownload');"/>
  87.         <textbox wsm_persist="true" id="offline.notDownloadMin" size="5" value="50"  observes="bc_notDownload"/> 
  88.         <text class="label" value="&kb.label;"/>
  89.     </hbox>
  90.         
  91.     <checkbox iscontrolcontainer="true" hidable="true" hidefor="pop3,imap" 
  92.          wsm_persist="true" id="nntp.downloadUnread" label="&nntpDownloadUnread.label;" accesskey="&nntpDownloadUnread.accesskey;"/>
  93.     <hbox iscontrolcontainer="true" hidable="true" hidefor="pop3,imap" autostretch="never">
  94.         <checkbox wsm_persist="true" id="nntp.downloadMsg" label="&nntpDownloadMsg.label;" accesskey="&nntpDownloadMsg.accesskey;" oncommand="onCheckItem('bc_downloadMsg', 'nntp.downloadMsg');"/>
  95.         <textbox wsm_persist="true" id="nntp.downloadMsgMin" size="5" value="30" observes="bc_downloadMsg"/>
  96.         <text class="label" value="&daysAgo.label;"/>
  97.     </hbox>
  98.  
  99.     <separator/>
  100.     <vbox iscontrolcontainer="true" hidable="true" hidefor="pop3,imap"  autostretch="never">  
  101.     <html class="desc">&nntpCleanup.label;</html>
  102.  
  103.     <radiogroup orient="vertical"  wsm_persist="true" id="nntp.keepMsg" pref="true" preftype="int" prefattribute="data">
  104.         <hbox flex="1">
  105.             <radio group="nntp.keepMsg" wsm_persist="true" id="nntp.keepOldMsg" data="2" label="&nntpKeepMsg.label;" oncommand="onCheckKeepMsg();"/>
  106.             <textbox wsm_persist="true" id="nntp.keepOldMsgMin" size="5" value="30" observes="bc_keepMsg"/>
  107.             <text class="label" value="&days.label;"/>
  108.         </hbox>
  109.         <radio group="nntp.keepMsg" wsm_persist="true" id="nntp.keepAllMsg" data="1" label="&nntpKeepAll.label;" oncommand="onCheckKeepMsg();"/>
  110.         <hbox flex="1">
  111.             <radio group="nntp.keepMsg" wsm_persist="true" id="nntp.keepNewMsg" data="3" label="&nntpKeepNew.label;" oncommand="onCheckKeepMsg();"/>
  112.             <textbox wsm_persist="true" id="nntp.keepNewMsgMin" size="5" value="30" observes="bc_keepMsg"/>
  113.             <text class="label" value="&message.label;"/>
  114.         </hbox>
  115.     </radiogroup>
  116.  
  117.     <checkbox  wsm_persist="true" id="nntp.keepUnread" label="&nntpKeepUnread.label;" checked="true"/>
  118.     <hbox flex="1">
  119.         <checkbox wsm_persist="true" id="nntp.removeBody" label="&nntpRemoveBody.label;" oncommand="onCheckItem('bc_removeBody','nntp.removeBody');"/>
  120.         <textbox wsm_persist="true" id="nntp.removeBodyMin" size="5" value="30" observes="bc_removeBody"/>
  121.         <text class="label" value="&days.label;"/>
  122.     </hbox>
  123.     </vbox>
  124.     </groupbox>
  125.    
  126. </window>
  127.