2008-07-22 16:21:15 +04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2012-05-30 20:48:24 +04:00
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
2008-07-22 16:21:15 +04:00
|
|
|
<?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"
|
|
|
|
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/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"/>
|
2014-06-08 18:12:38 +04: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"/>
|
2014-06-08 18:12:38 +04:00
|
|
|
<menulist id="searchableFolders" flex="2"
|
|
|
|
class="folderMenuItem"
|
|
|
|
displayformat="verbose">
|
|
|
|
<menupopup class="searchPopup menulist-menupopup"
|
|
|
|
type="folder"
|
|
|
|
mode="search"
|
|
|
|
showAccountsFileHere="true"
|
|
|
|
showFileHereLabel="true"
|
|
|
|
oncommand="updateSearchFolderPicker(event.target.id);"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</menulist>
|
2013-06-15 19:28:34 +04:00
|
|
|
<checkbox id="checkSearchSubFolders"
|
|
|
|
label="&searchSubfolders.label;"
|
|
|
|
checked="true"
|
|
|
|
accesskey="&searchSubfolders.accesskey;"/>
|
|
|
|
<spacer flex="3"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
<button id="search-button" oncommand="onSearchButton(event);" default="true"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox align="center">
|
2013-06-15 19:28:34 +04:00
|
|
|
<label id="searchOnHeading"
|
|
|
|
value="&searchOnHeading.label;"
|
|
|
|
accesskey="&searchOnHeading.accesskey;"
|
|
|
|
control="menuSearchLocalSystem">
|
|
|
|
<observes element="menuSearchLocalSystem"
|
|
|
|
attribute="disabled"/>
|
|
|
|
</label>
|
|
|
|
<menulist id="menuSearchLocalSystem"
|
|
|
|
persist="value"
|
|
|
|
oncommand="updateSearchLocalSystem();">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem id="menuOnRemote"
|
|
|
|
value="remote"
|
|
|
|
label="&searchOnRemote.label;"/>
|
|
|
|
<menuitem id="menuOnLocal"
|
|
|
|
value="local"
|
|
|
|
label="&searchOnLocal.label;"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
2009-11-03 15:38:57 +03:00
|
|
|
<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>
|
2014-06-08 18:12:38 +04:00
|
|
|
|
2012-04-25 03:19:23 +04:00
|
|
|
<splitter id="gray_horizontal_splitter" persist="state">
|
2008-07-22 16:21:15 +04:00
|
|
|
<grippy/>
|
|
|
|
</splitter>
|
2014-06-08 18:12:38 +04:00
|
|
|
|
|
|
|
<vbox id="searchResults" flex="4" persist="height">
|
|
|
|
<vbox id="searchResultListBox" flex="1">
|
|
|
|
<tree id="threadTree"/>
|
|
|
|
</vbox>
|
|
|
|
<hbox align="center">
|
|
|
|
|
|
|
|
<button id="openButton"
|
|
|
|
label="&openButton.label;"
|
|
|
|
command="cmd_openMessage"
|
|
|
|
accesskey="&openButton.accesskey;"/>
|
|
|
|
<button id="fileMessageButton"
|
|
|
|
type="menu"
|
|
|
|
label="&moveButton.label;"
|
|
|
|
accesskey="&moveButton.accesskey;"
|
2015-03-05 20:10:30 +03:00
|
|
|
observes="file_message_button"
|
|
|
|
oncommand="MoveMessageInSearch(event.target);">
|
2014-06-08 18:12:38 +04:00
|
|
|
<menupopup type="folder"
|
|
|
|
showFileHereLabel="true"
|
2015-03-05 20:10:30 +03:00
|
|
|
mode="filing"
|
|
|
|
fileHereLabel="&moveHereMenu.label;"
|
|
|
|
fileHereAccessKey="&moveHereMenu.accesskey;"/>
|
2008-07-22 16:21:15 +04:00
|
|
|
</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>
|