home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 January / 01_03.iso / software / ghostzilla_hit / files / ghostzilla-1.0-plus-install.exe / chrome / toolkit.jar / content / global / filepicker.xul < prev    next >
Encoding:
Extensible Markup Language  |  2002-04-09  |  3.8 KB  |  103 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. <!DOCTYPE window SYSTEM "chrome://global/locale/filepicker.dtd" >
  31.  
  32. <dialog id="main-window"
  33.   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  34.   xmlns:nc="http://home.netscape.com/NC-rdf#"
  35.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  36.   onload="filepickerLoad();"
  37.   width="426" height="300"
  38.   ondialogaccept="return selectOnOK();"
  39.   ondialogcancel="return onCancel();"
  40.   persist="screenX screenY">
  41.  
  42. <stringbundle id="bundle_filepicker" src="chrome://global/locale/filepicker.properties"/>
  43. <script type="application/x-javascript" src="chrome://global/content/filepicker.js"/>
  44.  
  45. <hbox align="center">
  46.   <label value="&lookInMenuList.label;"/>
  47.   <menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="start">
  48.     <menupopup id="lookInMenu"/>
  49.   </menulist>
  50.   <button id="folderUpButton" class="up-button" tooltiptext="&folderUp.tooltiptext;" oncommand="goUp();"/>
  51.   <button id="homeButton" class="home-button" tooltiptext="&folderHome.tooltiptext;" oncommand="goHome();"/>
  52. </hbox>
  53.  
  54. <hbox flex="1">
  55.   <deck id="errorShower" flex="1">
  56.     <tree id="directoryTree" flex="1" seltype="single"
  57.               onclick="onClick(event);"
  58.               ondblclick="onDblClick(event);"
  59.               onkeypress="onKeypress(event);"
  60.               onfocus="onTreeFocus(event);"
  61.               onselect="onSelect(event);">
  62.       <treecols>
  63.         <treecol id="FilenameColumn" label="&name.label;" flex="1"
  64.                      class="sortDirectionIndicator"/>
  65.         <splitter class="tree-splitter"/>
  66.         <treecol id="FileSizeColumn" label="&size.label;" flex="1"
  67.                      class="sortDirectionIndicator"/>
  68.         <splitter class="tree-splitter"/>
  69.         <treecol id="LastModifiedColumn" label="&lastModified.label;" flex="1"
  70.                      class="sortDirectionIndicator"/>
  71.       </treecols>
  72.       <treechildren/>
  73.     </tree>
  74.     <label>&noPermissionError.label;</label>
  75.   </deck>
  76. </hbox>
  77.  
  78. <grid style="margin-top: 5px">
  79.   <columns>
  80.     <column/>
  81.     <column flex="1"/>
  82.   </columns>
  83.  
  84.   <rows>
  85.     <row align="center">
  86.       <label value="&textInput.label;"/>
  87.       <textbox id="textInput" flex="1" oninput="doEnabling()" 
  88.                onfocus="onTextFieldFocus();"/>
  89.     </row>
  90.     <row id="filterBox" hidden="true" align="center">
  91.       <label value="&filterMenuList.label;"/>
  92.       <menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/>
  93.     </row>
  94.   </rows>
  95. </grid>
  96. <hbox class="dialog-button-box" align="center">
  97.   <checkbox label="&showHiddenFiles.label;" oncommand="toggleShowHidden();"
  98.             flex="1" align="left"/>
  99.   <button dlgtype="accept" class="dialog-button"/>
  100.   <button dlgtype="cancel" class="dialog-button"/>
  101. </hbox>
  102. </dialog>
  103.