зеркало из https://github.com/mozilla/pjs.git
58 строки
1.8 KiB
XML
58 строки
1.8 KiB
XML
<?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>
|
|
|