gecko-dev/mailnews/base/resources/content/folderProps.xul

91 lines
3.7 KiB
XML

<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
<!--
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.org code.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 2000 Netscape Communications Corporation. All
Rights Reserved.
- Contributor(s): David Bienvenu <bienvenu@netscape.com>
Doron Rosenberg <doronr@naboonline.com>
-->
<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/folderProps.dtd">
<window
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&folderProps.windowtitle.label;"
onload="folderPropsOnLoad()" style="width: 36em;"
class="dialog" orient="vertical">
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"></script>
<script type="application/x-javascript" src="chrome://messenger/content/folderProps.js"></script>
<keyset id="dialogKeys"/>
<tabbox orient="vertical">
<tabs>
<tab id="GeneralTab" label="&generalInfo.label;"/>
<tab hidefor="pop3,none" hidable="true" id="OfflineTab" label="&folderOfflineTab.label;"/>
</tabs>
<tabpanels id="folderPropTabPanel">
<vbox>
<hbox id="nameBox" autostretch="never">
<text class="label" value="&folderProps.name.label;" for="name"/>
<textbox flex="1" id="name" readonly="true" />
</hbox>
<vbox>
<hbox autostretch="never" valign="middle">
<text class="label" value="&folderCharsetTab.label;" for="folderCharSetList"/>
<menulist id="folderCharsetList" ref="NC:DecodersRoot" datasources="rdf:charset-menu">
<template>
<menupopup>
<menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
</menupopup>
</template>
</menulist>
</hbox>
<checkbox id="folderCharsetOverride" label="&folderCharsetOverride.label;" />
</vbox>
</vbox>
<vbox hidable="true" hidefor="pop3,none" valign="top" autostretch="never">
<vbox>
<checkbox iscontrolcontainer="true" hidable="true"
wsm_persist="true" id="offline.selectForOfflineFolder"
hidefor="nntp" label="&offlineFolder.check.label;" />
<checkbox iscontrolcontainer="true" hidable="true"
wsm_persist="true" id="offline.selectForOfflineNewsgroup"
hidefor="imap" label="&selectofflineNewsgroup.check.label;" />
</vbox>
<button iscontrolcontainer="true" hidable="true" label="&offlineFolder.button.label;"
class="dialog" oncommand="onOfflineFolderDownload();"
id="offline.offlineFolderDownloadButton" hidefor="nntp" orient="right"/>
<button iscontrolcontainer="true" hidable="true" label="&offlineNewsgroup.button.label;"
class="dialog" oncommand="onOfflineFolderDownload();"
id="offline.offlineNewsgroupDownloadButton" hidefor="imap" orient="right"/>
</vbox>
</tabpanels>
</tabbox>
<hbox align="right" id="okCancelButtonsRight"/>
</window>