home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-mac-0.9.sea.hqx / mozilla-mac-0.9 / Chrome / messenger.jar / content / messenger / searchTermOverlay.xul < prev    next >
Extensible Markup Language  |  2001-05-05  |  3KB  |  94 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.  The contents of this file are subject to the Netscape Public
  5.  License Version 1.1 (the "License"); you may not use this file
  6.  except in compliance with the License. You may obtain a copy of
  7.  the License at http://www.mozilla.org/NPL/
  8.  
  9.  Software distributed under the License is distributed on an "AS
  10.  IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.  implied. See the License for the specific language governing
  12.  rights and limitations under the License.
  13.  
  14.  The Original Code is Mozilla Communicator client code.
  15.  
  16.  The Initial Developer of the Original Code is Netscape Communications
  17.  Corporation.  Portions created by Netscape are
  18.  Copyright (C) 1998 Netscape Communications Corporation. All
  19.  Rights Reserved.
  20.  
  21.  Contributor(s):
  22.  Alec Flett <alecf@netscape.com>
  23. -->
  24.  
  25. <!DOCTYPE window SYSTEM "chrome://messenger/locale/searchTermOverlay.dtd" >
  26.  
  27. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  28.  
  29.   <script src="chrome://messenger/content/searchTermOverlay.js"/>
  30.  
  31.   <box orient="vertical" id="searchTermListBox">
  32.  
  33.  
  34.     <radiogroup class="indent" id="booleanAndGroup" autostretch="never"
  35.                 selectedItem="or" oncommand="booleanChanged(event);">
  36.       <radio group="booleanAndGroup" value="and" label="&matchAll.label;"/>
  37.       <radio group="booleanAndGroup" checked="true" value="or" label="&matchAny.label;"/>
  38.     </radiogroup>
  39.  
  40.     <separator class="thin"/>
  41.     
  42.     <box flex="1">
  43.       <box id="searchterms"/>
  44.       <tree class="inset" flex="1" id="searchTermTree" style="height: 100px; min-height: 50px;">
  45.         <treecolgroup>
  46.           <treecol flex="1"/>
  47.           <treecol flex="4"/>
  48.           <treecol flex="0"/>
  49.           <treecol flex="4"/>
  50.           <treecol flex="0"/>
  51.           <treecol flex="4"/>
  52.           <treecol flex="0"/>
  53.         </treecolgroup>
  54.  
  55.         <treechildren flex="1" id="searchTermList">
  56.  
  57.         <!-- this is what the treerows will look like:
  58.           <treeitem id="searchListItem">
  59.             <treerow>
  60.               <treecell id="preSearchAttr"/>
  61.               <treecell allowevents="true">
  62.                 <searchattribute id="searchAttr" for="searchOp,searchValue" flex="1"/>
  63.               </treecell>
  64.               <treecell id="preSearchOp"/>
  65.               <treecell allowevents="true">
  66.                 <searchoperator id="searchOp" flex="1"/>
  67.               </treecell>
  68.               <treecell id="preSearchValue"/>
  69.               <treecell allowevents="true" >
  70.                 <searchvalue id="searchValue" flex="1"/>
  71.               </treecell>
  72.               <treecell id="postSearchValue"/>
  73.             </treerow>
  74.           </treeitem>
  75.           <treeitem>
  76.             <treerow>
  77.               <treecell label="the.."/>
  78.               <treecell label="contains.."/>
  79.               <treecell label="text here"/>
  80.             </treerow>
  81.           </treeitem>
  82.         -->
  83.         
  84.         </treechildren>
  85.       </tree>
  86.     </box>
  87.     <box>
  88.       <button id="more" label="&more.label;" oncommand="onMore(event);"/>
  89.       <button id="less" label="&less.label;" disabled="true" oncommand="onLess(event);"/>
  90.     </box>
  91.   </box>
  92.  
  93. </overlay>
  94.