This commit is contained in:
waterson%netscape.com 1999-08-30 08:41:29 +00:00
Родитель a9274f72f9
Коммит 85dd7df113
2 изменённых файлов: 76 добавлений и 80 удалений

Просмотреть файл

@ -19,14 +19,16 @@
--> -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?> <!-- <?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?> -->
<?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?> <?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?>
<window <window
xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical">
<html:div style="width:100px;height:100px" flex="1">
<html:script src="bookmarks.js"/> <html:script src="bookmarks.js"/>
<popup id="contextual" oncreate="return fillContextMenu('contextual');" > <popup id="contextual" oncreate="return fillContextMenu('contextual');" >
@ -34,11 +36,10 @@
</popup> </popup>
<tree id="bookmarksTree" context="contextual" ref="NC:BookmarksRoot" <tree id="bookmarksTree" context="contextual" ref="NC:BookmarksRoot"
flex="100%" style="height: 100%" style="height: 100%; width:100%;"
datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find rdf:internetsearch" datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find rdf:internetsearch"
ondblclick="return OpenURL(event, event.target.parentNode.parentNode, 'bookmarksTree');"> ondblclick="return OpenURL(event, event.target.parentNode.parentNode, 'bookmarksTree');">
<!-- Commented out until new tree content model and template builder can play nice -->
<template> <template>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator"> <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<treechildren> <treechildren>
@ -56,18 +57,15 @@
<treechildren> <treechildren>
<treeitem uri="..."> <treeitem uri="...">
<treerow> <treerow>
<treecell> <treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name" />
<treeindentation />
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
align="left" />
</treecell>
</treerow> </treerow>
</treeitem> </treeitem>
</treechildren> </treechildren>
</rule> </rule>
</template> </template>
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/> <treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
</tree> </tree>
</html:div>
</window> </window>

Просмотреть файл

@ -19,14 +19,16 @@
--> -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?> <!-- <?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?> -->
<?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?> <?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?>
<window <window
xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical">
<html:div style="width:100px;height:100px" flex="1">
<html:script src="bookmarks.js"/> <html:script src="bookmarks.js"/>
<popup id="contextual" oncreate="return fillContextMenu('contextual');" > <popup id="contextual" oncreate="return fillContextMenu('contextual');" >
@ -34,11 +36,10 @@
</popup> </popup>
<tree id="bookmarksTree" context="contextual" ref="NC:BookmarksRoot" <tree id="bookmarksTree" context="contextual" ref="NC:BookmarksRoot"
flex="100%" style="height: 100%" style="height: 100%; width:100%;"
datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find rdf:internetsearch" datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find rdf:internetsearch"
ondblclick="return OpenURL(event, event.target.parentNode.parentNode, 'bookmarksTree');"> ondblclick="return OpenURL(event, event.target.parentNode.parentNode, 'bookmarksTree');">
<!-- Commented out until new tree content model and template builder can play nice -->
<template> <template>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator"> <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<treechildren> <treechildren>
@ -56,18 +57,15 @@
<treechildren> <treechildren>
<treeitem uri="..."> <treeitem uri="...">
<treerow> <treerow>
<treecell> <treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name" />
<treeindentation />
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
align="left" />
</treecell>
</treerow> </treerow>
</treeitem> </treeitem>
</treechildren> </treechildren>
</rule> </rule>
</template> </template>
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/> <treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
</tree> </tree>
</html:div>
</window> </window>