pjs/suite/common/pref/pref-offline.xul

94 строки
4.0 KiB
XML

<?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 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.
Contributor(s): Mohan Bhamidipati (mohanb@netscape.com)
-->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % offlineDTD SYSTEM "chrome://communicator/locale/pref/pref-offline.dtd" >
%offlineDTD;
]>
<window debug="false" xmlns:html="http://www.w3.org/1999/xhtml" id="offlineWindow"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="color-dialog"
orient="vertical" title="&window.title;"
onload="parent.initPanel('chrome://communicator/content/pref/pref-offline.xul');">
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["offlineStartupstate", "whengoingOnlinestate", "whengoingOfflinestate", "offlineCompactFolder", "offlineCompactFolderMin"];
]]>
</script>
<hbox class="box-smallheader" id="OfflineHeader" title="&boxHeader;"/>
<groupbox orient="vertical" class="small-margin">
<label value="&rHeader;"/>
<text value="&textStart;"/>
<radiogroup id="offlineStartupstate" orient="vertical" align="start"
pref="true" preftype="int" prefstring="offline.startup_state"
prefattribute="value">
<radio class="small-margin" group="offlineStartupstate" value="0" label="&radioAskMode;"/>
<radio class="small-margin" group="offlineStartupstate" value="1" label="&radioUsePrev;"/>
</radiogroup>
<separator class="thin"/>
<text value="&textGoingOnline;"/>
<radiogroup id="whengoingOnlinestate" orient="vertical" align="start"
pref="true" preftype="int" prefstring="offline.send.unsent_messages"
prefattribute="value">
<radio class="small-margin" group="whengoingOnlinestate" value="0" label="&radioAskUnsent;"/>
<radio class="small-margin" group="whengoingOnlinestate" value="1" label="&radioAutoSend;"/>
<radio class="small-margin" group="whengoingOnlinestate" value="2" label="&radioNotSend;"/>
</radiogroup>
<separator class="thin"/>
<text value="&textGoingOffline;"/>
<radiogroup id="whengoingOfflinestate" orient="vertical" align="start"
pref="true" preftype="int" prefstring="offline.download.download_messages"
prefattribute="value">
<radio class="small-margin" group="whengoingOfflinestate" value="0" label="&radioAskDownload;"/>
<radio class="small-margin" group="whengoingOfflinestate" value="1" label="&radioAutoDownload;"/>
<radio class="small-margin" group="whengoingOfflinestate" value="2" label="&radioNotDownload;"/>
</radiogroup>
</groupbox>
<groupbox orient="vertical">
<label value="&Diskspace;"/>
<hbox align="center">
<checkbox id="offlineCompactFolder" label="&offlineCompact.label;" accesskey="&offlineCompact.accesskey;"
pref="true" preftype="bool" prefstring="mail.prompt_purge_threshhold" prefattribute="checked"/>
<textbox id="offlineCompactFolderMin" size="5" value="100"
pref="true" preftype="int" prefstring="mail.purge_threshhold" prefattribute="value"/>
<text class="label" value="&kb.label;"/>
</hbox>
</groupbox>
</window>