mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
7d6cca6bbb
r=sspitzer
349 lines
19 KiB
XML
349 lines
19 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.
|
|
-->
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://messenger/locale/msgFolderPickerOverlay.dtd">
|
|
|
|
<overlay id="msgFolderPicker"
|
|
xmlns:nc="http://home.netscape.com/NC-rdf#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<script language="JavaScript" src="chrome://messenger/content/msgFolderPickerOverlay.js"/>
|
|
<script language="JavaScript" src="chrome://messenger/content/mailCommands.js"/>
|
|
|
|
<menu class="push" value="&newfolderclickhere.label;" uri="" id="msgNewFolderPicker" datasources="rdf:msgaccountmanager rdf:mailnewsfolders" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild"
|
|
ref="msgaccounts:/">
|
|
<template>
|
|
<rule nc:CanCreateSubfolders="true" iscontainer="true" isempty="false">
|
|
<menupopup>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgNewFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup>
|
|
<menuitem uri="..." value="&newfolderchoosethis.label;"
|
|
oncommand="PickedMsgFolder(event.target,'msgNewFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType" />
|
|
<menuseparator/>
|
|
</menupopup>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<!-- prevent news servers with no newsgroups from showing up -->
|
|
<rule nc:CanCreateSubfolders="false" iscontainer="true" isempty="true" nc:ServerType="nntp">
|
|
</rule>
|
|
<!-- no subfolders for some inboxes -->
|
|
<rule nc:CanCreateSubfolders="false" iscontainer="true" isempty="true">
|
|
<menupopup>
|
|
<menuitem disabled="true" uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanCreateSubfolders="true">
|
|
<menupopup>
|
|
<menuitem uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgNewFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
<menupopup />
|
|
</menu>
|
|
|
|
<menu class="push" value="&renamefolderclickhere.label;" uri="" id="msgRenameFolderPicker" datasources="rdf:msgaccountmanager rdf:mailnewsfolders" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild"
|
|
ref="msgaccounts:/">
|
|
<template>
|
|
<rule nc:CanRename="true" iscontainer="true" isempty="false">
|
|
<menupopup>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgRenameFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup>
|
|
<menuitem uri="..." value="&renamefolderchoosethis.label;"
|
|
oncommand="PickedMsgFolder(event.target,'msgRenameFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType" />
|
|
<menuseparator/>
|
|
</menupopup>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanRename="false" nc:ServerType="nntp">
|
|
<!-- don't show nntp servers in the rename dialog -->
|
|
</rule>
|
|
<rule nc:CanRename="false" iscontainer="true" isempty="false">
|
|
<!-- note, there is no "file here" -->
|
|
<menupopup>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgRenameFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup/>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<!-- this makes the special folders that you can't rename
|
|
like TRASH and INBOX show up, but they are disabled -->
|
|
<rule nc:CanRename="false" iscontainer="true" isempty="true">
|
|
<menupopup>
|
|
<menuitem disabled="true" uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanRename="true">
|
|
<menupopup>
|
|
<menuitem uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgRenameFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
<menupopup />
|
|
</menu>
|
|
|
|
<menu class="push" value="&filemessagesclickhere.label;" uri="" id="msgFccFolderPicker" datasources="rdf:msgaccountmanager rdf:mailnewsfolders" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild"
|
|
ref="msgaccounts:/">
|
|
<template>
|
|
<rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
|
|
<menupopup>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgFccFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup>
|
|
<menuitem uri="..." value="&filemessageschoosethis.label;"
|
|
oncommand="PickedMsgFolder(event.target,'msgFccFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType" />
|
|
<menuseparator/>
|
|
</menupopup>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanFileMessages="false" nc:ServerType="nntp">
|
|
<!-- don't show nntp servers in the file picker -->
|
|
</rule>
|
|
<rule nc:CanFileMessages="false" iscontainer="true" isempty="false">
|
|
<!-- note, there is no "file here" -->
|
|
<menupopup>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgFccFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup/>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanFileMessages="true">
|
|
<menupopup>
|
|
<menuitem uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgFccFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
<menupopup />
|
|
</menu>
|
|
|
|
<menu class="push" value="&filemessagesclickhere.label;" uri="" id="msgDraftsFolderPicker" datasources="rdf:msgaccountmanager rdf:mailnewsfolders" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild"
|
|
ref="msgaccounts:/">
|
|
<template>
|
|
<rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
|
|
<menupopup>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgDraftsFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup>
|
|
<menuitem uri="..." value="&filemessageschoosethis.label;"
|
|
oncommand="PickedMsgFolder(event.target,'msgDraftsFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType" />
|
|
<menuseparator/>
|
|
</menupopup>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanFileMessages="false" nc:ServerType="nntp">
|
|
<!-- don't show nntp servers in the file picker -->
|
|
</rule>
|
|
<rule nc:CanFileMessages="false" iscontainer="true" isempty="false">
|
|
<!-- note, there is no "file here" -->
|
|
<menupopup>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgDraftsFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup/>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanFileMessages="true">
|
|
<menupopup>
|
|
<menuitem uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgDraftsFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
<menupopup />
|
|
</menu>
|
|
|
|
<menu class="push" value="&filemessagesclickhere.label;" uri="" id="msgStationeryFolderPicker" datasources="rdf:msgaccountmanager rdf:mailnewsfolders" rdf:ignore="http://home.netscape.com/NC-rdf#MessageChild"
|
|
ref="msgaccounts:/">
|
|
<template>
|
|
<rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
|
|
<menupopup>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgStationeryFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup>
|
|
<menuitem uri="..." value="&filemessageschoosethis.label;"
|
|
oncommand="PickedMsgFolder(event.target,'msgStationeryFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType" />
|
|
<menuseparator/>
|
|
</menupopup>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanFileMessages="false" nc:ServerType="nntp">
|
|
<!-- don't show nntp servers in the file picker -->
|
|
</rule>
|
|
<rule nc:CanFileMessages="false" iscontainer="true" isempty="false">
|
|
<!-- note, there is no "file here" -->
|
|
<menupopup>
|
|
<menu uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgStationeryFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
<menupopup/>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule nc:CanFileMessages="true">
|
|
<menupopup>
|
|
<menuitem uri="..." class="folderMenuItem" value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
oncommand="PickedMsgFolder(event.target,'msgStationeryFolderPicker')"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
<menupopup />
|
|
</menu>
|
|
<menulist id="searchableFolders"
|
|
datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
|
|
ref="msgaccounts:/">
|
|
<template>
|
|
<rule iscontainer="true" isempty="false">
|
|
<menupopup>
|
|
<menu uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name">
|
|
<menupopup>
|
|
<menuitem uri="..." data="..." value="&filemessageschoosethis.label;"/>
|
|
<menuseparator/>
|
|
</menupopup>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule>
|
|
<menupopup>
|
|
<menuitem uri="..." data="..."
|
|
value="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
</menulist>
|
|
<menulist id="actionTargetFolder"
|
|
containment="http://home.netscape.com/NC-rdf#child"
|
|
datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
|
|
ref="msgaccounts:/">
|
|
<template>
|
|
<rule iscontainer="true" isempty="false">
|
|
<menupopup>
|
|
<menu uri="..." value="rdf:http://home.netscape.com/NC-rdf#Name">
|
|
<menupopup>
|
|
<menuitem uri="..." data="..." value="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
<menuseparator/>
|
|
</menupopup>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
<rule>
|
|
<menupopup>
|
|
<menuitem uri="..." data="..." value="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
<menupopup/>
|
|
</menulist>
|
|
</overlay>
|