home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / phoenx05.zip / phoenix / chrome / browser.jar / content / browser / bookmarks / bookmarksPanel.xul < prev    next >
Extensible Markup Language  |  2002-10-26  |  4KB  |  64 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- --> 
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://browser/content/bookmarks/bookmarks.css" type="text/css"?>
  5. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  6. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  7.  
  8. <!DOCTYPE window SYSTEM "chrome://browser/locale/bookmarks/bookmarks.dtd">
  9.  
  10. <page id="bookmarksPanel"
  11.         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  12.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.         onload="Startup();" elementtofocus="bookmarks-view">
  14.  
  15.   <!-- Shared libraries XXX - would like to cut this dependency out -->
  16.   <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  17.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  18.  
  19.   <!-- Shared Bookmarks Utility Library -->
  20.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarks.js"/>
  21.   <!-- Bookmarks Panel -->
  22.   <script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarksPanel.js"/>
  23.  
  24.   <!-- Bookmarks Panel Drag and Drop -->
  25.   <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  26.   <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  27.  
  28.   <script type="application/x-javascript" src="chrome://browser/content/contentAreaUtils.js"/>
  29.  
  30.   <!-- bookmarks & edit commands -->
  31.   <commands id="commands">
  32.     <commandset id="bookmarksItems">
  33.       <command id="cmd_bm_open"                      oncommand="goDoCommand('cmd_bm_open');"/>
  34.       <command id="cmd_bm_openinnewwindow"           oncommand="goDoCommand('cmd_bm_openinnewwindow');"/>
  35.       <command id="cmd_bm_openinnewtab"              oncommand="goDoCommand('cmd_bm_openinnewtab');"/>
  36.       <command id="cmd_bm_expandfolder"              oncommand="goDoCommand('cmd_bm_expandfolder');"/>
  37.       <command id="cmd_bm_openfolder"                oncommand="goDoCommand('cmd_bm_openfolder');"/>
  38.       <command id="cmd_bm_managefolder"              oncommand="goDoCommand('cmd_bm_managefolder');"/>
  39.       <command id="cmd_bm_newfolder"                 oncommand="goDoCommand('cmd_bm_newfolder');"/>
  40.       <command id="cmd_bm_newbookmark"               oncommand="goDoCommand('cmd_bm_newbookmark');"/>
  41.       <command id="cmd_bm_newseparator"              oncommand="goDoCommand('cmd_bm_newseparator');"/>
  42.       <command id="cmd_bm_find"                      oncommand="goDoCommand('cmd_bm_find');"/>
  43.       <command id="cmd_bm_properties"                oncommand="goDoCommand('cmd_bm_properties');"/>
  44.       <command id="cmd_bm_cut"                       oncommand="goDoCommand('cmd_bm_cut');"/>
  45.       <command id="cmd_bm_copy"                      oncommand="goDoCommand('cmd_bm_copy');"/>
  46.       <command id="cmd_bm_paste"                     oncommand="goDoCommand('cmd_bm_paste');"/>
  47.       <command id="cmd_bm_delete"                    oncommand="goDoCommand('cmd_bm_delete');"/>
  48.       <command id="cmd_bm_selectAll"                 oncommand="goDoCommand('cmd_bm_selectAll');"/>
  49.     </commandset>
  50.   </commands>
  51.   
  52.   <hbox align="center">
  53.     <label value="&find.label;" accesskey="&find.accesskey;" control="search-box"/>
  54.     <textbox id="search-box" flex="1"
  55.              type="timed" timeout="500"
  56.              callback="document.getElementById('bookmarks-view').searchBookmarks(gSearchBox.value);"/>
  57.   </hbox>
  58.   <bookmarks-tree id="bookmarks-view" type="single-column" flex="1"
  59.                   onkeypress="if (event.keyCode == 13) this.loadBookmarkBrowser(event);"
  60.                   ondraggesture="if (event.originalTarget.localName == 'treechildren') nsDragAndDrop.startDrag(event, this.DNDObserver);"
  61.                   onclick="this.openItem(event, 1);"/>
  62.  
  63. </page>
  64.