2008-07-22 16:21:15 +04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
|
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
|
|
|
|
The contents of this file are subject to the Mozilla 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/MPL/
|
|
|
|
|
|
|
|
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 the Initial Developer are Copyright (C) 1998-1999
|
|
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
2009-11-03 15:38:57 +03:00
|
|
|
Ian Neal <iann_bugzilla@blueyonder.co.uk>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
|
|
either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
of those above. If you wish to allow use of your version of this file only
|
|
|
|
under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
use your version of this file under the terms of the MPL, indicate your
|
|
|
|
decision by deleting the provisions above and replace them with the notice
|
|
|
|
and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
the provisions above, a recipient may use your version of this file under
|
|
|
|
the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
|
|
|
|
***** END LICENSE BLOCK ***** -->
|
|
|
|
<?xml-stylesheet href="chrome://messenger/skin/searchDialog.css" type="text/css"?>
|
|
|
|
|
|
|
|
<?xul-overlay href="chrome://messenger/content/threadPane.xul"?>
|
|
|
|
<?xul-overlay href="chrome://messenger/content/searchTermOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://messenger/content/msgFolderPickerOverlay.xul"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
|
2011-11-05 02:43:36 +04:00
|
|
|
<?xul-overlay href="chrome://messenger/content/mailKeysOverlay.xul"?>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2009-11-03 15:38:57 +03:00
|
|
|
<!DOCTYPE dialog SYSTEM "chrome://messenger/locale/SearchDialog.dtd">
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2009-11-03 15:38:57 +03:00
|
|
|
<dialog id="searchMailWindow"
|
2008-07-22 16:21:15 +04:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
xmlns:nc="http://home.netscape.com/NC-rdf#"
|
|
|
|
windowtype="mailnews:search"
|
|
|
|
title="&searchDialogTitle.label;"
|
|
|
|
style="width: 52em; height: 34em;"
|
2009-11-03 15:38:57 +03:00
|
|
|
persist="screenX screenY width height sizemode"
|
|
|
|
buttons="help"
|
|
|
|
ondialoghelp="return openHelp('search_messages');"
|
2010-05-04 02:33:51 +04:00
|
|
|
ondialogaccept="return false; /* allow Search on Enter */"
|
2009-11-03 15:38:57 +03:00
|
|
|
onload="searchOnLoad();"
|
|
|
|
onunload="onSearchStop(); searchOnUnload();">
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
<stringbundle id="bundle_search" src="chrome://messenger/locale/search.properties"/>
|
|
|
|
<stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
|
|
|
|
<stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
|
|
|
|
|
2008-09-17 16:52:38 +04:00
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://messenger/content/mailWindow.js"/>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://messenger/content/threadPane.js"/>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://messenger/content/msgMail3PaneWindow.js"/>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://global/content/globalOverlay.js"/>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://messenger/content/mailCommands.js"/>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://messenger/content/mailWindowOverlay.js"/>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://messenger/content/commandglue.js"/>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://messenger/content/SearchDialog.js"/>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://messenger/content/messengerdnd.js"/>
|
2009-09-01 01:46:26 +04:00
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://messenger/content/tabmail.js"/>
|
2011-05-07 13:29:59 +04:00
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://messenger/content/folderDisplay.js"/>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://global/content/contentAreaUtils.js"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
<commands id="commands">
|
|
|
|
<commandset id="mailSearchItems"
|
|
|
|
commandupdater="true"
|
|
|
|
events="mail-search"
|
|
|
|
oncommandupdate="goUpdateSearchItems(this)">
|
2011-11-05 02:43:36 +04:00
|
|
|
<command id="cmd_openMessage" oncommand="goDoCommand('cmd_openMessage');" disabled="true"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<command id="button_delete" oncommand="goDoCommand('button_delete')" disabled="true"/>
|
|
|
|
<command id="goto_folder_button" oncommand="goDoCommand('goto_folder_button')" disabled="true"/>
|
|
|
|
<command id="saveas_vf_button" oncommand="goDoCommand('saveas_vf_button')" disabled="false"/>
|
|
|
|
<command id="file_message_button"/>
|
|
|
|
<command id="cmd_delete"/>
|
|
|
|
<command id="cmd_shiftDelete" oncommand="goDoCommand('cmd_shiftDelete');"/>
|
|
|
|
</commandset>
|
|
|
|
</commands>
|
|
|
|
|
2011-11-05 02:43:36 +04:00
|
|
|
<keyset id="mailKeys"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
|
|
|
<broadcasterset id="mailBroadcasters">
|
|
|
|
<broadcaster id="Communicator:WorkMode"/>
|
|
|
|
</broadcasterset>
|
|
|
|
|
|
|
|
<dummy class="usesMailWidgets"/>
|
2009-11-03 15:38:57 +03:00
|
|
|
|
2008-07-22 16:21:15 +04:00
|
|
|
<vbox id="searchTerms" flex="3" persist="height">
|
|
|
|
<vbox>
|
|
|
|
<hbox align="center">
|
|
|
|
<label value="&searchHeading.label;" accesskey="&searchHeading.accesskey;"
|
|
|
|
control="searchableFolders"/>
|
|
|
|
<menulist id="searchableFolders" flex="2">
|
|
|
|
<menupopup class="searchPopup" oncommand="updateSearchFolderPicker(this.getAttribute('uri'));"/>
|
|
|
|
</menulist>
|
|
|
|
<spacer flex="10"/>
|
|
|
|
<button id="search-button" oncommand="onSearchButton(event);" default="true"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox align="center">
|
|
|
|
<checkbox id="checkSearchSubFolders" label="&searchSubfolders.label;" checked="true" accesskey="&searchSubfolders.accesskey;"/>
|
2009-11-03 15:38:57 +03:00
|
|
|
<checkbox id="checkSearchLocalSystem"
|
|
|
|
label="&searchLocalSystem.label;"
|
|
|
|
accesskey="&searchLocalSystem.accesskey;"
|
|
|
|
persist="checked"
|
|
|
|
oncommand="updateSearchLocalSystem();"/>
|
|
|
|
<spacer flex="1"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<button label="&resetButton.label;" oncommand="onResetSearch(event);" accesskey="&resetButton.accesskey;"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
|
|
|
|
<hbox flex="1">
|
|
|
|
<vbox id="searchTermListBox" flex="1"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2009-11-03 15:38:57 +03:00
|
|
|
|
2008-07-22 16:21:15 +04:00
|
|
|
<splitter id="gray_horizontal_splitter" collapse="after" persist="state">
|
|
|
|
<grippy/>
|
|
|
|
</splitter>
|
2009-11-03 15:38:57 +03:00
|
|
|
|
2008-07-22 16:21:15 +04:00
|
|
|
<vbox id="searchResults" flex="4" persist="height">
|
2009-11-03 15:38:57 +03:00
|
|
|
<vbox id="searchResultListBox" flex="1">
|
2008-07-22 16:21:15 +04:00
|
|
|
<tree id="threadTree" flex="1" context="threadPaneContext"/>
|
|
|
|
</vbox>
|
2009-11-03 15:38:57 +03:00
|
|
|
<hbox align="center">
|
|
|
|
|
2011-11-05 02:43:36 +04:00
|
|
|
<button label="&openButton.label;" id="openButton" command="cmd_openMessage" accesskey="&openButton.accesskey;"/>
|
2009-11-03 15:38:57 +03:00
|
|
|
<button id="fileMessageButton"
|
|
|
|
type="menu"
|
|
|
|
label="&fileButton.label;"
|
2008-07-22 16:21:15 +04:00
|
|
|
accesskey="&fileButton.accesskey;"
|
|
|
|
observes="file_message_button"
|
|
|
|
sortResource="http://home.netscape.com/NC-rdf#FolderTreeName"
|
|
|
|
sortDirection="ascending"
|
|
|
|
datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
|
2009-11-03 15:38:57 +03:00
|
|
|
ref="msgaccounts:/"
|
|
|
|
oncommand="MoveMessageInSearch(event.target);">
|
2008-07-22 16:21:15 +04:00
|
|
|
<menupopup/>
|
2009-11-03 15:38:57 +03:00
|
|
|
<template>
|
2008-07-22 16:21:15 +04:00
|
|
|
<rule nc:NoSelect="true" iscontainer="true" isempty="false">
|
|
|
|
<menupopup>
|
2009-11-03 15:38:57 +03:00
|
|
|
<menu uri="..."
|
|
|
|
class="folderMenuItem menu-iconic"
|
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name">
|
2008-07-22 16:21:15 +04:00
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&fileHereMenu.label;" accesskey="&fileHereMenu.accesskey;" disabled="true"/>
|
|
|
|
<menuseparator/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
2009-11-03 15:38:57 +03:00
|
|
|
</rule>
|
2008-07-22 16:21:15 +04:00
|
|
|
<rule nc:NoSelect="true">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." class="folderMenuItem menu-iconic" label="rdf:http://home.netscape.com/NC-rdf#Name" disabled="true"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule nc:CanFileMessages="true" iscontainer="true" isempty="false">
|
|
|
|
<menupopup>
|
|
|
|
<menu uri="..." class="folderMenuItem menu-iconic" label="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"
|
|
|
|
IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
|
|
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
|
|
<menupopup>
|
2009-11-03 15:38:57 +03:00
|
|
|
<menuitem file-uri="..."
|
|
|
|
label="&fileHereMenu.label;"
|
|
|
|
accesskey="&fileHereMenu.accesskey;"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<menuseparator/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule nc:CanFileMessagesOnServer="false">
|
|
|
|
<!-- don't show servers (nntp & any others) which does not allow message filing -->
|
|
|
|
<!-- File, Move & Copy menus -->
|
|
|
|
</rule>
|
|
|
|
<rule nc:CanFileMessages="false" iscontainer="true" isempty="false">
|
|
|
|
<!-- note, there is no "file here" -->
|
|
|
|
<menupopup>
|
|
|
|
<menu uri="..." class="folderMenuItem menu-iconic" label="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"
|
|
|
|
IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
|
|
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
|
|
|
|
<menupopup/>
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule nc:CanFileMessages="true">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." class="folderMenuItem menuitem-iconic" label="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"
|
|
|
|
IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
|
|
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
</button>
|
|
|
|
|
2009-11-03 15:38:57 +03:00
|
|
|
<button id="deleteButton"
|
|
|
|
label="&deleteButton.label;"
|
|
|
|
accesskey="&deleteButton.accesskey;"
|
|
|
|
command="button_delete"/>
|
|
|
|
<button id="goToFolderButton"
|
|
|
|
label="&goToFolderButton.label;"
|
|
|
|
accesskey="&goToFolderButton.accesskey;"
|
|
|
|
command="goto_folder_button"/>
|
|
|
|
<button id="saveAsVFButton"
|
|
|
|
label="&saveAsVFButton.label;"
|
|
|
|
accesskey="&saveAsVFButton.accesskey;"
|
|
|
|
command="saveas_vf_button"/>
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<button dlgtype="help" class="dialog-button"/>
|
|
|
|
</hbox>
|
2008-07-22 16:21:15 +04:00
|
|
|
</vbox>
|
|
|
|
|
2009-11-03 15:38:57 +03:00
|
|
|
<statusbar id="status-bar" class="chromeclass-status">
|
|
|
|
<statusbarpanel id="statusbar-progresspanel"
|
|
|
|
class="statusbarpanel-progress"
|
|
|
|
collapsed="true">
|
|
|
|
<progressmeter id="statusbar-icon"
|
|
|
|
class="progressmeter-statusbar"
|
|
|
|
mode="normal"
|
|
|
|
value="0"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</statusbarpanel>
|
|
|
|
<statusbarpanel id="statusText" crop="right" flex="1"/>
|
2009-11-03 15:38:57 +03:00
|
|
|
<statusbarpanel id="offline-status" class="statusbarpanel-iconic"/>
|
|
|
|
</statusbar>
|
2008-07-22 16:21:15 +04:00
|
|
|
|
2009-11-03 15:38:57 +03:00
|
|
|
</dialog>
|