home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <!--
-
- The contents of this file are subject to the Netscape 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/NPL/
-
- 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 Initial Developer of the Original Code is Netscape
- Communications Corporation. Portions created by Netscape are
- Copyright (C) 1998-2001 Netscape Communications Corporation. All
- Rights Reserved.
-
- Contributors:
- dianesun@netscape.com
-
- -->
-
- <?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>
-
- <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
- <?xul-overlay href="chrome://messenger/content/msgFolderPickerOverlay.xul"?>
-
- <!DOCTYPE window SYSTEM "chrome://messenger/locale/am-offline.dtd">
-
- <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- xmlns:html="http://www.w3.org/1999/xhtml"
- class="color-dialog"
- onload="parent.onPanelLoaded('am-offline.xul');"
- orient="vertical">
-
- <stringbundle id="bundle_prefs" src="chrome://messenger/locale/prefs.properties"/>
-
- <script type="application/x-javascript" src="chrome://messenger/content/AccountManager.js"/>
- <script type="application/x-javascript" src="chrome://messenger/content/am-offline.js"/>
-
- <broadcaster id="bc_notDownload"/>
- <broadcaster id="bc_downloadMsg"/>
- <broadcaster id="bc_keepMsg"/>
- <broadcaster id="bc_removeBody"/>
-
- <text hidden="true" wsm_persist="true" id="server.type"/>
-
- <hbox id="headertitle" class="box-smallheader"/>
-
- <groupbox orient="vertical" id="offline.titlebox" hidable="true" hidefor="pop3">
- <label value="&offlineGroupTitle.label;"/>
-
- <html iscontrolcontainer="true" hidable="true" hidefor="pop3,nntp">&offlineImapDesc.label;</html>
- <html iscontrolcontainer="true" hidable="true" hidefor="pop3,imap">&offlineNntpDesc.label;</html>
-
- <checkbox iscontrolcontainer="true" hidable="true" hidefor="pop3,nntp"
- id="offline.downloadBodiesOnGetNewMail" wsm_persist="true"
- label="&makeInboxMsgsAvailable.label;"
- accesskey="&makeInboxMsgsAvailable.accesskey;"/>
-
- <checkbox iscontrolcontainer="true" hidable="true" hidefor="pop3,nntp"
- id="offline.newFolder" label="&offlineNewFolder.label;"
- accesskey="&offlineNewFolder.accesskey;"/>
-
- <separator class="thin" hidable="true" hidefor="pop3,nntp"/>
-
- <html iscontrolcontainer="true" hidable="true" hidefor="pop3,nntp">&selectButtonDesc.label;</html>
-
- <hbox iscontrolcontainer="true" hidable="true" hidefor="pop3" align="right">
- <button label="&offlineSelect.label;" oncommand="onClickSelect()" id="selectFolderButton"/>
- </hbox>
-
- </groupbox>
-
- <separator class="thin"/>
- <groupbox orient="vertical" id="diskspace.titlebox">
- <label value="&diskspaceGroupTitle.label;"/>
-
- <html iscontrolcontainer="true" hidable="true" hidefor="pop3">&offlineMsg.label;</html>
- <html iscontrolcontainer="true" hidable="true" hidefor="imap,nntp">&offlinePopDesc.label;</html>
-
- <hbox autostretch="never">
- <checkbox wsm_persist="true" id="offline.notDownload"
- label="&offlineNotDownload.label;" accesskey="&offlineNotDownload.accesskey;" oncommand="onCheckItem('bc_notDownload', 'offline.notDownload');"/>
- <textbox wsm_persist="true" id="offline.notDownloadMin" size="5" value="50" observes="bc_notDownload"/>
- <text class="label" value="&kb.label;"/>
- </hbox>
-
- <checkbox iscontrolcontainer="true" hidable="true" hidefor="pop3,imap"
- wsm_persist="true" id="nntp.downloadUnread" label="&nntpDownloadUnread.label;" accesskey="&nntpDownloadUnread.accesskey;"/>
- <hbox iscontrolcontainer="true" hidable="true" hidefor="pop3,imap" autostretch="never">
- <checkbox wsm_persist="true" id="nntp.downloadMsg" label="&nntpDownloadMsg.label;" accesskey="&nntpDownloadMsg.accesskey;" oncommand="onCheckItem('bc_downloadMsg', 'nntp.downloadMsg');"/>
- <textbox wsm_persist="true" id="nntp.downloadMsgMin" size="5" value="30" observes="bc_downloadMsg"/>
- <text class="label" value="&daysAgo.label;"/>
- </hbox>
-
- <separator/>
- <vbox iscontrolcontainer="true" hidable="true" hidefor="pop3,imap" autostretch="never">
- <html class="desc">&nntpCleanup.label;</html>
-
- <radiogroup orient="vertical" wsm_persist="true" id="nntp.keepMsg" pref="true" preftype="int" prefattribute="data">
- <hbox flex="1">
- <radio group="nntp.keepMsg" wsm_persist="true" id="nntp.keepOldMsg" data="2" label="&nntpKeepMsg.label;" oncommand="onCheckKeepMsg();"/>
- <textbox wsm_persist="true" id="nntp.keepOldMsgMin" size="5" value="30" observes="bc_keepMsg"/>
- <text class="label" value="&days.label;"/>
- </hbox>
- <radio group="nntp.keepMsg" wsm_persist="true" id="nntp.keepAllMsg" data="1" label="&nntpKeepAll.label;" oncommand="onCheckKeepMsg();"/>
- <hbox flex="1">
- <radio group="nntp.keepMsg" wsm_persist="true" id="nntp.keepNewMsg" data="3" label="&nntpKeepNew.label;" oncommand="onCheckKeepMsg();"/>
- <textbox wsm_persist="true" id="nntp.keepNewMsgMin" size="5" value="30" observes="bc_keepMsg"/>
- <text class="label" value="&message.label;"/>
- </hbox>
- </radiogroup>
-
- <checkbox wsm_persist="true" id="nntp.keepUnread" label="&nntpKeepUnread.label;" checked="true"/>
- <hbox flex="1">
- <checkbox wsm_persist="true" id="nntp.removeBody" label="&nntpRemoveBody.label;" oncommand="onCheckItem('bc_removeBody','nntp.removeBody');"/>
- <textbox wsm_persist="true" id="nntp.removeBodyMin" size="5" value="30" observes="bc_removeBody"/>
- <text class="label" value="&days.label;"/>
- </hbox>
- </vbox>
- </groupbox>
-
- </window>
-