home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
mozil06.zip
/
bin
/
chrome
/
toolkit.jar
/
content
/
global
/
filepicker.xul
< prev
next >
Wrap
Extensible Markup Language
|
2001-02-14
|
4KB
|
111 lines
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
<!--
- The contents of this file are subject to the Mozilla Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/MPL/
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
- The Original Code is mozilla.org code.
- The Initial Developer of the Original Code is Netscape
- Communications Corporation. Portions created by Netscape are
- Copyright (C) 2000 Netscape Communications Corporation.
- All Rights Reserved.
- Contributor(s):
- Stuart Parmenter <pavlov@netscape.com>
- Brian Ryner <bryner@netscape.com>
- Jan Varga <varga@utcru.sk>
- Peter Annema <disttsc@bart.nl>
-->
<?xml-stylesheet href="chrome://global/skin/filepicker.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<?xml-stylesheet href="chrome://global/content/filepicker.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://global/locale/filepicker.dtd" >
<window id="main-window"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:nc="http://home.netscape.com/NC-rdf#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
onload="onLoad();"
width="426" height="300"
class="dialog"
persist="screenX screenY">
<script src="chrome://global/content/strres.js"/>
<script src="chrome://global/content/filepicker.js"/>
<keyset id="keyset"/>
<box autostretch="never">
<text value="&lookInMenuList.label;"/>
<menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);">
<menupopup id="lookInMenu"/>
</menulist>
<button value=".." onclick="goUp();"/>
</box>
<box flex="1">
<tree id="directoryTree" flex="1" onkeypress="onKeypress(event)"
onselect="onSelect(event)" datasources="rdf:files">
<template id="fileFilter">
<!-- This is the rule for files matching the filter -->
<rule id="matchRule.0">
<treechildren flex="1">
<treeitem uri="..." empty="true"
type="rdf:http://home.netscape.com/NC-rdf#File-Type"
loading="rdf:http://home.netscape.com/NC-rdf#loading" >
<treerow path="rdf:http://home.netscape.com/NC-rdf#URL">
<treecell class="treecell-filename treecell-indent"
indent="true" type="rdf:http://home.netscape.com/NC-rdf#File-Type"
value="rdf:http://home.netscape.com/NC-rdf#Name"/>
<treecell value="rdf:http://home.netscape.com/NC-rdf#Content-Length" />
<treecell value="rdf:http://home.netscape.com/WEB-rdf#LastModifiedDate" />
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
<treecolgroup>
<treecol flex="1" id="FilenameColumn" resource="http://home.netscape.com/NC-rdf#Name" sortActive="true" sortDirection="ascending"/>
<splitter class="tree-splitter"/>
<treecol flex="1" id="ContentLengthColumn" resource="http://home.netscape.com/NC-rdf#Content-Length"/>
<splitter class="tree-splitter"/>
<treecol flex="1" id="LastModifiedDateColumn" resource="http//home.netscape.com/WEB-rdf#LastModifiedDate"/>
</treecolgroup>
<treehead>
<treerow>
<treecell class="treecell-header" value="&name.label;"/>
<treecell class="treecell-header" value="&size.label;"/>
<treecell class="treecell-header" value="&lastModified.label;"/>
</treerow>
</treehead>
<treechildren flex="1" onclick="onClick(event)"/>
</tree>
</box>
<box autostretch="never" style="margin-top: 5px">
<text value="&textInput.label;"/>
<textfield id="textInput" flex="1"/>
</box>
<box autostretch="never" id="filterBox" hidden="true">
<text value="&filterMenuList.label;"/>
<menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/>
</box>
<box id="okCancelButtons"/>
</window>