1999-11-30 01:03:28 +00:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
|
1999-06-23 03:02:21 +00:00
|
|
|
<!--
|
|
|
|
|
1999-11-06 03:43:54 +00:00
|
|
|
The contents of this file are subject to the Netscape Public
|
|
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
|
|
except in compliance with the License. You may obtain a copy of
|
|
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
implied. See the License for the specific language governing
|
|
|
|
rights and limitations under the License.
|
|
|
|
|
|
|
|
The Original Code is mozilla.org code.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
1999-06-23 03:02:21 +00:00
|
|
|
Communications Corporation. Portions created by Netscape are
|
1999-11-06 03:43:54 +00:00
|
|
|
Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
1999-06-23 03:02:21 +00:00
|
|
|
|
|
|
|
-->
|
|
|
|
|
1999-12-05 08:45:01 +00:00
|
|
|
<?xml-stylesheet href="chrome://history/skin/" type="text/css"?>
|
1999-11-30 01:03:28 +00:00
|
|
|
<?xml-stylesheet href="chrome://bookmarks/skin/manage-bookmarks.css" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?>
|
1999-06-11 07:22:37 +00:00
|
|
|
|
1999-08-06 17:35:10 +00:00
|
|
|
<!DOCTYPE window SYSTEM "chrome://history/locale/history.dtd" >
|
1999-11-30 01:03:28 +00:00
|
|
|
<window title="&historyWindowTitle.label;" id="bookmark-window" onunload="doUnload()"
|
1999-06-11 07:22:37 +00:00
|
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
1999-11-30 01:03:28 +00:00
|
|
|
xmlns:web="http://home.netscape.com/WEB-rdf#"
|
1999-08-05 05:11:42 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
1999-11-30 01:03:28 +00:00
|
|
|
width="500" height="400" x="20" y="20" persist="width height x y" align="vertical"
|
|
|
|
ondraggesture="return TopLevelDrag(event);">
|
1999-08-05 05:11:42 +00:00
|
|
|
|
1999-11-30 01:03:28 +00:00
|
|
|
<html:script src="chrome://bookmarks/content/bookmarks.js"/>
|
1999-06-11 07:22:37 +00:00
|
|
|
|
|
|
|
<menubar>
|
1999-07-31 02:55:09 +00:00
|
|
|
<menu value="&fileMenu.label;">
|
1999-08-05 05:11:42 +00:00
|
|
|
<menupopup>
|
1999-11-30 01:03:28 +00:00
|
|
|
<menuitem value="&closeCmd.label;" oncommand="window.close()"/>
|
1999-08-05 05:11:42 +00:00
|
|
|
</menupopup>
|
1999-06-11 07:22:37 +00:00
|
|
|
</menu>
|
1999-07-31 02:55:09 +00:00
|
|
|
<menu value="&editMenu.label;">
|
1999-08-05 05:11:42 +00:00
|
|
|
<menupopup>
|
|
|
|
<menuitem value="&undoCmd.label;"/>
|
|
|
|
<menuitem value="&redoCmd.label;"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem value="&cutCmd.label;"/>
|
|
|
|
<menuitem value="©Cmd.label;"/>
|
|
|
|
<menuitem value="&pasteCmd.label;"/>
|
|
|
|
<menuitem value="&deleteCmd.label;"/>
|
|
|
|
<menuitem value="&selAllCmd.label;"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem value="&findHisCmd.label;"/>
|
|
|
|
<menuitem value="&findAgainCmd.label;"/>
|
|
|
|
</menupopup>
|
1999-06-11 07:22:37 +00:00
|
|
|
</menu>
|
|
|
|
</menubar>
|
|
|
|
|
1999-11-30 01:03:28 +00:00
|
|
|
<popupset>
|
|
|
|
<popup id="contextual" oncreate="return fillContextMenu('contextual');" >
|
|
|
|
<menu />
|
|
|
|
</popup>
|
|
|
|
</popupset>
|
1999-08-05 05:11:42 +00:00
|
|
|
|
1999-11-30 01:03:28 +00:00
|
|
|
<html:div style="width: 100px; height: 100px;" flex="1">
|
|
|
|
<tree id="bookmarksTree" ref="NC:HistoryRoot" context="contextual"
|
|
|
|
datasources="rdf:history rdf:localsearch"
|
|
|
|
style="width:100%;height:100%"
|
|
|
|
ondragover="return DragOverTree(event);"
|
|
|
|
ondraggesture="return BeginDragTree(event);"
|
|
|
|
ondragdrop="return DropOnTree(event);">
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<treechildren>
|
|
|
|
<treeitem uri="..." rdf:type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type" loading="rdf:http://home.netscape.com/NC-rdf#loading">
|
|
|
|
<treerow>
|
|
|
|
<treecell><html:hr width="100%" align="center" size="1" /></treecell>
|
|
|
|
<treecell><html:hr width="100%" align="center" size="1" /></treecell>
|
|
|
|
<treecell><html:hr width="100%" align="center" size="1" /></treecell>
|
|
|
|
<treecell><html:hr width="100%" align="center" size="1" /></treecell>
|
|
|
|
<treecell><html:hr width="100%" align="center" size="1" /></treecell>
|
|
|
|
<treecell><html:hr width="100%" align="center" size="1" /></treecell>
|
|
|
|
<treecell><html:hr width="100%" align="center" size="1" /></treecell>
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
</treechildren>
|
|
|
|
</rule>
|
1999-08-05 05:11:42 +00:00
|
|
|
|
1999-11-30 01:03:28 +00:00
|
|
|
<rule>
|
|
|
|
<treechildren onclick="if (event.clickCount == 2) return OpenURL(event, event.target.parentNode.parentNode, 'bookmarksTree');"
|
|
|
|
>
|
|
|
|
<treeitem uri="..." persist="open" web:status="rdf:http://home.netscape.com/WEB-rdf#status" rdf:type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type" loading="rdf:http://home.netscape.com/NC-rdf#loading">
|
|
|
|
<treerow>
|
|
|
|
<treecell value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
|
|
indent="true" />
|
|
|
|
<treecell value="rdf:http://home.netscape.com/NC-rdf#URL"/>
|
|
|
|
<treecell value="rdf:http://home.netscape.com/NC-rdf#Date"/>
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
1999-07-27 17:20:28 +00:00
|
|
|
</treechildren>
|
1999-11-30 01:03:28 +00:00
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<treecol persist="width" id="NameColumn" sortSeparators="true" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
<treecol persist="width" id="URLColumn" sortSeparators="true" rdf:resource="http://home.netscape.com/NC-rdf#URL"/>
|
|
|
|
<treecol persist="width" id="ShortcutURLColumn" sortSeparators="true" rdf:resource="http://home.netscape.com/NC-rdf#Date"/>
|
1999-08-05 05:11:42 +00:00
|
|
|
|
1999-11-30 01:03:28 +00:00
|
|
|
<treehead>
|
|
|
|
<treerow>
|
|
|
|
<treecell value="&tree.header.name.label;" onclick="return doSort('NameColumn');" observes="NameColumn" />
|
|
|
|
<treecell value="&tree.header.url.label;" onclick="return doSort('URLColumn');" observes="URLColumn" />
|
|
|
|
<treecell value="&tree.header.date.label;" onclick="return doSort('DateColumn');" observes="DateColumn" />
|
|
|
|
</treerow>
|
|
|
|
</treehead>
|
|
|
|
</tree>
|
|
|
|
</html:div>
|
1999-06-11 07:22:37 +00:00
|
|
|
|
1999-11-30 01:03:28 +00:00
|
|
|
<!--
|
|
|
|
pinkerton
|
|
|
|
This extra "status" bar is necessary because the bottom right corner of the window on MacOS is
|
|
|
|
taken up by the growBox. If this window had a horizontal scrollbar, we'd be alright, but since
|
|
|
|
it doesn't the bottom arrow on the vertical scrollbar was being hidden by this growBox. To
|
|
|
|
combat this, we can just stick in a 16px high bar to bump up the bottom of the tree so that
|
|
|
|
the scrollbar is visible. Yes, I know this is not necessary for win32 or gtk, but we can
|
|
|
|
use this area for information (maybe full URL of selected item or the like) in the future.
|
|
|
|
-->
|
|
|
|
<box id="status-bar" style="min-height:16px; max-height:16px;">
|
|
|
|
<titledbutton class="status-bar" align="left" value=""/>
|
|
|
|
</box>
|
1999-06-11 07:22:37 +00:00
|
|
|
|
|
|
|
</window>
|