home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / toolkit.jar / content / global / filepicker.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-08-04  |  3.5 KB  |  97 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
  2.  
  3. <!--
  4.    - The contents of this file are subject to the Mozilla Public
  5.    - License Version 1.1 (the "License"); you may not use this file
  6.    - except in compliance with the License. You may obtain a copy of
  7.    - the License at http://www.mozilla.org/MPL/
  8.     
  9.    - Software distributed under the License is distributed on an "AS
  10.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.    - implied. See the License for the specific language governing
  12.    - rights and limitations under the License.
  13.     
  14.    - The Original Code is mozilla.org code.
  15.    
  16.    - The Initial Developer of the Original Code is Netscape
  17.    - Communications Corporation. Portions created by Netscape are
  18.    - Copyright (C) 2000 Netscape Communications Corporation.
  19.    - All Rights Reserved.
  20.    
  21.    - Contributor(s): 
  22.    -  Stuart Parmenter <pavlov@netscape.com>
  23.    -  Brian Ryner <bryner@netscape.com>
  24.    -  Jan Varga <varga@utcru.sk>
  25.    -  Peter Annema <disttsc@bart.nl>
  26.    -->
  27.  
  28. <?xml-stylesheet href="chrome://global/skin/filepicker.css" type="text/css"?>
  29.  
  30. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  31.  
  32. <!DOCTYPE window SYSTEM "chrome://global/locale/filepicker.dtd" >
  33.  
  34. <window id="main-window"
  35.   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  36.   xmlns:nc="http://home.netscape.com/NC-rdf#"
  37.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  38.   orient="vertical"
  39.   onload="filepickerLoad();"
  40.   width="426" height="300"
  41.   class="dialog"
  42.   persist="screenX screenY">
  43.  
  44. <stringbundle id="bundle_filepicker" src="chrome://global/locale/filepicker.properties"/>
  45. <script type="application/x-javascript" src="chrome://global/content/nsFileView.js"/>
  46. <script type="application/x-javascript" src="chrome://global/content/filepicker.js"/>
  47. <keyset id="dialogKeys"/>
  48.  
  49. <hbox align="center">
  50.   <text value="&lookInMenuList.label;"/>
  51.   <menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="left">
  52.     <menupopup id="lookInMenu"/>
  53.   </menulist>
  54.   <button label=".." oncommand="goUp();"/>
  55. </hbox>
  56.  
  57. <hbox flex="1">
  58.   <outliner id="directoryOutliner" flex="1" onclick="onClick(event);"
  59.             ondblclick="onDblClick(event);"
  60.             onkeypress="onKeypress(event);"
  61.             onfocus="onOutlinerFocus(event);">
  62.     <outlinercol id="FilenameColumn" label="&name.label;" flex="1"
  63.                  class="outlinercol-header outlinercell-inset-header sortDirectionIndicator"/>
  64.     <splitter class="tree-splitter"/>
  65.     <outlinercol id="FileSizeColumn" label="&size.label;" flex="1"
  66.                  class="outlinercol-header outlinercell-inset-header sortDirectionIndicator"/>
  67.     <splitter class="tree-splitter"/>
  68.     <outlinercol id="LastModifiedColumn" label="&lastModified.label;" flex="1"
  69.                  class="outlinercol-header outlinercell-inset-header sortDirectionIndicator"/>
  70.  
  71.     <outlinerbody flex="1" onselect="this.parentNode.outlinerBoxObject.view.selectionChanged()"/>
  72.    </outliner>
  73. </hbox>
  74.  
  75. <grid style="margin-top: 5px">
  76.   <columns>
  77.     <column/>
  78.     <column flex="1"/>
  79.   </columns>
  80.  
  81.   <rows>
  82.     <row>
  83.       <text value="&textInput.label;"/>
  84.       <textbox id="textInput" flex="1" oninput="doEnabling()" 
  85.                onfocus="onTextFieldFocus();"/>
  86.     </row>
  87.     <row id="filterBox" hidden="true">
  88.       <text value="&filterMenuList.label;"/>
  89.       <menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/>
  90.     </row>
  91.   </rows>
  92. </grid>
  93.  
  94. <hbox id="okCancelButtons"/>
  95.  
  96. </window>
  97.