1999-06-05 03:28:56 +04:00
|
|
|
<?xml version="1.0"?>
|
1999-08-10 06:48:56 +04:00
|
|
|
|
|
|
|
<!--
|
|
|
|
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 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 Netscape are
|
|
|
|
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
|
|
Rights Reserved.
|
|
|
|
|
2001-06-20 04:23:35 +04:00
|
|
|
Contributor(s): Mohan Bhamidipati (mohanb@netscape.com)
|
2001-05-04 04:47:53 +04:00
|
|
|
|
1999-08-10 06:48:56 +04:00
|
|
|
-->
|
2001-05-04 04:47:53 +04:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:17:02 +03:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/dialogOverlay.css" type="text/css"?>
|
1999-06-05 03:28:56 +04:00
|
|
|
|
2001-05-19 19:54:29 +04:00
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
|
|
|
%brandDTD;
|
|
|
|
<!ENTITY % offlineDTD SYSTEM "chrome://communicator/locale/pref/pref-offline.dtd" >
|
|
|
|
%offlineDTD;
|
|
|
|
]>
|
2001-05-04 04:47:53 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:17:02 +03:00
|
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-offline.xul');">
|
2001-05-04 04:47:53 +04:00
|
|
|
|
|
|
|
<script type="application/x-javascript">
|
|
|
|
<![CDATA[
|
2001-06-20 04:23:35 +04:00
|
|
|
var _elementIDs = ["offlineStartupstate", "whengoingOnlinestate", "whengoingOfflinestate", "offlineCompactFolder", "offlineCompactFolderMin"];
|
2001-05-04 04:47:53 +04:00
|
|
|
]]>
|
2001-08-20 23:09:39 +04:00
|
|
|
|
|
|
|
function Startup()
|
|
|
|
{
|
|
|
|
var aCheckbox = document.getElementById("offlineCompactFolder");
|
2001-08-22 05:18:40 +04:00
|
|
|
enableField(aCheckbox, "offlineCompactFolderMin");
|
2001-08-20 23:09:39 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
function enableField(aCheckbox, aNodeID)
|
|
|
|
{
|
|
|
|
var aField = document.getElementById(aNodeID);
|
|
|
|
if (aCheckbox.checked)
|
|
|
|
aField.removeAttribute("disabled");
|
2001-08-22 05:18:40 +04:00
|
|
|
else
|
|
|
|
aField.setAttribute("disabled", "true");
|
2001-08-20 23:09:39 +04:00
|
|
|
}
|
|
|
|
|
2001-05-04 04:47:53 +04:00
|
|
|
</script>
|
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
<hbox class="box-smallheader" id="OfflineHeader" title="&boxHeader;"/>
|
2001-05-04 04:47:53 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:17:02 +03:00
|
|
|
<groupbox>
|
2001-09-07 18:23:21 +04:00
|
|
|
<caption label="&rHeader;"/>
|
2001-05-04 04:47:53 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:17:02 +03:00
|
|
|
<label value="&textStart;"/>
|
|
|
|
<radiogroup id="offlineStartupstate"
|
|
|
|
prefstring="offline.startup_state">
|
|
|
|
<radio value="0" label="&radioAskMode;"/>
|
|
|
|
<radio value="1" label="&radioUsePrev;"/>
|
2001-05-04 04:47:53 +04:00
|
|
|
</radiogroup>
|
|
|
|
|
2001-06-20 04:23:35 +04:00
|
|
|
<separator class="thin"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:17:02 +03:00
|
|
|
<label value="&textGoingOnline;"/>
|
|
|
|
<radiogroup id="whengoingOnlinestate"
|
|
|
|
prefstring="offline.send.unsent_messages">
|
|
|
|
<radio value="0" label="&radioAskUnsent;"/>
|
|
|
|
<radio value="1" label="&radioAutoSend;"/>
|
|
|
|
<radio value="2" label="&radioNotSend;"/>
|
2001-05-04 04:47:53 +04:00
|
|
|
</radiogroup>
|
2000-01-07 09:52:11 +03:00
|
|
|
|
2001-06-20 04:23:35 +04:00
|
|
|
<separator class="thin"/>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:17:02 +03:00
|
|
|
<label value="&textGoingOffline;"/>
|
|
|
|
<radiogroup id="whengoingOfflinestate"
|
|
|
|
prefstring="offline.download.download_messages">
|
|
|
|
<radio value="0" label="&radioAskDownload;"/>
|
|
|
|
<radio value="1" label="&radioAutoDownload;"/>
|
|
|
|
<radio value="2" label="&radioNotDownload;"/>
|
2001-05-04 04:47:53 +04:00
|
|
|
</radiogroup>
|
2001-06-20 04:23:35 +04:00
|
|
|
|
2001-07-09 22:41:07 +04:00
|
|
|
</groupbox>
|
2001-06-20 04:23:35 +04:00
|
|
|
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:17:02 +03:00
|
|
|
<groupbox>
|
2001-09-07 18:23:21 +04:00
|
|
|
<caption label="&Diskspace;"/>
|
2001-08-04 10:21:59 +04:00
|
|
|
<hbox align="center">
|
2001-06-20 04:23:35 +04:00
|
|
|
<checkbox id="offlineCompactFolder" label="&offlineCompact.label;" accesskey="&offlineCompact.accesskey;"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:17:02 +03:00
|
|
|
prefstring="mail.prompt_purge_threshhold"
|
2001-08-20 23:09:39 +04:00
|
|
|
oncommand="enableField(this,'offlineCompactFolderMin');"/>
|
|
|
|
<textbox id="offlineCompactFolderMin" size="5" value="100"
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:17:02 +03:00
|
|
|
preftype="int" prefstring="mail.purge_threshhold"/>
|
|
|
|
<label value="&kb.label;"/>
|
2001-07-09 22:41:07 +04:00
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2001-11-03 07:17:02 +03:00
|
|
|
</page>
|