зеркало из https://github.com/mozilla/pjs.git
120 строки
5.1 KiB
XML
120 строки
5.1 KiB
XML
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
#
|
|
# 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 the Initial Developer are Copyright (C) 2000
|
|
# the Initial Developer. All Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
# Stuart Parmenter <pavlov@netscape.com>
|
|
# Brian Ryner <bryner@brianryner.com>
|
|
# Jan Varga <varga@nixcorp.com>
|
|
# Peter Annema <disttsc@bart.nl>
|
|
# Johann Petrak <johann@ai.univie.ac.at>
|
|
#
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
# the provisions above, a recipient may use your version of this file under
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
#
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/filepicker.css" type="text/css"?>
|
|
|
|
<!DOCTYPE dialog SYSTEM "chrome://global/locale/filepicker.dtd" >
|
|
|
|
<dialog 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"
|
|
onload="filepickerLoad();"
|
|
width="426" height="300"
|
|
ondialogaccept="return selectOnOK();"
|
|
ondialogcancel="return onCancel();"
|
|
persist="screenX screenY width height">
|
|
|
|
<stringbundle id="bundle_filepicker" src="chrome://global/locale/filepicker.properties"/>
|
|
<script type="application/x-javascript" src="chrome://global/content/filepicker.js"/>
|
|
|
|
<hbox align="center">
|
|
<label value="&lookInMenuList.label;" control="lookInMenuList" accesskey="&lookInMenuList.accesskey;"/>
|
|
<menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="start">
|
|
<menupopup id="lookInMenu"/>
|
|
</menulist>
|
|
<button id="folderUpButton" class="up-button" tooltiptext="&folderUp.tooltiptext;" oncommand="goUp();"/>
|
|
<button id="homeButton" class="home-button" tooltiptext="&folderHome.tooltiptext;" oncommand="goHome();"/>
|
|
<button id="newDirButton" hidden="true" class="new-dir-button" tooltiptext="&folderNew.tooltiptext;" oncommand="newDir();"/>
|
|
</hbox>
|
|
|
|
<hbox flex="1">
|
|
<deck id="errorShower" flex="1">
|
|
<tree id="directoryTree" flex="1" class="focusring" seltype="single"
|
|
onclick="onClick(event);"
|
|
ondblclick="onDblClick(event);"
|
|
onkeypress="onKeypress(event);"
|
|
onfocus="onTreeFocus(event);"
|
|
onselect="onSelect(event);">
|
|
<treecols>
|
|
<treecol id="FilenameColumn" label="&name.label;" flex="1"
|
|
class="sortDirectionIndicator"/>
|
|
<splitter class="tree-splitter"/>
|
|
<treecol id="FileSizeColumn" label="&size.label;" flex="1"
|
|
class="sortDirectionIndicator"/>
|
|
<splitter class="tree-splitter"/>
|
|
<treecol id="LastModifiedColumn" label="&lastModified.label;" flex="1"
|
|
class="sortDirectionIndicator"/>
|
|
</treecols>
|
|
<treechildren/>
|
|
</tree>
|
|
<label>&noPermissionError.label;</label>
|
|
</deck>
|
|
</hbox>
|
|
|
|
<grid style="margin-top: 5px">
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
|
|
<rows>
|
|
<row align="center">
|
|
<label value="&textInput.label;" id="textInputLabel" control="textInput" accesskey="&textInput.accesskey;"/>
|
|
<textbox id="textInput" flex="1" oninput="doEnabling()"
|
|
type="autocomplete" autocompletesearch="file"
|
|
onfocus="onTextFieldFocus();"/>
|
|
</row>
|
|
<row id="filterBox" hidden="true" align="center">
|
|
<label value="&filterMenuList.label;" control="filterMenuList" accesskey="&filterMenuList.accesskey;"/>
|
|
<menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<hbox class="dialog-button-box" align="center">
|
|
<checkbox label="&showHiddenFiles.label;" oncommand="toggleShowHidden();"
|
|
flex="1" align="left" accesskey="&showHiddenFiles.accesskey;"/>
|
|
<button dlgtype="cancel" icon="cancel" class="dialog-button"/>
|
|
<button dlgtype="accept" icon="open" class="dialog-button"/>
|
|
</hbox>
|
|
</dialog>
|