Move bookmarks to xpfe/components.
git-svn-id: svn://10.0.0.236/trunk@34763 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -42,10 +42,6 @@
|
||||
#define NS_RDFINMEMORYDATASOURCE_CID \
|
||||
{ 0xbfd0526d, 0x834c, 0x11d2, { 0x8e, 0xac, 0x0, 0x80, 0x5f, 0x29, 0xf3, 0x70 } }
|
||||
|
||||
// {E638D760-8687-11d2-B530-000000000000}
|
||||
#define NS_RDFBOOKMARKDATASOURCE_CID \
|
||||
{ 0xe638d760, 0x8687, 0x11d2, { 0xb5, 0x30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 } }
|
||||
|
||||
// {E638D760-8687-11d2-B530-000000000001}
|
||||
#define NS_RDFFILESYSTEMDATASOURCE_CID \
|
||||
{ 0xe638d760, 0x8687, 0x11d2, { 0xb5, 0x30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x01 } }
|
||||
|
||||
@@ -56,7 +56,6 @@ static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
|
||||
|
||||
static NS_DEFINE_CID(kGenericFactoryCID, NS_GENERICFACTORY_CID);
|
||||
static NS_DEFINE_CID(kLocalStoreCID, NS_LOCALSTORE_CID);
|
||||
static NS_DEFINE_CID(kRDFBookmarkDataSourceCID, NS_RDFBOOKMARKDATASOURCE_CID);
|
||||
static NS_DEFINE_CID(kRDFCompositeDataSourceCID, NS_RDFCOMPOSITEDATASOURCE_CID);
|
||||
static NS_DEFINE_CID(kRDFContainerCID, NS_RDFCONTAINER_CID);
|
||||
static NS_DEFINE_CID(kRDFContainerUtilsCID, NS_RDFCONTAINERUTILS_CID);
|
||||
@@ -185,10 +184,6 @@ RDFFactoryImpl::CreateInstance(nsISupports *aOuter,
|
||||
if (NS_FAILED(rv = NS_NewRDFXMLDataSource((nsIRDFXMLDataSource**) &inst)))
|
||||
return rv;
|
||||
}
|
||||
else if (mClassID.Equals(kRDFBookmarkDataSourceCID)) {
|
||||
if (NS_FAILED(rv = NS_NewRDFBookmarkDataSource((nsIRDFDataSource**) &inst)))
|
||||
return rv;
|
||||
}
|
||||
else if (mClassID.Equals(kRDFFileSystemDataSourceCID)) {
|
||||
if (NS_FAILED(rv = NS_NewRDFFileSystemDataSource((nsIRDFDataSource**) &inst)))
|
||||
return rv;
|
||||
@@ -358,11 +353,6 @@ NSRegisterSelf(nsISupports* aServMgr , const char* aPath)
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// register our build-in datasources:
|
||||
rv = compMgr->RegisterComponent(kRDFBookmarkDataSourceCID,
|
||||
"Bookmarks",
|
||||
NS_RDF_DATASOURCE_PROGID_PREFIX "bookmarks",
|
||||
aPath, PR_TRUE, PR_TRUE);
|
||||
if (NS_FAILED(rv)) goto done;
|
||||
rv = compMgr->RegisterComponent(kRDFCompositeDataSourceCID,
|
||||
"RDF Composite Data Source",
|
||||
NS_RDF_DATASOURCE_PROGID_PREFIX "composite-datasource",
|
||||
@@ -515,8 +505,6 @@ NSUnregisterSelf(nsISupports* aServMgr, const char* aPath)
|
||||
(nsISupports**)&compMgr);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = compMgr->UnregisterComponent(kRDFBookmarkDataSourceCID, aPath);
|
||||
if (NS_FAILED(rv)) goto done;
|
||||
rv = compMgr->UnregisterComponent(kRDFFileSystemDataSourceCID,aPath);
|
||||
if (NS_FAILED(rv)) goto done;
|
||||
rv = compMgr->UnregisterComponent(kRDFSearchDataSourceCID,aPath);
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
nsIBookmarkDataSource.h
|
||||
nsILocalStore.h
|
||||
nsIRDFFileSystem.h
|
||||
nsIRDFFind.h
|
||||
|
||||
@@ -25,7 +25,6 @@ include $(DEPTH)/config/autoconf.mk
|
||||
MODULE = rdf
|
||||
|
||||
EXPORTS = \
|
||||
nsIBookmarkDataSource.h \
|
||||
nsILocalStore.h \
|
||||
nsIRDFFileSystem.h \
|
||||
nsIRDFFind.h \
|
||||
|
||||
@@ -21,7 +21,6 @@ MODULE=rdf
|
||||
DEPTH=..\..\..
|
||||
|
||||
EXPORTS = \
|
||||
nsIBookmarkDataSource.h \
|
||||
nsILocalStore.h \
|
||||
nsIRDFFileSystem.h \
|
||||
nsIRDFFind.h \
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
The global bookmark data source.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef nsIRDFBookmarkDataSource_h__
|
||||
#define nsIRDFBookmarkDataSource_h__
|
||||
|
||||
#include "nscore.h"
|
||||
#include "nsIRDFDataSource.h"
|
||||
|
||||
// {a82e9300-e4af-11d2-8fdf-0008c70adc7b}
|
||||
#define NS_IRDFBOOKMARKDATASOURCE_IID \
|
||||
{ 0xa82e9300, 0xe4af, 0x11d2, { 0x8f, 0xdf, 0x0, 0x08, 0xc7, 0x0a, 0xdc, 0x7b } }
|
||||
|
||||
class nsIRDFBookmarkDataSource : public nsIRDFDataSource
|
||||
{
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IRDFBOOKMARKDATASOURCE_IID; return iid; }
|
||||
|
||||
/**
|
||||
* Add the specified item to bookmarks
|
||||
*/
|
||||
NS_IMETHOD AddBookmark (const char *aURI, const PRUnichar *aOptionalTitle) = 0;
|
||||
NS_IMETHOD FindBookmarkShortcut (const char *userInput, char **shortcutURL /* out */) = 0;
|
||||
};
|
||||
|
||||
#endif /* nsIRDFBookmarkDataSource_h__ */
|
||||
|
||||
@@ -27,7 +27,6 @@ include $(topsrcdir)/config/config.mk
|
||||
LIBRARY_NAME = rdfdatasource_s
|
||||
|
||||
CPPSRCS = \
|
||||
nsBookmarkDataSource.cpp \
|
||||
nsLocalStore.cpp \
|
||||
nsFileSystemDataSource.cpp \
|
||||
nsFindDataSource.cpp \
|
||||
|
||||
@@ -22,7 +22,6 @@ LIBRARY_NAME=rdfdatasource_s
|
||||
LCFLAGS=-DMOZ_BRPROF
|
||||
|
||||
CPP_OBJS=\
|
||||
.\$(OBJDIR)\nsBookmarkDataSource.obj \
|
||||
.\$(OBJDIR)\nsFileSystemDataSource.obj \
|
||||
.\$(OBJDIR)\nsFindDataSource.obj \
|
||||
.\$(OBJDIR)\nsFTPDataSource.obj \
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -32,10 +32,6 @@
|
||||
#include "nsError.h"
|
||||
|
||||
class nsIRDFDataSource;
|
||||
class nsIRDFDataBase;
|
||||
|
||||
// in nsBookmarkDataSource.cpp
|
||||
nsresult NS_NewRDFBookmarkDataSource(nsIRDFDataSource** result);
|
||||
|
||||
// in nsFileSystemDataSource.cpp
|
||||
nsresult NS_NewRDFFileSystemDataSource(nsIRDFDataSource** result);
|
||||
@@ -49,9 +45,6 @@ nsresult NS_NewRDFFindDataSource(nsIRDFDataSource** result);
|
||||
// in nsFTPDataSource.cpp
|
||||
nsresult NS_NewRDFFTPDataSource(nsIRDFDataSource** result);
|
||||
|
||||
// in nsRelatedLinksDataSource.cpp
|
||||
nsresult NS_NewRDFRelatedLinksDataSource(nsIRDFDataSource **result);
|
||||
|
||||
#endif // nsBuiltinDataSources_h__
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
@@ -27,17 +27,8 @@ include $(topsrcdir)/config/config.mk
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
FILES = \
|
||||
bookmarks.html \
|
||||
history.css \
|
||||
history.xul \
|
||||
bm-panel.xul \
|
||||
bm-props.xul \
|
||||
bookmark-folder-closed.gif \
|
||||
bookmark-folder-open.gif \
|
||||
bookmark-item.gif \
|
||||
bookmarks.css \
|
||||
bookmarks.js \
|
||||
bookmarks.xul \
|
||||
document.gif \
|
||||
dom-test-1.css \
|
||||
dom-test-1.xul \
|
||||
@@ -53,12 +44,9 @@ FILES = \
|
||||
flames.gif \
|
||||
folder-closed.gif \
|
||||
folder-open.gif \
|
||||
iefavorite.gif \
|
||||
ignore-test.xul \
|
||||
loading.gif \
|
||||
online.gif \
|
||||
personal-folder-closed.gif \
|
||||
personal-folder-open.gif \
|
||||
remote-flash-1.rdf \
|
||||
remote-flash-2.rdf \
|
||||
remote-flash-3.rdf \
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="resource:/res/rdf/sidebar.css" type="text/css"?>
|
||||
|
||||
<xul:window
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<html:script src="bookmarks.js"/>
|
||||
|
||||
<tree id="bookmarksTree"
|
||||
datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find"
|
||||
ondblclick="return OpenURL(event,event.target.parentNode);">
|
||||
|
||||
<template>
|
||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator"
|
||||
rootcontainment="treebody" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell>
|
||||
<html:hr width="75%" align="center" size="1" />
|
||||
</treecell>
|
||||
</treeitem>
|
||||
</rule>
|
||||
|
||||
<rule rootcontainment="treebody" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell>
|
||||
<treeindentation />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
|
||||
align="right" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#URL"
|
||||
align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
</treeitem>
|
||||
</rule>
|
||||
</template>
|
||||
|
||||
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
||||
<treecol id="URLColumn" rdf:resource="http://home.netscape.com/NC-rdf#URL"/>
|
||||
<treehead>
|
||||
<treeitem>
|
||||
<treecell onclick="return doSort('NameColumn');">
|
||||
<observes element="NameColumn" attribute="sortActive"/>
|
||||
<observes element="NameColumn" attribute="sortDirection"/>
|
||||
Name</treecell>
|
||||
<treecell onclick="return doSort('URLColumn');">
|
||||
<observes element="URLColumn" attribute="sortActive"/>
|
||||
<observes element="URLColumn" attribute="sortDirection"/>
|
||||
URL</treecell>
|
||||
</treeitem>
|
||||
</treehead>
|
||||
|
||||
<treebody id="NC:BookmarksRoot">
|
||||
</treebody>
|
||||
</tree>
|
||||
|
||||
</xul:window>
|
||||
|
||||
@@ -1,98 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="bookmarks.css" type="text/css"?>
|
||||
|
||||
<xul:window
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns="http://www.w3.org/TR/REC-html40"
|
||||
title="Bookmark Properties">
|
||||
|
||||
|
||||
<xul:data>
|
||||
<xul:broadcaster id="properties_node"/>
|
||||
<xul:broadcaster id="dialog.start" ready="false"/>
|
||||
<xul:observes element="dialog.start" attribute="ready" onchange="onLoad()"/>
|
||||
</xul:data>
|
||||
|
||||
<script>
|
||||
var node;
|
||||
var form_ids;
|
||||
var bm_attrs;
|
||||
|
||||
function onLoad() {
|
||||
node = new Object;
|
||||
node = document.getElementById("properties_node");
|
||||
|
||||
form_ids = new Array("name", "url", "shortcut", "description");
|
||||
bm_attrs = new Array("Name", "url", "ShortcutURL", "Description");
|
||||
|
||||
var element;
|
||||
var value;
|
||||
for (var ii=0; ii != form_ids.length; ii++) {
|
||||
element = document.getElementById(form_ids[ii]);
|
||||
value = node.getAttribute(bm_attrs[ii]);
|
||||
element.setAttribute("value", value);
|
||||
}
|
||||
}
|
||||
function commit() {
|
||||
var element;
|
||||
var value;
|
||||
for (var ii=0; ii != form_ids.length; ii++) {
|
||||
element = document.getElementById(form_ids[ii]);
|
||||
node.setAttribute(bm_attrs[ii], element.value);
|
||||
}
|
||||
closeDialog();
|
||||
}
|
||||
|
||||
function cancel() {
|
||||
closeDialog();
|
||||
}
|
||||
function closeDialog() {
|
||||
var toolkitCore = XPAppCoresManager.Find("toolkitCore");
|
||||
if (!toolkitCore) {
|
||||
toolkitCore = new ToolkitCore();
|
||||
if (toolkitCore) {
|
||||
toolkitCore.Init("toolkitCore");
|
||||
}
|
||||
}
|
||||
if (toolkitCore) {
|
||||
toolkitCore.CloseWindow(window);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<table><tr><td>
|
||||
<table>
|
||||
<tr>
|
||||
<td align="right">
|
||||
Name:
|
||||
</td><td>
|
||||
<input type="text" id="name" size="60"/>
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td align="right">
|
||||
Location:
|
||||
</td><td>
|
||||
<input type="text" id="url" size="60"/>
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td align="right">
|
||||
Shortcut:
|
||||
</td><td>
|
||||
<input type="text" id="shortcut" size="60"/>
|
||||
</td>
|
||||
</tr><tr valign="top">
|
||||
<td align="right">
|
||||
Description:
|
||||
</td><td>
|
||||
<textarea id="description" rows="7" cols="60" wrap="hard">
|
||||
</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr><tr><td>
|
||||
<table width="100%"><tr align="center"><td>
|
||||
<input type="button" value="Ok" onclick="return commit();"/>
|
||||
</td><td>
|
||||
<input type="button" value="Cancel" onclick="return cancel();"/>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
</xul:window>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 918 B |
Binary file not shown.
|
Before Width: | Height: | Size: 931 B |
Binary file not shown.
|
Before Width: | Height: | Size: 138 B |
@@ -1,126 +0,0 @@
|
||||
window {
|
||||
display: block;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
menubar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
tree {
|
||||
display: table;
|
||||
background-color: #FFFFFF;
|
||||
border: none;
|
||||
border-spacing: 0px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
treecol {
|
||||
display: table-column;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
treeitem {
|
||||
display: table-row;
|
||||
}
|
||||
|
||||
treehead {
|
||||
display: table-header-group;
|
||||
}
|
||||
|
||||
treebody {
|
||||
display: table-row-group;
|
||||
}
|
||||
|
||||
treecell {
|
||||
display: table-cell;
|
||||
font-family: Verdana, Sans-Serif;
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
treecell[selectedcell] {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
treecell[sortActive="true"][sortDirection="ascending"] {
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
treecell[sortActive="true"][sortDirection="descending"] {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
treecol[sortActive="true"] {
|
||||
background-color: lightgreen;
|
||||
}
|
||||
|
||||
treehead treeitem treecell {
|
||||
background-color: #c0c0c0;
|
||||
border: outset 1px;
|
||||
border-color: white #707070 #707070 white;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
treecell[selectedcell] {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
treeitem[container="true"][open="true"][loading="true"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/loading.gif") ! important ;
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/bookmark-folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/bookmark-folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/personal-folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/personal-folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/bookmark-item.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/IEFavorite.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/bookmark-item.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/article.gif");
|
||||
}
|
||||
|
||||
treeitem[container="true"][open="true"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[container="true"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/document.gif");
|
||||
}
|
||||
|
||||
titledbutton#bookmarks {
|
||||
list-style-image:url("resource:/res/rdf/bookmark-item.gif");
|
||||
}
|
||||
@@ -1,151 +0,0 @@
|
||||
<!DOCTYPE NETSCAPE-Bookmark-file-1>
|
||||
<!-- This is an automatically generated file.
|
||||
It will be read and overwritten.
|
||||
Do Not Edit! -->
|
||||
<TITLE>Bookmarks for temp</TITLE>
|
||||
<H1>Bookmarks for temp</H1>
|
||||
|
||||
<DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">Sample FTP URLs</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="ftp://ftp.netscape.com/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">FTP: Netscape</A>
|
||||
<DT><A HREF="ftp://xpnav.mcom.com/" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">FTP: XPNav</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">Sample SmartFind queries</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="find:datasource=rdf:bookmarks&match=http://home.netscape.com/NC-rdf#Name&method=contains&text=Netscape" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Find: Bookmark Names containing 'Netscape'</A>
|
||||
<DT><A HREF="find:datasource=rdf:bookmarks&match=http://home.netscape.com/NC-rdf#Name&method=startswith&text=A" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Find: Bookmark Names starting with 'A'</A>
|
||||
<DT><A HREF="find:datasource=rdf:bookmarks&match=http://home.netscape.com/NC-rdf#Name&method=endswith&text=.com" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Find: Bookmark Names ending with '.com'</A>
|
||||
<DT><A HREF="find:datasource=rdf:bookmarks&match=http://home.netscape.com/NC-rdf#Name&method=contains&text=Mac" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Find: Bookmark Names containing 'Mac'</A>
|
||||
<DT><A HREF="find:datasource=rdf:bookmarks&match=http://home.netscape.com/NC-rdf#URL&method=contains&text=mac" ADD_DATE="0" LAST_VISIT="0" LAST_MODIFIED="0">Find: Bookmark URLs containing 'mac'</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">Personal Toolbar Folder</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://www.mozilla.org" ADD_DATE="916354467" LAST_VISIT="0" LAST_MODIFIED="0">Mozilla.org</A>
|
||||
<DT><A HREF="http://cvs-mirror.mozilla.org/webtools/tinderbox/showbuilds.cgi?tree=SeaMonkey" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Tinderbox</A>
|
||||
<DT><A HREF="http://cvs-mirror.mozilla.org/webtools/bonsai/" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Bonsai</A>
|
||||
<DT><A HREF="http://bugzilla.mozilla.org" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Bugzilla</A>
|
||||
<DT><H3 ADD_DATE="916354466">Channels</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelautos.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Autos</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelbusiness.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Business</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelcomputingandinternet.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Computing and Internet</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchanneleducation.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Education</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelentertainment.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Entertainment</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelgames.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Games</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelhealth.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Health</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelkidsandfamily.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Kids and Family</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannellifestyles.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Lifestyles</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannellocal.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Local</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelnetscape.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Netscape</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelnews.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">News</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelpersonalfinance.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Personal Finance</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelrealestate.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Real Estate</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelshopping.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Shopping</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchannelsports.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Sports</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ptchanneltravel.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Travel</A>
|
||||
</DL><p>
|
||||
</DL><p>
|
||||
<HR>
|
||||
<DT><H3 ADD_DATE="916354466">Search</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/altavista.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Alta Vista</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/excite.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Excite</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/goto.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">GoTo.com</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/infoseek.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Infoseek</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/looksmart.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">LookSmart</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/lycos.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Lycos</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/netscapesearch.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Netscape Search</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">Business and Finance</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/careercenter.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Career Center</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/cbsmarketwatch.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">CBS.MarketWatch</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/datekonline.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Datek Online</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/dbusiness.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">dbusiness.com</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/gartnergroup.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Gartner Group, Inc.</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/nextcard.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">NextCard Internet Visa</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/personalfinance.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Personal Finance</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/smallbusinesssource.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Small Business Source</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/virtualoffice.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Virtual Office by Netopia</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">Computers and Internet</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/gartneratvantage.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">@vantage</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/computingchannel.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Computing Channel</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/netscapechannel.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Netscape Channel</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/onsalecomputer.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">ONSALE Computer Auctions</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/openstudio.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Open Studio</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/professionalconnections.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Professional Connections</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/smartupdate.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">SmartUpdate</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/toshiba.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Toshiba</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">Directories</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/gtesuperpages.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">GTE SuperPages</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/memberdirectory.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Member Directory</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/yellowpages.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Netcenter Yellow Pages</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/people.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">People</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/thomasregister.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Thomas Register</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/webdirectory.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Web Directory</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/yellowpagesathand.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">YellowPages AtHand</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">Entertainment and Lifestyle</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/entertainmentchannel.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Entertainment Channel</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/games.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Games</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/health.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Health</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/kidsandfamily.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Kids and Family</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/lifestylechannel.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Lifestyle Channel</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/theglobe.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">theglobe.com community</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/tvguide.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">TV Guide</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/women.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Women.com</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">News and Sports</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/abcnews.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">ABCNEWS.com</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/businessjournal.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Business Journal</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/cbssportsline.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">CBS SportsLine</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/inboxdirect.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">In-Box Direct</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/newschannel.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">News Channel</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/sportschannel.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Sports Channel</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">Shopping and Classifieds</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/amazon.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Amazon.com</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/audiobookclub.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Audio Book Club</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/dealdeal.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">DealDeal.com Auctions</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/freeride.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">FreeRide</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/ftdflowers.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">FTD Flowers</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/musicboulevard.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Music Boulevard</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/netmarket.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">netMarket</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/realestate.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Real Estate</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/rentnet.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Rent.Net</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/softwaredepot.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Software Depot</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">Travel and Leisure</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/leisureplanet.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Leisure Planet</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/local.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Local</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/renaissancecruises.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Renaissance Cruises</A>
|
||||
<DT><A HREF="http://home.netscape.com/bookmark/4_06/travelocity.html" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Travelocity</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">Macintosh Resources</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://www.macosrumors.com/" SHORTCUTURL="rumors" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Mac OS Rumors</A>
|
||||
<DT><A HREF="http://www.macsurfer.com" SHORTCUTURL="surfer" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">MacSurfer</A>
|
||||
<DT><A HREF="http://www.macintouch.com/" SHORTCUTURL="macintouch" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Macintouch</A>
|
||||
<DT><A HREF="http://macweek.zdnet.com/" SHORTCUTURL="macweek" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">MacWEEK</A>
|
||||
<DT><A HREF="http://www.ogrady.com/" SHORTCUTURL="ogrady" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">O'Grady's Mac PowerPage</A>
|
||||
</DL><p>
|
||||
<DT><H3 ADD_DATE="916354466">AAA URLs with no redirection</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="http://home.netscape.com/" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Netscape</A>
|
||||
<DT><A HREF="http://www.yahoo.com/" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">Yahoo</A>
|
||||
<DT><A HREF="http://www.aol.com/" ADD_DATE="916354466" LAST_VISIT="0" LAST_MODIFIED="0">AOL</A>
|
||||
</DL><p>
|
||||
<HR>
|
||||
<DT><H3 ADD_DATE="916354466">Personal Bookmarks</H3>
|
||||
<DL><p>
|
||||
</DL><p>
|
||||
</DL><p>
|
||||
@@ -1,108 +0,0 @@
|
||||
// -*- Mode: Java -*-
|
||||
|
||||
function BookmarksNewWindow()
|
||||
{
|
||||
var toolkitCore = XPAppCoresManager.Find("toolkitCore");
|
||||
if (!toolkitCore) {
|
||||
toolkitCore = new ToolkitCore();
|
||||
if (toolkitCore) {
|
||||
toolkitCore.Init("toolkitCore");
|
||||
}
|
||||
}
|
||||
if (toolkitCore) {
|
||||
toolkitCore.ShowWindow("resource://res/rdf/bookmarks.xul",window);
|
||||
}
|
||||
}
|
||||
|
||||
function BookmarkProperties()
|
||||
{
|
||||
var tree = document.getElementById('bookmarksTree');
|
||||
var select_list = tree.getElementsByAttribute("selected", "true");
|
||||
|
||||
if (select_list.length >= 1) {
|
||||
dump("Bookmark Properties: Have selection\n");
|
||||
var propsCore = XPAppCoresManager.Find(select_list[0].id);
|
||||
if (!propsCore) {
|
||||
dump("Bookmark Properties: no existing appcore\n");
|
||||
var propsCore = new DOMPropsCore();
|
||||
if (propsCore) {
|
||||
dump("Bookmark Properties: initing new appcore\n");
|
||||
propsCore.Init(select_list[0].id);
|
||||
} else {
|
||||
dump("Bookmark Properties: failed to create new appcore\n");
|
||||
}
|
||||
}
|
||||
if (propsCore) {
|
||||
dump("Bookmark Properties: opening new window\n");
|
||||
propsCore.showProperties("resource://res/rdf/bm-props.xul",
|
||||
window, select_list[0]);
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
dump("nothing selected!\n");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function OpenURL(event,node)
|
||||
{
|
||||
if (node.getAttribute('container') == "true") {
|
||||
return false;
|
||||
}
|
||||
url = node.getAttribute('id');
|
||||
|
||||
// Ignore "NC:" urls.
|
||||
if (url.substring(0, 3) == "NC:") {
|
||||
return false;
|
||||
}
|
||||
|
||||
/*window.open(url,'bookmarks');*/
|
||||
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
|
||||
if (!toolkitCore) {
|
||||
toolkitCore = new ToolkitCore();
|
||||
if (toolkitCore) {
|
||||
toolkitCore.Init("ToolkitCore");
|
||||
}
|
||||
}
|
||||
if (toolkitCore) {
|
||||
toolkitCore.ShowWindow(url,window);
|
||||
}
|
||||
|
||||
dump("OpenURL(" + url + ")\n");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function doSort(sortColName)
|
||||
{
|
||||
var node = document.getElementById(sortColName);
|
||||
// determine column resource to sort on
|
||||
var sortResource = node.getAttribute('resource');
|
||||
if (!node) return(false);
|
||||
|
||||
var sortDirection="ascending";
|
||||
var isSortActive = node.getAttribute('sortActive');
|
||||
if (isSortActive == "true") {
|
||||
var currentDirection = node.getAttribute('sortDirection');
|
||||
if (currentDirection == "ascending")
|
||||
sortDirection = "descending";
|
||||
else if (currentDirection == "descending")
|
||||
sortDirection = "natural";
|
||||
else
|
||||
sortDirection = "ascending";
|
||||
}
|
||||
|
||||
// get RDF Core service
|
||||
var rdfCore = XPAppCoresManager.Find("RDFCore");
|
||||
if (!rdfCore) {
|
||||
rdfCore = new RDFCore();
|
||||
if (!rdfCore) {
|
||||
return(false);
|
||||
}
|
||||
rdfCore.Init("RDFCore");
|
||||
// XPAppCoresManager.Add(rdfCore);
|
||||
}
|
||||
// sort!!!
|
||||
rdfCore.doSort(node, sortResource, sortDirection);
|
||||
return(false);
|
||||
}
|
||||
@@ -1,119 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="bookmarks.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window
|
||||
[
|
||||
<!ENTITY menu.file.label "File">
|
||||
<!ENTITY menuitem.newWindow.label "New Window">
|
||||
<!ENTITY menuitem.newBookmark.label "New Bookmark...">
|
||||
<!ENTITY menuitem.newFolder.label "New Folder...">
|
||||
<!ENTITY menuitem.newSeparator.label "New Separator">
|
||||
<!ENTITY menuitem.close.label "Close">
|
||||
<!ENTITY menu.edit.label "Edit">
|
||||
<!ENTITY menuitem.undo.label "Undo">
|
||||
<!ENTITY menuitem.redo.label "Redo">
|
||||
<!ENTITY menuitem.cut.label "Cut">
|
||||
<!ENTITY menuitem.copy.label "Copy">
|
||||
<!ENTITY menuitem.paste.label "Paste">
|
||||
<!ENTITY menuitem.delete.label "Delete">
|
||||
<!ENTITY menuitem.selectAll.label "Select All">
|
||||
<!ENTITY menuitem.find.label "Find in Bookmarks...">
|
||||
<!ENTITY menuitem.findAgain.label "Find Again">
|
||||
<!ENTITY menuitem.properties.label "Bookmark Properties...">
|
||||
<!ENTITY tree.header.name.label "Name">
|
||||
<!ENTITY tree.header.url.label "URL">
|
||||
<!ENTITY tree.header.shortcut.label "Shortcut URL">
|
||||
<!ENTITY bookmarksWindowTitle.label "Bookmarks">
|
||||
]>
|
||||
|
||||
<xul:window title="&bookmarksWindowTitle.label;"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<html:script src="bookmarks.js"/>
|
||||
|
||||
<menubar>
|
||||
<menu name="&menu.file.label;">
|
||||
<menuitem name="&menuitem.newWindow.label;"
|
||||
onclick="BookmarksNewWindow();"/>
|
||||
<menuitem name="x&menuitem.newBookmark.label;"/>
|
||||
<menuitem name="x&menuitem.newFolder.label;"/>
|
||||
<menuitem name="x&menuitem.newSeparator.label;"/>
|
||||
<separator/>
|
||||
<menuitem name="x&menuitem.close.label;"/>
|
||||
</menu>
|
||||
<menu name="&menu.edit.label;">
|
||||
<menuitem name="x&menuitem.undo.label;"/>
|
||||
<menuitem name="x&menuitem.redo.label;"/>
|
||||
<separator/>
|
||||
<menuitem name="x&menuitem.cut.label;"/>
|
||||
<menuitem name="x&menuitem.copy.label;"/>
|
||||
<menuitem name="x&menuitem.paste.label;"/>
|
||||
<menuitem name="x&menuitem.delete.label;"/>
|
||||
<menuitem name="x&menuitem.selectAll.label;"/>
|
||||
<separator/>
|
||||
<menuitem name="x&menuitem.find.label;"/>
|
||||
<menuitem name="x&menuitem.findAgain.label;"/>
|
||||
<separator/>
|
||||
<menuitem name="&menuitem.properties.label;"
|
||||
onclick="return BookmarkProperties();"/>
|
||||
</menu>
|
||||
</menubar>
|
||||
|
||||
<tree id="bookmarksTree"
|
||||
datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find"
|
||||
ondblclick="return OpenURL(event,event.target.parentNode);"
|
||||
flex="100%">
|
||||
|
||||
<template>
|
||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator" rootcontainment="treebody" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell>
|
||||
<html:hr width="75%" align="center" size="1" />
|
||||
</treecell>
|
||||
</treeitem>
|
||||
</rule>
|
||||
|
||||
<rule rootcontainment="treebody" subcontainment="treechildren">
|
||||
<treeitem uri="...">
|
||||
<treecell>
|
||||
<treeindentation />
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name" align="right" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#URL" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
<treecell>
|
||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#ShortcutURL" align="right" style="list-style-image: none;" />
|
||||
</treecell>
|
||||
</treeitem>
|
||||
</rule>
|
||||
</template>
|
||||
|
||||
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
||||
<treecol id="URLColumn" rdf:resource="http://home.netscape.com/NC-rdf#URL"/>
|
||||
<treecol id="ShortcutURLColumn" rdf:resource="http://home.netscape.com/NC-rdf#ShortcutURL"/>
|
||||
<treehead>
|
||||
<treeitem>
|
||||
<treecell onclick="return doSort('NameColumn');">
|
||||
<xul:observes element="NameColumn" attribute="sortActive"/>
|
||||
<xul:observes element="NameColumn" attribute="sortDirection"/>
|
||||
&tree.header.name.label;</treecell>
|
||||
<treecell onclick="return doSort('URLColumn');">
|
||||
<xul:observes element="URLColumn" attribute="sortActive"/>
|
||||
<xul:observes element="URLColumn" attribute="sortDirection"/>
|
||||
&tree.header.url.label;</treecell>
|
||||
<treecell onclick="return doSort('ShortcutURLColumn');">
|
||||
<xul:observes element="ShortcutURLColumn" attribute="sortActive"/>
|
||||
<xul:observes element="ShortcutURLColumn" attribute="sortDirection"/>
|
||||
&tree.header.shortcut.label;</treecell>
|
||||
</treeitem>
|
||||
</treehead>
|
||||
|
||||
<treebody id="NC:BookmarksRoot">
|
||||
</treebody>
|
||||
</tree>
|
||||
|
||||
</xul:window>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 256 B |
@@ -21,17 +21,8 @@ MODULE=rdf
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
FILES=\
|
||||
bookmarks.html \
|
||||
history.css \
|
||||
history.xul \
|
||||
bm-panel.xul \
|
||||
bm-props.xul \
|
||||
bookmark-folder-closed.gif \
|
||||
bookmark-folder-open.gif \
|
||||
bookmark-item.gif \
|
||||
bookmarks.css \
|
||||
bookmarks.js \
|
||||
bookmarks.xul \
|
||||
document.gif \
|
||||
dom-test-1.css \
|
||||
dom-test-1.xul \
|
||||
@@ -47,12 +38,9 @@ FILES=\
|
||||
flames.gif \
|
||||
folder-closed.gif \
|
||||
folder-open.gif \
|
||||
iefavorite.gif \
|
||||
ignore-test.xul \
|
||||
loading.gif \
|
||||
online.gif \
|
||||
personal-folder-closed.gif \
|
||||
personal-folder-open.gif \
|
||||
remote-flash-1.rdf \
|
||||
remote-flash-2.rdf \
|
||||
remote-flash-3.rdf \
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 938 B |
Binary file not shown.
|
Before Width: | Height: | Size: 940 B |
@@ -35,8 +35,8 @@
|
||||
<RDF:li>
|
||||
<RDF:Description ID="bookmarks">
|
||||
<NC:title>&sidebar.bookmarks.label;</NC:title>
|
||||
<NC:content>resource://res/rdf/bm-panel.xul</NC:content>
|
||||
<NC:customize>resource://res/rdf/bm-panel-cust.xul</NC:customize>
|
||||
<NC:content>resource://res/samples/bm-panel.xul</NC:content>
|
||||
<NC:customize>resource://res/samples/bm-panel-cust.xul</NC:customize>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
</RDF:Seq>
|
||||
|
||||
@@ -75,34 +75,6 @@ treeitem[container="true"][open="true"][loading="true"] > treecell > titledbutto
|
||||
list-style-image: url("resource:/res/rdf/loading.gif") ! important ;
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/bookmark-folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/bookmark-folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/personal-folder-closed.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/personal-folder-open.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/bookmark-item.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/IEFavorite.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/bookmark-item.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/folder-open.gif");
|
||||
}
|
||||
@@ -127,10 +99,6 @@ treeitem > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/document.gif");
|
||||
}
|
||||
|
||||
titledbutton#bookmarks {
|
||||
list-style-image:url("resource:/res/rdf/bookmark-item.gif");
|
||||
}
|
||||
|
||||
toolbar#sidebarbar titledbutton{
|
||||
color:#CCCCFF;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user