home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / comm.jar / content / editor / sb-bookmarks-panel.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-08-06  |  2.7 KB  |  81 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
  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, released
  15.    - March 31, 1998.
  16.    - 
  17.    - The Initial Developer of the Original Code is Netscape
  18.    - Communications Corporation. Portions created by Netscape are
  19.    - Copyright (C) 1999 Netscape Communications Corporation. All
  20.    - Rights Reserved.
  21.    - 
  22.    - Contributor(s): 
  23.    -    Ben Goodger
  24.   -->
  25.  
  26. <?xml-stylesheet href="chrome://communicator/skin/sidebar/sidebar.css" type="text/css"?>
  27. <?xml-stylesheet href="chrome://communicator/skin/bookmarks/bookmarks.css" type="text/css"?>
  28.  
  29. <window
  30.   xmlns:html="http://www.w3.org/1999/xhtml"
  31.   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  32.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  33.  
  34.   <script src="chrome://editor/content/sb-bookmarks.js"/>
  35.  
  36. <popup id="contextual" onpopupshowing="return fillContextMenu('contextual');" >
  37.   <menu />
  38. </popup>
  39.  
  40. <tree id="bookmarksTree" context="contextual" ref="NC:BookmarksRoot"
  41.    flex="1" style="height: 100%"
  42.    datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch" 
  43.    ondblclick="return OpenURL(event, event.target.parentNode.parentNode);">
  44.  
  45.   <!-- Commented out until new tree content model and template builder can play nice -->
  46.   <template>
  47.     <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
  48.       <treechildren flex="1">
  49.         <treeitem uri="...">
  50.           <treerow>
  51.             <treecell>
  52.               <html:hr width="75%" align="center" size="1" />
  53.             </treecell>
  54.           </treerow>
  55.         </treeitem>     
  56.       </treechildren>
  57.     </rule>
  58.     
  59.     <rule>
  60.       <treechildren flex="1">
  61.         <treeitem uri="...">
  62.           <treerow>
  63.             <treecell>
  64.               <treeindentation />
  65.               <button label="rdf:http://home.netscape.com/NC-rdf#Name"
  66.                             align="left" />
  67.             </treecell>
  68.           </treerow>
  69.         </treeitem>
  70.       </treechildren>
  71.     </rule>
  72.   </template>
  73.  
  74.   <treecolgroup>
  75.     <treecol id="NameColumn" resource="http://home.netscape.com/NC-rdf#Name" flex="1"/>
  76.   </treecolgroup>
  77. </tree>
  78.  
  79. </window>
  80.  
  81.