home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / mozil06.zip / bin / chrome / messenger.jar / content / messenger / FilterEditor.xul < prev    next >
Extensible Markup Language  |  2001-02-14  |  3KB  |  88 lines

  1. <?xml version="1.0"?>
  2. <!--
  3. The contents of this file are subject to the Netscape Public
  4. License Version 1.1 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of
  6. the License at http://www.mozilla.org/NPL/
  7.  
  8. Software distributed under the License is distributed on an "AS
  9. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10. implied. See the License for the specific language governing
  11. rights and limitations under the License.
  12.  
  13. The Original Code is Mozilla Communicator client code, released
  14. March 31, 1998.
  15.  
  16. The Initial Developer of the Original Code is Netscape
  17. Communications Corporation. Portions created by Netscape are
  18.  Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19. Rights Reserved.
  20. -->
  21.  
  22. <?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
  23. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  24. <?xul-overlay href="chrome://messenger/content/msgFolderPickerOverlay.xul"?>
  25. <?xul-overlay href="chrome://messenger/content/searchTermOverlay.xul"?>
  26.  
  27. <!DOCTYPE window SYSTEM "chrome://messenger/locale/FilterEditor.dtd" >
  28. <window class="dialog"
  29.   id="FilterEditor"
  30.   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  31.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  32.   title="&window.title;"
  33.   orient="vertical"
  34.   style="width: 40em;"
  35.   persist="width height screenX screenY"
  36.   onload="filterEditorOnLoad('msgFccFolderPicker');">
  37.  
  38.   <dummy class="usesMailWidgets"/>
  39.   <script language="JavaScript" src="chrome://global/content/strres.js"/>
  40.   <script language="JavaScript" src="chrome://messenger/content/FilterEditor.js"/>
  41.  
  42.   <keyset id="keyset"/>
  43.   
  44.   <box autostretch="never">
  45.     <text class="label" value="&filterName.label;"/>
  46.     <textfield flex="1" id="filterName"/>
  47.   </box>
  48.  
  49.   <titledbox value="&conditions.label;" orient="vertical">
  50.     <text value="&conditionDesc.label;"/>
  51.     <box id="searchTermListBox" flex="1"/>
  52.   </titledbox>
  53.  
  54.   <titledbox autostretch="never" orient="horizontal">
  55.     <title value="&filterAction.label;"/>
  56.     <box orient="horizontal" flex="1">
  57.       <menulist id="actionMenu" oncommand="onActionChanged(event)">
  58.         <menupopup>
  59.           <menuitem data="1" actionvalueindex="0" value="&moveToFolder.label;"/>
  60.           <menuitem data="2" actionvalueindex="1" value="&changePriority.label;"/>
  61.           <menuitem data="3" actionvalueindex="2" value="&delete.label;"/>
  62.           <menuitem data="4" actionvalueindex="2" value="&markRead.label;"/>
  63.         </menupopup>
  64.       </menulist>
  65.       <deck id="actionValueDeck" flex="1">
  66.         <menulist id="actionTargetFolder" flex="1"
  67.                   oncommand="onTargetFolderSelected(event);"/>
  68.         <menulist id="actionValuePriority" flex="1">
  69.           <menupopup>
  70.             <!-- see MailNewsTypes2.idl -->
  71.             <menuitem data="6" value="&highestPriorityCmd.label;"/>
  72.             <menuitem data="5" value="&highPriorityCmd.label;"/>
  73.             <menuitem data="4" value="&normalPriorityCmd.label;"/>
  74.             <menuitem data="3" value="&lowPriorityCmd.label;"/>
  75.             <menuitem data="2" value="&lowestPriorityCmd.label;"/>
  76.           </menupopup>
  77.         </menulist>
  78.         <text id="actionValueNone" flex="1"/>
  79.       </deck>
  80.     </box>
  81.   </titledbox>
  82.  
  83.   <separator/>
  84.  
  85.   <box id="okCancelButtonsRight"/>
  86.  
  87. </window>
  88.