home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Chrome / comm.jar / content / communicator / bookmarks / bm-panel.xul < prev    next >
Extensible Markup Language  |  2003-06-08  |  4KB  |  95 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.org code.
  15.  
  16.   The Initial Developer of the Original Code is Netscape
  17.   Communications Corporation.  Portions created by Netscape are
  18.   Copyright (C) 1998 Netscape Communications Corporation. All
  19.   Rights Reserved.
  20.  
  21.   Contributor(s): 
  22.     Ben Goodger <ben@netscape.com> (Original Author, v2.0)
  23.  
  24. -->
  25.  
  26. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  27. <?xml-stylesheet href="chrome://communicator/skin/sidebar/sidebarListView.css" type="text/css"?>
  28. <?xml-stylesheet href="chrome://communicator/skin/bookmarks/bookmarksWindow.css" type="text/css"?>
  29. <?xml-stylesheet href="chrome://communicator/content/bookmarks/bookmarks.css" type="text/css"?>
  30.  
  31. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  32. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  33. <?xul-overlay href="chrome://communicator/content/bookmarks/bookmarksOverlay.xul"?>
  34. <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  35. <?xul-overlay href="chrome://communicator/content/communicatorOverlay.xul"?>
  36.  
  37. <!DOCTYPE page SYSTEM "chrome://communicator/locale/bookmarks/bookmarks.dtd">
  38.  
  39. <page id="bookmarksPanel"
  40.         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  41.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  42.         onload="Startup();" elementtofocus="bookmarks-view">
  43.  
  44.   <!-- XXX - would like to cut this dependency out -->
  45.   <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  46.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  47.  
  48.   <!-- Bookmarks Shell -->
  49.   <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksOverlay.js"/>
  50.   <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksPanel.js"/>
  51.  
  52.   <!-- Drag and Drop -->
  53.   <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  54.   <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  55.   <script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksDD.js"/>
  56.  
  57.  
  58.   <!-- context menu, tooltips, etc -->
  59.   <popupset id="bookmarksPopupset"/>
  60.   
  61.   <!-- bookmarks string bundle -->
  62.   <stringbundleset id="stringbundleset"/>
  63.   
  64.   <!-- bookmarks & edit commands -->
  65.   <commands id="commands">
  66.     <commandset id="CommandUpdate_Bookmarks"
  67.                 commandupdater="true"
  68.                 events="click,focus"
  69.                 oncommandupdate="document.getElementById('bookmarks-view').onCommandUpdate();">
  70.     </commandset>                
  71.     <commandset id="bookmarksItems"/>
  72.   </commands>
  73.   
  74.   <hbox id="panel-bar" class="toolbar">
  75.     <toolbarbutton id="btnAddBookmark" label="&command.addBookmark.label;"
  76.             oncommand="addBookmark();"/>
  77.     <toolbarbutton id="btnManageBookmarks" label="&command.manageBookmarks.label;"
  78.             oncommand="manageBookmarks();"/>
  79.     <spacer flex="1"/>
  80.     <toolbarseparator/>
  81.     <toolbarbutton id="btnFindBookmarks" label="&command.findBookmarks.label;"
  82.             oncommand="document.getElementById('bookmarks-view').openFindDialog();"/>
  83.   </hbox>
  84.  
  85.   <hbox id="search-bar" class="toolbar" align="center">
  86.     <label value="&find.label;" accesskey="&find.accesskey;" control="search-box"/>
  87.     <textbox id="search-box" flex="1"
  88.              type="timed" timeout="500"
  89.              callback="document.getElementById('bookmarks-view').searchBookmarks(document.getElementById('search-box').value)"/>
  90.   </hbox>
  91.   
  92.   <bookmarks-tree id="bookmarks-view" class="sidebar" type="single-column" flex="1"/>
  93.  
  94. </page>
  95.