1999-08-23 03:48:53 +00:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: SGML -*- -->
|
|
|
|
<!--
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://directory/skin/" type="text/css"?>
|
|
|
|
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://directory/locale/directory.dtd">
|
|
|
|
|
|
|
|
<window
|
|
|
|
title="&directoryWindowTitle.label;"
|
|
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
1999-08-30 09:34:46 +00:00
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
1999-08-23 03:48:53 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
1999-08-25 03:50:15 +00:00
|
|
|
align="vertical">
|
1999-08-23 03:48:53 +00:00
|
|
|
|
|
|
|
<html:script src="directory.js" />
|
|
|
|
|
1999-09-01 03:21:36 +00:00
|
|
|
<html:div style="width:100px;height:100px;" flex="1">
|
1999-08-26 06:13:13 +00:00
|
|
|
<tree id="tree" datasources="rdf:null" style="height:100%;">
|
|
|
|
<template>
|
|
|
|
<treechildren>
|
|
|
|
<!-- We force the 'container="true"' onto the treeitem, even
|
|
|
|
though this _should_ be a value that is computed by the
|
|
|
|
template engine. We need to hack it this way because,
|
|
|
|
if we don't, the tree control will assume that the item
|
|
|
|
shouldn't have a twisty next to it -->
|
|
|
|
<treeitem uri="..." type="rdf:urn:http-index-format:File-Type" container="true">
|
|
|
|
<treerow>
|
|
|
|
<treecell class="filename" indent="true"
|
|
|
|
value="rdf:urn:http-index-format:Filename"/>
|
|
|
|
<treecell value="rdf:urn:http-index-format:Content-Length" />
|
|
|
|
<treecell value="rdf:urn:http-index-format:Last-Modified" />
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
</treechildren>
|
|
|
|
</template>
|
1999-08-23 03:48:53 +00:00
|
|
|
|
1999-08-30 09:34:46 +00:00
|
|
|
<treecol id="FilenameColumn" rdf:resource="urn:http-index-format:Filename" sortActive="true" sortDirection="ascending" />
|
|
|
|
<treecol id="ContentLengthColumn" rdf:resource="urn:http-index-format:Content-Length"/>
|
|
|
|
<treecol id="LastModColumn" rdf:resource="urn:http-index-format:Last-Modified"/>
|
|
|
|
|
1999-08-26 06:13:13 +00:00
|
|
|
<treehead>
|
|
|
|
<treerow>
|
1999-08-30 09:34:46 +00:00
|
|
|
<treecell value="&directoryWindow.filename.label;" onclick="return doSort('FilenameColumn');" observes="FilenameColumn" sortActive="true" sortDirection="ascending" />
|
|
|
|
<treecell value="&directoryWindow.contentlength.label;" onclick="return doSort('ContentLengthColumn');" observes="ContentLengthColumn" />
|
|
|
|
<treecell value="&directoryWindow.lastmodified.label;" onclick="return doSort('LastModColumn');" observes="LastModColumn" />
|
1999-08-26 06:13:13 +00:00
|
|
|
</treerow>
|
|
|
|
</treehead>
|
1999-08-25 03:50:15 +00:00
|
|
|
|
1999-08-26 06:13:13 +00:00
|
|
|
<!-- Create the treechildren here so we can attach event handlers
|
|
|
|
at this level (rather than at the tree level -->
|
|
|
|
<treechildren
|
|
|
|
onclick="OnClick(event);"
|
|
|
|
ondblclick="OnDblClick(event);" />
|
1999-08-25 03:50:15 +00:00
|
|
|
|
1999-08-26 06:13:13 +00:00
|
|
|
</tree>
|
|
|
|
</html:div>
|
1999-08-23 03:48:53 +00:00
|
|
|
</window>
|