gecko-dev/xpfe/components/search/resources/findresults.xul
1999-06-16 05:32:48 +00:00

85 lines
3.4 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="findresults.css" type="text/css"?>
<!DOCTYPE window
[
<!ENTITY window.title.label "Find Results">
<!ENTITY name.column.label "Name">
<!ENTITY url.column.label "URL">
<!ENTITY shortcuturl.column.label "Shortcut URL">
<!ENTITY description.column.label "Description">
]>
<window title="&window.title.label;" style="width:100%; height:100%; background-color:white"
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="shared.js" />
<tree id="findresultstree" flex="100%" datasources="rdf:bookmarks rdf:history rdf:find" ondblclick="return OpenURL(event,event.target.parentNode);">
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name" sortActive="true" sortDirection="ascending" />
<treecol id="URLColumn" rdf:resource="http://home.netscape.com/NC-rdf#URL"/>
<treecol id="ShortcutURLColumn" rdf:resource="http://home.netscape.com/NC-rdf#ShortcutURL"/>
<treecol id="DescriptionColumn" rdf:resource="http://home.netscape.com/NC-rdf#Description"/>
<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>
<treecell>
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Description" align="right" style="list-style-image: none;" />
</treecell>
</treeitem>
</rule>
</template>
<treehead>
<treeitem>
<treecell resource="http://home.netscape.com/NC-rdf#Name" onclick="return doSort('NameColumn');" sortActive="true" sortDirection="ascending">
<observes element="NameColumn" attribute="sortActive"/>
<observes element="NameColumn" attribute="sortDirection"/>
&name.column.label;
</treecell>
<treecell resource="http://home.netscape.com/NC-rdf#URL" onclick="return doSort('URLColumn');">
<observes element="URLColumn" attribute="sortActive"/>
<observes element="URLColumn" attribute="sortDirection"/>
&url.column.label;
</treecell>
<treecell resource="http://home.netscape.com/NC-rdf#ShortcutURL" onclick="return doSort('ShortcutURLColumn');">
<observes element="ShortcutURLColumn" attribute="sortActive"/>
<observes element="ShortcutURLColumn" attribute="sortDirection"/>
&shortcuturl.column.label;
</treecell>
<treecell resource="http://home.netscape.com/NC-rdf#Description" onclick="return doSort('DescriptionColumn');">
<observes element="DescriptionColumn" attribute="sortActive"/>
<observes element="DescriptionColumn" attribute="sortDirection"/>
&description.column.label;
</treecell>
</treeitem>
</treehead>
<treebody />
</tree>
</window>