1
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
2
# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is mozilla.org code.
14
# The Initial Developer of the Original Code is Netscape
15
# Communications Corporation. Portions created by Netscape are
16
# Copyright (C) 2000 Netscape Communications Corporation.
17
# All Rights Reserved.
20
# Stuart Parmenter <pavlov@netscape.com>
21
# Brian Ryner <bryner@brianryner.com>
22
# Jan Varga <varga@nixcorp.com>
23
# Peter Annema <disttsc@bart.nl>
24
# Johann Petrak <johann@ai.univie.ac.at>
26
<?xml-stylesheet href="chrome://global/skin/filepicker.css" type="text/css"?>
28
<!DOCTYPE dialog SYSTEM "chrome://global/locale/filepicker.dtd" >
30
<dialog id="main-window"
31
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
32
xmlns:nc="http://home.netscape.com/NC-rdf#"
33
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
34
onload="filepickerLoad();"
35
width="426" height="300"
36
ondialogaccept="return selectOnOK();"
37
ondialogcancel="return onCancel();"
38
persist="screenX screenY width height">
40
<stringbundle id="bundle_filepicker" src="chrome://global/locale/filepicker.properties"/>
41
<script type="application/x-javascript" src="chrome://global/content/filepicker.js"/>
44
<label value="&lookInMenuList.label;" control="lookInMenuList" accesskey="&lookInMenuList.accesskey;"/>
45
<menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="start">
46
<menupopup id="lookInMenu"/>
48
<button id="folderUpButton" class="up-button" tooltiptext="&folderUp.tooltiptext;" oncommand="goUp();"/>
49
<button id="homeButton" class="home-button" tooltiptext="&folderHome.tooltiptext;" oncommand="goHome();"/>
50
<button id="newDirButton" hidden="true" class="new-dir-button" tooltiptext="&folderNew.tooltiptext;" oncommand="newDir();"/>
54
<deck id="errorShower" flex="1">
55
<tree id="directoryTree" flex="1" class="focusring" seltype="single"
56
onclick="onClick(event);"
57
ondblclick="onDblClick(event);"
58
onkeypress="onKeypress(event);"
59
onfocus="onTreeFocus(event);"
60
onselect="onSelect(event);">
62
<treecol id="FilenameColumn" label="&name.label;" flex="1"
63
class="sortDirectionIndicator"/>
64
<splitter class="tree-splitter"/>
65
<treecol id="FileSizeColumn" label="&size.label;" flex="1"
66
class="sortDirectionIndicator"/>
67
<splitter class="tree-splitter"/>
68
<treecol id="LastModifiedColumn" label="&lastModified.label;" flex="1"
69
class="sortDirectionIndicator"/>
73
<label>&noPermissionError.label;</label>
77
<grid style="margin-top: 5px">
85
<label value="&textInput.label;" id="textInputLabel" control="textInput" accesskey="&textInput.accesskey;"/>
86
<textbox id="textInput" flex="1" oninput="doEnabling()"
87
onfocus="onTextFieldFocus();"/>
89
<row id="filterBox" hidden="true" align="center">
90
<label value="&filterMenuList.label;" control="filterMenuList" accesskey="&filterMenuList.accesskey;"/>
91
<menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/>
95
<hbox class="dialog-button-box" align="center">
96
<checkbox label="&showHiddenFiles.label;" oncommand="toggleShowHidden();"
97
flex="1" align="left" accesskey="&showHiddenFiles.accesskey;"/>
98
<button dlgtype="cancel" class="dialog-button"/>
99
<button dlgtype="accept" class="dialog-button"/>